PC Review


Reply
Thread Tools Rate Thread

How do i call JAVASCRIP function if...

 
 
=?utf-8?B?4pmlZVh0cmVtZSBvWHlnZW7imaU=?=
Guest
Posts: n/a
 
      25th Aug 2006
How do i call JAVASCRIP function from an event of ASP.NET:BUTTON, if
runat=server attribute is true...

actually i want to open an popup window using asp.net--button onclick
event, but its not working

--aankx

 
Reply With Quote
 
 
 
 
=?Utf-8?B?QXVndXN0aW4gUHJhc2FubmE=?=
Guest
Posts: n/a
 
      25th Aug 2006
in asp.net 2.0, i guess you can achieve this by

<input id="btntest" type="button" value="test value"
language="javascript" onclick="return btntest_onclick()" />

otherwise, you can also attach the script function call from the code behind.

check out http://www.codeproject.com/aspnet/ClientServer.asp

Regards,
Augustin
http://augustinprasanna.blogspot.com


"♥eXtreme oXygen♥" wrote:

> How do i call JAVASCRIP function from an event of ASP.NET:BUTTON, if
> runat=server attribute is true...
>
> actually i want to open an popup window using asp.net--button onclick
> event, but its not working
>
> --aankx
>
>

 
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
call javascrip from master page's content Ganesh Microsoft ASP .NET 1 2nd Aug 2007 07:54 PM
javascrip will not run =?Utf-8?B?amNvcmQ=?= Windows XP Internet Explorer 5 17th Aug 2005 03:29 PM
Call javascript function without using any event call cschang Microsoft ADO .NET 3 1st Feb 2005 03:04 AM
Why does a call to a function in a dll take less time if you call it repeatedly? Justin Galzic Microsoft Dot NET Framework 5 23rd Feb 2004 06:09 PM
javascrip problem temistocle Windows XP Internet Explorer 0 10th Oct 2003 02:02 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:16 AM.