Closing a window on click of a button
-
Hello, i m using an asp.net button on my page.i have written some code in its button click event.also i want the page to close on click of this button so i have written vbscript for it and associated the function with its click event using attributes.add.but somehow i think that the script is being called first and the code in the click event never gets called.the window gets closed before that only.so how do i do this."Run the asp.net server side code first and then close the page." Thanx, chitranjan more dash than cash!!!
-
Hello, i m using an asp.net button on my page.i have written some code in its button click event.also i want the page to close on click of this button so i have written vbscript for it and associated the function with its click event using attributes.add.but somehow i think that the script is being called first and the code in the click event never gets called.the window gets closed before that only.so how do i do this."Run the asp.net server side code first and then close the page." Thanx, chitranjan more dash than cash!!!
Ok its fine now.The problem got solved. more dash than cash!!!
-
Hello, i m using an asp.net button on my page.i have written some code in its button click event.also i want the page to close on click of this button so i have written vbscript for it and associated the function with its click event using attributes.add.but somehow i think that the script is being called first and the code in the click event never gets called.the window gets closed before that only.so how do i do this."Run the asp.net server side code first and then close the page." Thanx, chitranjan more dash than cash!!!