tags:

views:

130

answers:

2

How can I use javascript with a C# application. Also, how can I create an HTML popup window?

actually my need to create a plugin for ie, which uses JSON response to create its elemtts and need a popup for login , which should be an html file

+1  A: 

If you need to call javascript function you can use

Page.RegisterStartupScript

See msdn

For the second part you can use

window.open

method

See here

rahul
Deprecated from .NET 2.0. Use Page.ClientScript.RegisterStartupScript instead.
Guffa
A: 

Perhaps you're looking for Script#?

Script# brings the power and productivity of C# and .NET tools to Ajax development by compiling C# source code into regular JavaScript.

psychotik