Click here to Skip to main content
15,896,207 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hello
On link button i poping up a ModalPopup extender to take some values from user bt its add(button functionlity is not working) and on same add button i need toopen another popup window same with Ajax control(modal popup extender) to show a GridView(to show data from Preivous popup window) and its Submit button is working
Posted
Comments
Karthik Harve 4-Mar-13 6:46am    
can show your code, where you are handling add button click event ? and also, show us html source.

first Add button working is
C#
protected void btnAdd_Click(object sender, EventArgs e)
        {
            
            getMigrationDataView(); // for filling values taken from user in dummy table and put       into gv
            btnAddToShowGVModalPopup.Show();
            
        }


on another Popup have save to save into db that is working fine
 
Share this answer
 
// first Modalpopup Extender
<asp:linkbutton id="lbtn" runat="server" causesvalidation="false" xmlns:asp="#unknown">
onclick="lbtn_Click">Add your Migration

<asp:modalpopupextender id="lbtn_ModalPopupExtender" xmlns:asp="#unknown">
PopupControlID="popupPanel" BackgroundCssClass="modalBackground"
runat="server" Enabled="true" DropShadow="true" RepositionMode="RepositionOnWindowResize" X="0" Y ="-120"
TargetControlID="lbtnMigrationPath">





// Second Modal pop up extender
<asp:button id="btnAdd" runat="server" cssclass="label" xmlns:asp="#unknown">
onclick="btnAdd_Click" Text="Add" CausesValidation="False" />
<asp:modalpopupextender id="btnAdd_ModalPopupExtender" x="-1000">
runat="server" DynamicServicePath="" Enabled="True" PopupControlID="gvPanel" DropShadow="true" BackgroundCssClass ="modalBackground"
TargetControlID="btnAdd">
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900