hi, I am facing problem in download hyperlink..plz give me the
solution.
in codebehind,
private void repDocuments_It emDataBound(obj ect sender,
System.Web.UI.W ebControls.Repe aterItemEventAr gs e)
System.Web.UI.W ebControls.Hype rLink myLink =
(System.Web.UI. WebControls.Hyp erLink)repDocum ents.Items[i].FindControl("L nkDownLoad");
and in aspx page,
<TD align="left" valign="top" class="GridCell "><a id="LnkDownLoad "
href='../PropertyDocumen ts/<%#DataBinder.E val(Container,
"DataItem.Physi calFileName")%> ' class="recordLi nk LnkAppear">
Download</a></TD>
....now when i click on hyperlink 'download', i see the the file in
browser window but i want the download dialog , how can i do that??
thx
solution.
in codebehind,
private void repDocuments_It emDataBound(obj ect sender,
System.Web.UI.W ebControls.Repe aterItemEventAr gs e)
System.Web.UI.W ebControls.Hype rLink myLink =
(System.Web.UI. WebControls.Hyp erLink)repDocum ents.Items[i].FindControl("L nkDownLoad");
and in aspx page,
<TD align="left" valign="top" class="GridCell "><a id="LnkDownLoad "
href='../PropertyDocumen ts/<%#DataBinder.E val(Container,
"DataItem.Physi calFileName")%> ' class="recordLi nk LnkAppear">
Download</a></TD>
....now when i click on hyperlink 'download', i see the the file in
browser window but i want the download dialog , how can i do that??
thx
Comment