Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Showing ASP.NET page as pop-up/modal?
Message
 
 
À
23/12/2014 12:51:51
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01612499
Message ID:
01612660
Vues:
46
>>>>>>>>Hi,
>>>>>>>>
>>>>>>>>I want to create an ASP.NETpage that would be shown as a pop-up/modal form over the existing page. This ASP.NET pop-up form will be used when user clicks on Forget Password link to recover his/her password. The ASP.NET pop up form will show text, email address textbox, and Submit button. I have seen sites where such a form is shown over the existing page and I would like to duplicate this look.
>>>>>>>>
>>>>>>>>So, say I create such a small (relatively) ASP.NET page; how do I show it over the existing page?
>>>>>>>>
>>>>>>>>TIA
>>>>>>>
>>>>>>>If you're prepared to dive into angular/bootstrap I use the ui.bootstrap.modal. Scroll down here : http://angular-ui.github.io/bootstrap/
>>>>>>
>>>>>>I am ready to "dive" into angular but no time right now. I need to have these pages/changes fairly quickly. I do use bootstap however (without angular). So I will bookmark this link for the future. Thank you.
>>>>>
>>>>>For HTML5 you could look at the standard HTMLDialogElement which might be sufficient : https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement
>>>>>
>>>>>But browser support is patchy :-{
>>>>
>>>>Do I understand that you are saying that using Bootstrap modal window is more "reliable" than using HTML5 dialog?
>>>>
>>>>What if my task was much simpler; just to show modal dialog box informing the user that a certain process is completed. It look like I could use Bootstrap modal as shown in this page http://nakupanda.github.io/bootstrap3-dialog/.
>>>
>>>But all those examples except the first html listing are using the jquery BootstrapDialog component - not the basic BootStrap dialog,
>>>Actually, thinking about it, although I use this within angular, angular is not a requirement - it just uses jquery.....
>>
>>Yes, if you look at my other thread I did find a page with good example of modal forms using jQuery and Bootstrap. Later I realized that I may not be able to use them without learning some new technology (as Craig suggested).
>
>If you're just using the JQuery Bootstrap then it's all pretty straight-forward: Just download the library and follow the examples.....

The straight-forward part is creating a modal popup form. But calling this modal popup form from code behind is a challenge (that I could not solve).
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform