Чтобы работал FileUpload внутри UpdatePanel

21
Авг,2012

0

[sourcecode language=»C#»] <asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional"> <ContentTemplate> <asp:FileUpload ID="FileUpload1" runat="server"/> <asp:Button ID="Button1" runat="server" Text="Создать" OnClick="Button2_OnClick"/> </ContentTemplate> <Triggers> <asp:PostBackTrigger ControlID="Button1" /> </Triggers> </asp:UpdatePanel> [/sourcecode]