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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement