----------------------------------------------------------- New Message on MumbaiUserGroup
----------------------------------------------------------- From: AchyutMurthy Message 1 in Discussion Hi there, I am new to .Net and have got into an ASP.Net project about a month back. We are facing VB.Net as the language and I 've got stuck at the following place: I have a asp:Button on click of which I have written some code in the associated EventHandler. In this, I am calling a function written in my Class file, which does the Database interaction for deleting some records. However, I need to prompt the user before doing this. Obviously, I cant use the messagebox function over here in this case since its asp.net. So I am using a roundabout way of calling a JavaScript function to display the alert message to the user and then depending upon the user answer, again getting into the classs file and doing the further processing. I guess the code is becoming quite messy due to this, just for the sake of displaying an alert to the user. Can anyone please suggest a better way out for this?? Thanks & Regards, Achyut ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/MumbaiUserGroup/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
