Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GridView with Checkboxes and Save button
Message
General information
Forum:
ASP.NET
Category:
Client-side development
Environment versions
Environment:
C# 3.0
OS:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01326379
Message ID:
01326741
Views:
22
>You'd have to initially get a count of the rows checked server side. Create a page level variable and increment in the row_databound or loop throught the DataTable and then use that when you're creating the js to set the var's initial value. Use Page.ClientScript or ScriptManager to register the js block.
>
>You should be able to set the button server side in the Page_Load after you determine how many rows are checked.
>
>You would put the var declaration above the function.
>
I'll play with it later today, because yesterday I was unable to make it work completely:

http://forums.asp.net/p/1280253/2444463.aspx#2444463
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