473,386 Members | 1,694 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Page.RegisterStartupScript not working in Netscape

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
2 1514
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Tony K | last post by:
I have the most peculiar problem with an ASP.NET page which we use for downloading a file. When the user clicks on a link, the link points to an ASPX page which downloads the file selected. ...
8
by: Judy Ward | last post by:
I have an index.aspx with frames. The top frame has a navigation bar with a "Login" hyperlink. If the user has already logged in I want this link to change to "Logout". I am using forms-based...
4
by: Joseph Burton | last post by:
When I put this code in my load function it works just fine. Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load RegisterStartupScript("",...
2
by: Kiyomi | last post by:
Hello, I have some codes under event ButtonSend_Click to check the user input values. This check is complicated enough using different stored procedures. Then according the result of the...
2
by: Dav | last post by:
In my ASP.NET codebehind I have the following code to jump to a certain section of the page: --- Dim strAnchorScript As String = "<script language='javascript'>" & _ "window.location.hash='#" &...
0
by: =?Utf-8?B?QW50b25pbw==?= | last post by:
Hello, everyone. I am trying to open a popup page to display some information but it is not working. Going through the code, no errors are generated. It goes to the end of the code but it does...
3
by: Rob | last post by:
Hi, We've developed an ajax enabled web app which we're currently deploying to our production server. We use System.Web.UI.Page.RegisterStartupScript throughout the app, and all has worked well...
9
by: 0301102 | last post by:
I using following script in my project. Once click the button and there will open a pop up window. But "Page.ClientScript.RegisterStartupScript" script seem NOT working in update panel. After remove...
1
by: pandharinath | last post by:
I want to display fields(row) selected from grid in popup window to textboxes in Opener window. I have written code as follows : Main Opener window protected void Button1_Click(object...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.