PC Review


Reply
Thread Tools Rate Thread

add something to __doPostBack function

 
 
guoqi zheng
Guest
Posts: n/a
 
      9th Aug 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
 
      9th Aug 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
Rate This Thread
Rate This Thread:

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
Remove JavaScript __doPostBack function Waldy Microsoft ASP .NET 4 9th May 2008 04:14 PM
Programatically Force the __doPostBack Function =?Utf-8?B?Uml0YUc=?= Microsoft ASP .NET 0 28th Mar 2007 01:59 AM
RE: Programatically Force the __doPostBack Function =?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?= Microsoft ASP .NET 0 28th Mar 2007 12:11 AM
RE: Programatically Force the __doPostBack Function =?Utf-8?B?Uml0YUc=?= Microsoft ASP .NET 0 28th Mar 2007 12:09 AM
Missing __doPostBack function Jim O'Neill Microsoft ASP .NET 0 9th Apr 2005 04:39 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:41 AM.