What you want to see on DotNetFunda.com ?
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 18077 |  Welcome, Guest!   Register  Login
 Home > Forums > ASP.NET > getting confirm message box in asp.net ...
Professionalhima

getting confirm message box in asp.net

Replies: 1 | Posted by: Professionalhima on 4/23/2012 | Category: ASP.NET Forums | Views: 673 | Status: [Member] | Points: 10  


Requirement is:(registration page)
On loading a page a textbox should display a random userid.I have done with this which is readonly.but,
when the user clicks the submit button,it should display a confirm msg showing that if he want to proceed? If yes: then the a alert msg box should display showing the UserId and his username which he has entered andshould store all the entered details into database.
If No: none of the details should be stored in database
please help me


Reply | Reply with attachment | Alert Moderator

 Responses below this adGet hundreds of .NET Tips and Tricks videos

 Replies

GSM_GSV
GSM_GSV  
Posted on: 4/23/2012 8:27:18 AM
Level: Starter | Status: [Member] | Points: 25

For confirm message
aspx
<asp:Button ID="Submit" runat="server" BorderColor="White" meta:resourcekey="BtnDelete"

CommandName="Del" OnClientClick="return confirm('Do you want to proceed?');"
Width="80px" />


Use onclick event in codebehind and display the input credentials in messagebox and finally insert that records in the database



---------------------------------------
Live the life you've dreamed

Regards
MADHU

Professionalhima, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Reply - Please login to reply


Click here to login & reply

About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/24/2013 12:39:48 AM