popup script
-
Button3.Attributes.Add("Onclick", "OpenWindow();") i want to execute some statements in button click then depending on condition my popup window should open not like deafault button click.. can any one help me in this .. Regards Rajkumar.
-
Button3.Attributes.Add("Onclick", "OpenWindow();") i want to execute some statements in button click then depending on condition my popup window should open not like deafault button click.. can any one help me in this .. Regards Rajkumar.
you can use RegisterStartupScript Block for that.
Best Regards ----------------- Abhijit Jana "Success is Journey it's not a destination"
-
you can use RegisterStartupScript Block for that.
Best Regards ----------------- Abhijit Jana "Success is Journey it's not a destination"
yah i got it abhijit ClientScript.RegisterStartupScript(GetType(Capture), "close", "OpenWindow();", True) thanks any way..
-
Button3.Attributes.Add("Onclick", "OpenWindow();") i want to execute some statements in button click then depending on condition my popup window should open not like deafault button click.. can any one help me in this .. Regards Rajkumar.
I think it needs to be all lower case. Why not just add OnClientClick to the button in the aspx ?
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )