473,545 Members | 2,444 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Page.RegisterSt artupScript not working in Netscape

Hi,
I have a problem with using Page.RegisterSt artupScript 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 1520
Page.RegisterSt artupScript() 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.RegisterSt artupScript(). 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******** ******@TK2MSFTN GP10.phx.gbl...
Hi,
I have a problem with using Page.RegisterSt artupScript 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******@takem pis.com> wrote in message
news:OX******** ******@TK2MSFTN GP10.phx.gbl...
Page.RegisterSt artupScript() 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.RegisterSt artupScript(). 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******** ******@TK2MSFTN GP10.phx.gbl...
Hi,
I have a problem with using Page.RegisterSt artupScript 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
3011
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. The code works fine except after the user saves the file, the links on the left side of the frameset do not work. IE locks up.
8
2854
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 authentication and think I know how to accomplish this part. My problem is that the top frame does not reload to get to the "If...
4
1860
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("", "<script language='JavaScript'> CreateWnd ('PleaseWait.aspx', 500, 50, false); </script>") End Sub But when I put it in another server control it...
2
2004
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 checks, I would like to display a popup page in which the user can select "OK", "Cancel" etc.
2
4656
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='#" & strLink & "'</script>" Page.RegisterStartupScript("anchorScript", strAnchorScript ---
0
6522
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 not open the page. Am I missing something? It's VS 2005. Thanks, protected void lnk_Comments_Click(object sender, EventArgs e) {
3
2032
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 until we deployed. After deploying, we get an error stating that the method is not found. We're using .Net V2. After a bit of investigation, I get...
9
42721
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 Update panel and it is working properly. Any solution? Page.ClientScript.RegisterStartupScript(Me.GetType(), "openpopup", "window.open('" &...
1
1423
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 sender, EventArgs e) { ...
0
7425
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7935
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7780
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5351
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5069
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3479
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3465
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1911
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
734
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.