Wednesday, March 21, 2012

UpdatePanel and Popup

Hi All,

I've a page containing a form divided into 4 steps:

<UpdatePanel>

<Multiview>

<View1>GridView showing students' information

<View2>Form for Add/Edit student's personal info

<View3>form for add/edit student's home info

<View4>form for add/edit student's parents info

</Multiview>

</UpdatePanel>

Every view have a next button to change the active view to the next view and in view4 these is a save button to save the data into database then change the active view to view 1.

In view 2 there is a button popup a window of student's semester subjects list for user to enter their score. My problem is, after I press save button in the popup to save the subject score the parent window autometically refresh and active view change back to View1... How can I make the parent window not refresh when I save the info of popup window?

Thanks,

Tim

What are you using for a popup? You can try using the ModalPopuphttp://www.asp.net/AJAX/Control-Toolkit/Live/ModalPopup/ModalPopup.aspx.

-Damien


Hi Damien,

Because I need to use the FileUploadControl to upload student's project files/exam paper ... this requires a full post back so cannot work inside updatepanel..

Cheers,

Tim


The ModalPopup doesn't require an UpdatePanel.

-Damien

No comments:

Post a Comment