c# - Popup with a gridview when a link is clicked -
When a link is clicked, help me get a popup with gridview (with 2 columns) May I need some help badly, no one can please me how to start and process the process please I would be grateful Gridviewview contains 2 checkboxes and text in the column. It should be populated from the database and after modifying it. It should save in database !!
I appreciate all your help !! Thanks!
If you do not have the time, and you want things to work "magically"; download;
- Drop a link in your markup that will open the grid; Name
MyLink
- Define two columns inside 'Ed GridView.
& lt; Asp: panel runat = "server" id = "pnlGrid" & gt; ASP: Gridview ... & gt; & Lt; / Asp: Panel & gt;
- Drop
ModalPopupExtender
Control with Ajax Control Toolkit in your markup. - Markup of
ModalPopupExtender
& lt; Task: Add the ID of the panel to ModalPopupExtender ID = "MyModalPopupExtender1" runat = "server" MyLink "after clicking on the popup will open with a grid VIP; After clicking" MyLink "click on the" Popup control ID = "Mile links" style = "Display: none" oakcontrolID = "myoqbutton" />
Do not forget to add the property, so you will know that there is no record to show.
Last, but at least, load your data from your database on your page load, and it's a good start to your
GridView.DataSource
enjoy!
Comments
Post a Comment