Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Complex design problem
Message
 
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 3.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01343213
Message ID:
01343254
Views:
18
>>Hi everybody,
>>
>>I want to ask this question here as well.
>>
>>We have a People page which has a GridView list of all people, the search button and SQLWhereBuilder great free control from http://www.codeproject.com/KB/custom-controls/SqlWhereBuilder.aspx
>>
>>It also has several image buttons on the top such as View Communication Log, Create Excel List, Send Emails. Two of these buttons use JavaScript OnClick to open a new window with parameters and no code behind. The functionality of these buttons depends on having a dataset in the session.
>>
>>So, my colleague implemented it as always creating a dataset and storing it in the session.
>>
>>I believe it's too heavy on the resources to store such big object in a session just in case the user will press any of these buttons. There should be a better solution for this to create the dataset only after any of these buttons is pressed. However, since two of them use JavaScript code and no code-behind I don't see a way to solve this problem.
>>
>>Would you please suggest me some good solution?
>
>Does the Javascript open an aspx page? If so why not create the dataset there?
>Best,
>Viv

Because it's a new page that doesn't know about the page that called it. It relies on ds being already in a session.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform