PC Review


Reply
Thread Tools Rate Thread

ASP .NET - Fire Javascript

 
 
Nikolay Petrov
Guest
Posts: n/a
 
      21st Mar 2005
How to fire a JavaScript from VB code?

TIA

 
Reply With Quote
 
 
 
 
Cor Ligthert
Guest
Posts: n/a
 
      21st Mar 2005
Nicolay

\\\
Dim str As String
str = "<script language=javascript> {window.open('http://www.google.com');}
</script>"
RegisterStartupScript("Startup", str)
///

A full description
http://msdn.microsoft.com/library/de...javascript.asp

There are as well the attributes which you can add to a control.

I hope this helps a little bit?

Cor


 
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
How to fire Javascript events from a .NET winforms user control back to Javascript in IE jonathan.beckett Microsoft Dot NET 0 13th Jul 2006 02:51 PM
Javascript from Datagrid won't fire =?Utf-8?B?TWFyZHk=?= Microsoft ASP .NET 7 25th Nov 2005 03:56 AM
Fire a server function from javascript? Luis Esteban Valencia Microsoft ASP .NET 2 21st Jan 2005 04:08 PM
Is there a javascript event that will always fire upon postback? john Microsoft ASP .NET 3 19th Apr 2004 04:08 PM
Fire a javascript function from vb.net Cesar Zam Microsoft ASP .NET 1 2nd Nov 2003 03:47 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:32 AM.