Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Messagebox question for web forms
Message
From
26/02/2008 09:52:44
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01296384
Message ID:
01296414
Views:
12
>All,
>
>I have a web form with an mmRadGrid listing records. I have just added a 'Delete' button for each row of the grid and successfully wrote the code to delete the record.
>
>My question is: How do I create a messagebox in the form to allow the user to confirm or cancel the delete request? I would like to just prompt them with the question, 'Are you sure you want to delete this record?' with two buttons for Yes and No.
>
>Any help is appreciated.
>
>Thanks.

Since you are using Rad controls wrapped with MM you should have this already built in by MM. I wonder if you are bypassing this function in your delete code. Are you calling a delete directly on the business object or are you calling delete at the page first?
Tim
Timothy Bryan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform