Prev: CalendarExtender.SelectedDate without populating text box
Next: Internet Explorer cannot display the webpage
From: Wizy on 7 Oct 2009 11:06 I have a web page that has both a cleint side and a server side clicked event. They both fire fine in IE. When I test the page with Firefox. The server side does not fire. I'm working on a secure network so I can not give you any code. sorry. Do you know of any simple work arounds for this? My client side script simply closes the page. My server side script update the data base. I have another button on the page that is used to cancel the changes on the page. I need to be able to both close the window and save my changes with one button and close the page and cancel my changes with the other button. I thought about writing a submit hadler like the one ASP.Net creates for the controls but it seemed a bit much. Is there a reason both event don't fire in Firefox 3? -- Thanks Wizy
From: Mark Rae [MVP] on 7 Oct 2009 11:33 "Wizy" <Wizy(a)discussions.microsoft.com> wrote in message news:4CECDAD8-6E95-41CA-866E-DED7DC68A35E(a)microsoft.com... > I have a web page that has both a cleint side and a server side clicked > event. They both fire fine in IE. When I test the page with Firefox. > The > server side does not fire. Sounds like there is a problem with the client-side JavaScript which FireFox catches but IE doesn't. Yet another example of why you should never develop and test against IE, especially IE7 or <shudders> earlier... > I'm working on a secure network so I can not give you any code If the above doesn't fix it, there's little else that anyone can do for you if they can't find the error(s) in your code... > My client side script simply closes the page. Sounds like the way you have written it is being trapped by FireFox as some sort of security problem and the code is not being allowed to run. Have you seen this? http://www.google.co.uk/search?hl=en&q=FireFox+FireBug&btnG=Search&meta=&aq=f&oq= -- Mark Rae ASP.NET MVP http://www.markrae.net
From: Wizy on 7 Oct 2009 12:12 Mark, Thank you for your response. The client side code does run correctly. The java script is very simple. Here's that code. window.close(); There is no other code in the function. It does not throw an exception that I'm aware of since it does close the page. For some reason it's not allowing the server side to run. -- Thanks Wizy "Mark Rae [MVP]" wrote: > "Wizy" <Wizy(a)discussions.microsoft.com> wrote in message > news:4CECDAD8-6E95-41CA-866E-DED7DC68A35E(a)microsoft.com... > > > I have a web page that has both a cleint side and a server side clicked > > event. They both fire fine in IE. When I test the page with Firefox. > > The > > server side does not fire. > > Sounds like there is a problem with the client-side JavaScript which FireFox > catches but IE doesn't. Yet another example of why you should never develop > and test against IE, especially IE7 or <shudders> earlier... > > > > I'm working on a secure network so I can not give you any code > > If the above doesn't fix it, there's little else that anyone can do for you > if they can't find the error(s) in your code... > > > > My client side script simply closes the page. > > Sounds like the way you have written it is being trapped by FireFox as some > sort of security problem and the code is not being allowed to run. > > Have you seen this? > http://www.google.co.uk/search?hl=en&q=FireFox+FireBug&btnG=Search&meta=&aq=f&oq= > > > -- > Mark Rae > ASP.NET MVP > http://www.markrae.net > >
From: Alexey Smirnov on 7 Oct 2009 14:22 On Oct 7, 6:12 pm, Wizy <W...(a)discussions.microsoft.com> wrote: > window.close(); > "I have a web page that has both a cleint side and a server side clicked event. [...] The server side does not fire." How does the "server side" look like?
From: Wizy on 7 Oct 2009 14:26 I did some more digging into the code and found a script injection code snippette that was over writting the window.close code with a window.parent.ID.hide code. I place an alert at the end of the script injection code and the alert will fire but the server side event still does not. So I don't think the hide function is throwing an exception. Any hep would be great. -- Thanks Wizy "Wizy" wrote: > Mark, > > Thank you for your response. The client side code does run correctly. > > The java script is very simple. Here's that code. > window.close(); > > There is no other code in the function. It does not throw an exception that > I'm aware of since it does close the page. > > For some reason it's not allowing the server side to run. > > -- > Thanks > Wizy > > > > "Mark Rae [MVP]" wrote: > > > "Wizy" <Wizy(a)discussions.microsoft.com> wrote in message > > news:4CECDAD8-6E95-41CA-866E-DED7DC68A35E(a)microsoft.com... > > > > > I have a web page that has both a cleint side and a server side clicked > > > event. They both fire fine in IE. When I test the page with Firefox. > > > The > > > server side does not fire. > > > > Sounds like there is a problem with the client-side JavaScript which FireFox > > catches but IE doesn't. Yet another example of why you should never develop > > and test against IE, especially IE7 or <shudders> earlier... > > > > > > > I'm working on a secure network so I can not give you any code > > > > If the above doesn't fix it, there's little else that anyone can do for you > > if they can't find the error(s) in your code... > > > > > > > My client side script simply closes the page. > > > > Sounds like the way you have written it is being trapped by FireFox as some > > sort of security problem and the code is not being allowed to run. > > > > Have you seen this? > > http://www.google.co.uk/search?hl=en&q=FireFox+FireBug&btnG=Search&meta=&aq=f&oq= > > > > > > -- > > Mark Rae > > ASP.NET MVP > > http://www.markrae.net > > > >
|
Next
|
Last
Pages: 1 2 Prev: CalendarExtender.SelectedDate without populating text box Next: Internet Explorer cannot display the webpage |