Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing form properties to JavaScript
Message
 
 
To
24/10/2003 08:59:35
Jacci Adams
Lindsay-Adams Consulting
Louisville, Ohio, United States
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00842038
Message ID:
00842085
Views:
16
Hi Jacci,

On pageload,for the number of the grid rows, after you bind the grid, assign the grid row count to a htmlinputhidden variable( an html hidden control declared with runat=server). Then you can access it on the client side via javascript.

Now, for the textboxes you have on the grid, I would suggest you use column templates. On ItemDataBound, get each control that you need( via FindControl) and get its ClientID.Once you get the clientID for all the controls you can build the call to the js you want by passing those clientIDs.

Hope it helps,

Vlad
Previous
Reply
Map
View

Click here to load this message in the networking platform