Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Complex design problem
Message
From
29/08/2008 22:17:01
 
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:
01343459
Views:
19
Why is the js script a problem at all? Build the dataset in the code-behind code. I don't see the difficulty.


>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?
>
>Thanks in advance.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform