Results 1 to 2 of 2

Thread: msgbox

  1. #1
    Join Date
    Dec 1969

    Default msgbox

    I was wondering what the best way to handle a Msgbox in .NET. I have a aspx form that updates a record. I want to have a msgbox ask if they are sure they want to save changes. I know how to accomplish this in VBscript but can I call a function from a vbscript? Or is there a better way?

  2. #2
    Join Date
    Dec 1969

    Default RE: msgbox

    if you have a button like<BR><BR>&#060;asp:button id="btnCancel" runat="server" text="Cancel"/&#062;<BR><BR>in the code:<BR><BR>btnCancel.Attributes.Add("onClick","r eturn confirm(&#039;OK to Cancel&#039;);")<BR><BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts