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

    http://www.asp.net/learn/ajax-videos/video-85.aspx

    - See more at: http://codeverge.com/asp.net.web-forms/how-to-create-a-pop-up-window-prompting-for/418490#sthash.Qu0RFJfN.dpuf

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


Sign In to post your comments