You must Sign In to post a response.
  • Category: .NET

    How to display a prompt message before redirecting to other page

    I have to redirect a page to next page before doing this , I need to display a message for password conformation . This validation should be done from database.
  • #765321
    If you are talking about a LinkButton then you can attach a javascript to display a pop up like below

    <asp:LinkButton ID="LinkButton1" runat="server" OnClientClick="javascript:alert('Please Supply Username and Passowrd');">LinkButton</asp:LinkButton>

    Or you may use the ASPNET AJAX Modal PopUp control as suggested by other member.. see below for demo

    - See more at:

    Editor, DotNetSpider MVM
    Microsoft MVP 2014 [ASP.NET/IIS]

Sign In to post your comments