Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Complex design problem
Message
 
 
To
01/09/2008 18:24:24
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:
01344134
Views:
10
Hi John,

As I said, my buttons only use Client-side code, no code behind. And as you know, Client-side fires before server side. I don't want to change the design.

Some of the ideas are to try to use XML instead of saving an object in a session and and to try to adjust the pages which are called by these buttons to create DS in them instead of the calling page.

With my colleague I would need to pick up a plan.

>Hi Naomi,
>
>OK, I'm confused. A button click can be detected at both the client and server side. Js it's "OnClick" (I think) and it's Button1_Click on the code behind. Maybe you need to create a custom server-side control to do what you want and avoid the js?
>
>>>Why is the js script a problem at all? Build the dataset in the code-behind code. I don't see the difficulty.
>>>
>>
>>I don't want to create DataSet in Page.Load as it's currently done. I only want to create DataSet once the button is clicked. But since button only executes JavaScript code I don't see a way to detect the button was clicked in the code behind. Any good ideas from you on the problem?
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform