473,473 Members | 1,857 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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

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?
Nov 19 '05 #1
4 1133
Store the variable in a hidden input control with runat="server".

Eliyahu

"ABC" <ab*@abc.com> wrote in message
news:u1***************@TK2MSFTNGP10.phx.gbl...
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?

Nov 19 '05 #2
You can also use Ajax. Check here:

http://ajax.schwarz-interactive.de/c...e/default.aspx

Juan C. Olivares
www.juancri.com

Nov 19 '05 #3
On Wed, 09 Nov 2005 14:48:18 +0800, ABC wrote:
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.

Nov 19 '05 #4
ABC
In fact, the WebGrid.NET has not any selected index on server side.

"intrader" <in******@aol.com> wrote in message
news:pa****************************@aol.com...
On Wed, 09 Nov 2005 14:48:18 +0800, ABC wrote:
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.

Nov 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

21
by: Dave | last post by:
After following Microsofts admonition to reformat my system before doing a final compilation of my app I got many warnings/errors upon compiling an rtf file created in word. I used the Help...
9
by: Tom | last post by:
A question for gui application programmers. . . I 've got some GUI programs, written in Python/wxPython, and I've got a help button and a help menu item. Also, I've got a compiled file made with...
4
by: Sarir Khamsi | last post by:
Is there a way to get help the way you get it from the Python interpreter (eg, 'help(dir)' gives help on the 'dir' command) in the module cmd.Cmd? I know how to add commands and help text to...
2
by: Sudheer Kareem | last post by:
Dear All Please tell me how to assosiate help files with my Vb.net Project. Regards Sudheer
6
by: wukexin | last post by:
Help me, good men. I find mang books that introduce bit "mang header files",they talk too bit,in fact it is my too fool, I don't learn it, I have do a test program, but I have no correct doing...
6
by: d.warnermurray | last post by:
I am doing a project for school that involves creating help files for a html authoring tool. If you could help me with answers to some questions it would really help. 1. What tasks do you expect...
0
by: tbatwork828 | last post by:
If you were like me trying to figure out how to launch context sensitive help topic by the context id, here is the link: http://weblogs.asp.net/kencox/archive/2004/09/12/228349.aspx and if...
5
by: Steve | last post by:
I have written a help file (chm) for a DLL and referenced it using Help.ShowHelp My expectation is that a developer using my DLL would be able to access this help file during his development time...
9
by: JJ | last post by:
Do you all use HTML help workshop to create your help system. I am finding it quite clumsy to use. Mayeb because I am not used to using it. Do any of you use any other techniques to create help...
1
by: trunxnirvana007 | last post by:
'UPGRADE_WARNING: Array has a new behavior. Click for more: 'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="9B7D5ADD-D8FE-4819-A36C-6DEDAF088CC7"' 'UPGRADE_WARNING: Couldn't resolve...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.