Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Complex design problem
Message
De
01/09/2008 18:24:24
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 3.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01343213
Message ID:
01343944
Vues:
14
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?
------------------------------------------------
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform