Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > add something to __doPostBack function

Reply
Thread Tools

add something to __doPostBack function

 
 
guoqi zheng
Guest
Posts: n/a
 
      08-09-2005
Dear sir,

I need to use javascript to get and set a value in a hide text box before on
click event of button is fired. How can I do this?

I am thinking that maybe I can add something to __doPostBack function in
javascript? can I? and how?

regards,

Guoqi Zheng
http://www.ureader.com
 
Reply With Quote
 
 
 
 
Mark Rae
Guest
Posts: n/a
 
      08-09-2005
"guoqi zheng" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed). ..

> I need to use javascript to get and set a value in a hide text box before
> on
> click event of button is fired. How can I do this?


protected Button cmdButton;

cmdButton.Attributes.Add("onClick", "<enter your JavaScript here>");


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RE: Programatically Force the __doPostBack Function =?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?= ASP .Net 0 03-27-2007 11:11 PM
RE: Programatically Force the __doPostBack Function =?Utf-8?B?Uml0YUc=?= ASP .Net 0 03-27-2007 11:09 PM
Alter the JavaScript __doPostBack function ? gregfocker@earthlink.net ASP .Net 0 01-05-2007 12:30 AM
auto generated javascript function __doPostBack(eventTarget, eventArgument) - edit the function name? TJ ASP .Net Datagrid Control 5 06-27-2006 02:12 AM
Missing __doPostBack function Jim O'Neill ASP .Net 0 04-09-2005 03:39 PM



Advertisments