0

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

2
  • You mean asp.net web application? Commented Aug 27, 2009 at 6:55
  • 1
    Depends. Did you want to call a Web Service? Please explain what you are trying to do. Commented Aug 27, 2009 at 6:55

2 Answers 2

1

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

Sign up to request clarification or add additional context in comments.

1 Comment

Deprecated from .NET 2.0. Use Page.ClientScript.RegisterStartupScript instead.
0

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.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.