User989035446 posted
Hi All,
I have a a master page with upload panel and hence all the control on the pages in under the control of the update panel.
In order to upload file i need to have post back trigger as per below.
<asp:UpdatePanel ID="UpdatePanel2" runat="server">
<Triggers>
<asp:PostBackTrigger ControlID="btnSave" />
</Triggers>
<ContentTemplate>
<asp:Button ID="btnSave" runat="server" Text="Save" cssclass="button" onclick="bnCSave_Click" />
</ContentTemplate>
</asp:UpdatePanel>
Meanwhile i have other control(textbox) also that its value need to be readed when the file is upload.
My problems is the control(textbox)value cannot not be reaeded when the Save button is clicked.
The Save button should read the uploaded file and also the textbox value.
I am not able to put all the contol under the PostBackTrigger because of the design.
I have try to put UpdatePanel to each control but it prompts me below error:
An extender can't be in a different UpdatePanel than the control it extends.
Does anyone has idea on this?
Help Please