![]() |
|
|
|||||||
![]() |
DotNet - Call Client javaScript function,on server side ButtonClick Event |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
Hi,
On Server Side Button Click event,i need to call a javascript Confrim ,if "Ok" is clicked in the confirm popup, Again server side validation should be done. If anyone knows the solution ,pls let me know. gsakthi@sraindia.com |
|
|
|
|
#2 |
|
Posts: n/a
|
btn.attributes.add("onClick",javaScriptFunctionCal lHere)
And then just make your client-side JavaScript in a function. <> wrote in message news:%23%... > Hi, > On Server Side Button Click event,i need to call a javascript Confrim ,if > "Ok" is clicked in the confirm popup, Again server side validation should > be done. If anyone knows the solution ,pls let me know. Scott M. |
|
|
|
#3 | |
|
Junior Member
Join Date: Sep 2008
Posts: 2
|
Quote:
DODO-Emipedia |
|
|
|
|
|
|
#4 | |
|
Junior Member
Join Date: Sep 2008
Posts: 2
|
Quote:
DODO-Emipedia |
|
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Aug 2009
Posts: 5
|
you have to use the onClentClick event of for calling the client side javascript fuction, the attibute will b displayed on the server control
Best of luck Keep in touch hellobiswa2001 |
|
|
|
|
|
#6 |
|
Junior Member
Join Date: Aug 2009
Posts: 5
|
you have to use the onClentClick event of for calling the client side javascript fuction, the attibute will b displayed on the server control
Best of luck Keep in touch hellobiswa2001 |
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Client or server? | bootmgr | MCITP | 2 | 08-24-2008 05:10 PM |
| Client side caching with themes in VS 2005 | praveensharma | Software | 0 | 06-18-2008 09:05 AM |
| TRADING FEMALE CELEB INTERVIEWS ON DVD | stu | DVD Video | 1 | 05-26-2008 09:39 AM |
| asp.net - Client side script not recognized for the usercontrol | sara_23apr | Software | 1 | 09-27-2006 06:10 PM |
| Re: Need Ideas For A New Server, Long Post | Gareth Church | A+ Certification | 2 | 07-27-2003 12:46 PM |