Re: LinkButton Client side code firing before server side code
- From: "Norman Yuan" <NotReal@xxxxxxxxxxx>
- Date: Thu, 22 Mar 2007 11:13:16 -0700
That is the way it is: if a sver control has client side script associated
with client side event, the script runs first before the page is submitted
to server, where server side event then fires.
<alexmac262@xxxxxxxxxxx> wrote in message
news:1174583171.856078.73990@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Please forgive as I have never posted to a group before and this is my
first attempt at getting help on the internet.
Inside an update panel I have a linkButton in a Gridview control
template field. I need to pass several control values from the grid
to a popup window. The solution that I came up with was to extract
datakey values in RowCommand, store them in hidden textboxes and use a
query string to pass the values.
The problem I encountered was client side javascript firing before
server side code. I attempted to use RegisterStartup script with same
result.
Thank you,
Alex
.
- References:
- LinkButton Client side code firing before server side code
- From: alexmac262
- LinkButton Client side code firing before server side code
- Prev by Date: Re: File Path
- Next by Date: Re: how to let an embedded .NET winform usercontrol fire an event (via javascript) in webpage
- Previous by thread: LinkButton Client side code firing before server side code
- Next by thread: Re: Directory.GetFiles() / DirectoryInfo.GetFiles() on a remote server
- Index(es):