Geeks With Blogs
Gaurav Taneja Great dreams... never even get out of the box. It takes an uncommon amount of guts to put your dreams on the line, to hold them up and say, "How good or how bad am I?" That's where courage comes in. Javascript
Delete confirmation
Javascript <script language="javascript" type="text/javascript"> function ConfirmDelete() { if(confirm("Do you really want to Delete the Abused Record?")==true) { return true; } document.getElementById('&l... return false; } function ClearMessageLabel() { var msg=document.getElementById... if(msg!=null) { msg.innerHTML=""; } } </script> Cs code btnDelete.Attributes.Add("o... "javascript:return ConfirmDelete('" + CommonFunction.GetErrorMess... ......

Posted On Wednesday, April 16, 2008 11:15 PM

Displaying Image in a Popup
Javascript <script language="javascript" type="text/javascript" > function openPopUp(sPicURL) { var win=window.open(sPicURL, "","menubar=no,scrollbar=ye... return false; } function openImagePopUp(sPicURL) { window.open("../common/cont... "","width=250px,height=180p... } </script> Cs code imgPhoto.Attributes.Add("on... "javascript:openImagePopUp('" + strPath + "');"); ......

Posted On Wednesday, April 16, 2008 10:37 PM

Copyright © Gaurav Taneja | Powered by: GeeksWithBlogs.net