Quantcast
Channel: Web Forms
Viewing all articles
Browse latest Browse all 23244

How to make a popup form with the main page as background "greyed out"

$
0
0

Hi

i have created a gridview on my main page. I want to do it possible to create a new item to the gridview. Right now i just have maked a hyberlink that navigate to a new page.

<asp:HyperLink ID="AddNewDevice" runat="server" ImageUrl="~/Images/add-icon24.png" NavigateUrl="~/AddDeviceForm.aspx" Target="_blank" ></asp:HyperLink>

Instead of this, i want when clicking on the hyberlink, a new "form" is just pupping up with som input field/comboboxes and a submit button.

I'm new to asp.net, so i dont how to make a popup windows like this.

When the popup form is showing, i want to see the main page in the background with a little "greyed out" theme. You should not could minimize the popup window, only close it og press the submit button to be back on the main page.

Hope for some helps :)


Viewing all articles
Browse latest Browse all 23244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>