Help! How server side client to access the client's variable information ?

A

ABC

I don't how to handle the case as:

There is a webgrid which lists a table. When user select a row (not
immediate call back to server), then Click a button to call a server
request. I know the client side javascript to handle a row and save to a
variable. But the clicked button is server side, how to access the client's
variable?
 
E

Eliyahu Goldin

Store the variable in a hidden input control with runat="server".

Eliyahu
 
I

intrader

I don't how to handle the case as:

There is a webgrid which lists a table. When user select a row (not
immediate call back to server), then Click a button to call a server
request. I know the client side javascript to handle a row and save to a
variable. But the clicked button is server side, how to access the client's
variable?
I believe that a selected index is available for the grid even if the
event causing the postback is a button click.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top