Ağustos 18, 2010

Asp.Net UpdatePanel içinde download

Projenizde updatepanel içerisinde download yaptırıyorsanız download için kullandığınız butonu updatepanel'in tagından sonra aşağıdaki şekilde eklemelisiniz.
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<Triggers>                 <asp:PostBackTrigger ControlID=”btnIndir” />        Triggers>

Artık dosyanız butona  tıkladığınızda inecektir.

Hiç yorum yok:

Yorum Gönder

System.Text.Json.JsonException hatası - cycle or if the object depth is larger than the maximum allowed depth of 32.

 Eğer .net'te aşağıdaki hatayı alıyorsanız; " A possible object cycle was detected which is not supported. This can either be due t...