Hi,
Simple question:
Is there a way to a value from client-side to server-side upon a click?
function _getReport(Repo rtName) { alert(ReportNam e); }
<asp:datalist id="dlReports" runat="server">
<itemtemplate >
<img height="7" src="../ReportsImages/navlink.gif" width="5">
<a class="Normal" id="<%#
DataBinder.Eval (Container.Data Item,"Descripti on") %>"
href="ReportMai nPage.aspx" onclick="return _getReport('<%#
EncryptString(D ataBinder.Eval( Container.DataI tem,"Descriptio n"))%>');">
<%# DataBinder.Eval (Container.Data Item,"Descripti on") %></a>
</itemtemplate>
</asp:datalist>
What I would like to accomplish is to pass the report name to server-side
from client-side upon clicking on a link above.
Yama
Simple question:
Is there a way to a value from client-side to server-side upon a click?
function _getReport(Repo rtName) { alert(ReportNam e); }
<asp:datalist id="dlReports" runat="server">
<itemtemplate >
<img height="7" src="../ReportsImages/navlink.gif" width="5">
<a class="Normal" id="<%#
DataBinder.Eval (Container.Data Item,"Descripti on") %>"
href="ReportMai nPage.aspx" onclick="return _getReport('<%#
EncryptString(D ataBinder.Eval( Container.DataI tem,"Descriptio n"))%>');">
<%# DataBinder.Eval (Container.Data Item,"Descripti on") %></a>
</itemtemplate>
</asp:datalist>
What I would like to accomplish is to pass the report name to server-side
from client-side upon clicking on a link above.
Yama
Comment