Y
Yama
Hi,
Simple question:
Is there a way to a value from client-side to server-side upon a click?
function _getReport(ReportName) { alert(ReportName); }
<asp:datalist id="dlReports" runat="server">
<itemtemplate>
<img height="7" src="../ReportsImages/navlink.gif" width="5">
<a class="Normal" id="<%#
DataBinder.Eval(Container.DataItem,"Description") %>"
href="ReportMainPage.aspx" onclick="return _getReport('<%#
EncryptString(DataBinder.Eval(Container.DataItem,"Description"))%>');">
<%# DataBinder.Eval(Container.DataItem,"Description") %></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(ReportName) { alert(ReportName); }
<asp:datalist id="dlReports" runat="server">
<itemtemplate>
<img height="7" src="../ReportsImages/navlink.gif" width="5">
<a class="Normal" id="<%#
DataBinder.Eval(Container.DataItem,"Description") %>"
href="ReportMainPage.aspx" onclick="return _getReport('<%#
EncryptString(DataBinder.Eval(Container.DataItem,"Description"))%>');">
<%# DataBinder.Eval(Container.DataItem,"Description") %></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