By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,602 Members | 1,507 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,602 IT Pros & Developers. It's quick & easy.

Page.RegisterStartupScript not working in Netscape

P: n/a
Hi,
I have a problem with using Page.RegisterStartupScript to call some
javascript code from ASP.NET using C# is not working in Netscape.It is
working fine in Internet Explorer.Does anybody know how to fix this problem?
Any help is appreciated.
Thanks,
Marshal Antony
..NET Developer
Nov 18 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Page.RegisterStartupScript() only adds a string to the Page output stream.
The string contains JavaScript, which is inserted into the HTML document. If
it doesn't work in Netscape, it has nothing to do with ASP.Net or
Page.RegisterStartupScript(). It has everything to do with the JavaScript
you put into the page. JavaScript is not universally interpreted or
supported in all browsers.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Neither a follower
nor a lender be.

"Marshal Antony" <do***********@hotmail.com> wrote in message
news:ut**************@TK2MSFTNGP10.phx.gbl...
Hi,
I have a problem with using Page.RegisterStartupScript to call some
javascript code from ASP.NET using C# is not working in Netscape.It is
working fine in Internet Explorer.Does anybody know how to fix this problem? Any help is appreciated.
Thanks,
Marshal Antony
.NET Developer

Nov 18 '05 #2

P: n/a
Hi Kevin,
Thanks for your reply.I agree with you,so it narrow down to my
JavaScript code.
Thanks,
Marshal Antony
"Kevin Spencer" <ks******@takempis.com> wrote in message
news:OX**************@TK2MSFTNGP10.phx.gbl...
Page.RegisterStartupScript() only adds a string to the Page output stream.
The string contains JavaScript, which is inserted into the HTML document. If it doesn't work in Netscape, it has nothing to do with ASP.Net or
Page.RegisterStartupScript(). It has everything to do with the JavaScript
you put into the page. JavaScript is not universally interpreted or
supported in all browsers.

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Neither a follower
nor a lender be.

"Marshal Antony" <do***********@hotmail.com> wrote in message
news:ut**************@TK2MSFTNGP10.phx.gbl...
Hi,
I have a problem with using Page.RegisterStartupScript to call some
javascript code from ASP.NET using C# is not working in Netscape.It is
working fine in Internet Explorer.Does anybody know how to fix this

problem?
Any help is appreciated.
Thanks,
Marshal Antony
.NET Developer


Nov 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.