Browser Close
-
Hi Paw...thanks for the intelligent advice...it was genius to figure that out...
living life on the flip side
-
Hi All...Can any1 tell me how to close my IE with a click event? Thanks in advance
living life on the flip side
Use the click-Event handler of your ?button? and add the following lines of code
// Event-Handler
Response.Write("window.close();");hope this helps Franz
-
Use the click-Event handler of your ?button? and add the following lines of code
// Event-Handler
Response.Write("window.close();");hope this helps Franz
-
Hi Franz, wen i use the code then i get the following error: Error parsing near '<div class="ForumSig">living life on the flip side</div>
don't use " - use ' instead if this doesn't help - post the complete event-handler and I will have a look on it franz
-
Hi Franz, wen i use the code then i get the following error: Error parsing near '<div class="ForumSig">living life on the flip side</div>
Try this then...
// Event-Handler
Response.Write("<script language=\"javascript\">window.close();</script>");Remember the \" to make quotes inside an text string... ;)
With greate code, comes greate complexity, so keep it simple stupid...:-\ :-\
-
don't use " - use ' instead if this doesn't help - post the complete event-handler and I will have a look on it franz
Hi Franz...this is the error i got:
Sys.WebForms.PageRequestManagerParserErrorException: The message recieved from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled Details: Error parsing near '<script language='ja'
living life on the flip side
-
Try this then...
// Event-Handler
Response.Write("<script language=\"javascript\">window.close();</script>");Remember the \" to make quotes inside an text string... ;)
With greate code, comes greate complexity, so keep it simple stupid...:-\ :-\
-
Hi Paw...thanks but no luck...it still breaks...my above msg has the full error
living life on the flip side
The system complains because you are doing something very insecure. I think you can turn this off with PageValidation or something, but rather find another way. I suggest you try that in the Web or ASP.NET forum.
xacc.ide - now with TabsToSpaces support
IronScheme - 1.0 alpha 4a out now (29 May 2008) -
Hi Paw...thanks but no luck...it still breaks...my above msg has the full error
living life on the flip side
hi , use this in ur aspx page
Ashok
-
hi , use this in ur aspx page
Ashok