I was wondering if anyone knows how to update a panel with an external web form. For example, I am trying to find out how to let users load and external asp web form into a asp panel using the ajax updatepanel. The users will click a button and the desired page will load within the updatepanel's pane. I would like to be able to update profile information within this pane. I've seen several example on how to update server information, but is it possible to load external editable web forms into the pane?
Can someone please give me a direction to work with?
You could load the external webform into an <IFRAME> and then wrap the UpdatePanel around that. I'm not sure if that would do what you want, but using an IFRAME is definitely one way of loading an external page into the current page.
<body>
<formid="form1"runat="server">
<asp:ScriptManagerID="ScriptManager1"runat="server">
</asp:ScriptManager>
<asp:UpdatePanelID="UpdatePanel1"runat="server">
<ContentTemplate>
<iframeid="iframe1"runat=serversrc="http://www.example.com/webform.aspx"></iframe>
</ContentTemplate>
</asp:UpdatePanel>
</form>
</body>
Cheers,
Al
No comments:
Post a Comment