A
Arsalan
Well, suppose i have couple of controls in datalist and one of them is link
button control
how do i invoke link button controls click method in the datalist ???
Suppose link button control will send info back to server and redirect to
another page, how do i do it in datalist ?
I have following code in item templatae
<asp:LinkButton id="Linkbutton1" OnClick="OnClickMethod"
runat="server">Download Chapter</asp:LinkButton>
I want to be able to pass arguement to OnClickMethod [the arguement is
employee_id which comes from the table]
Something like when link button is clicked, it'll redirect to another page
containing employee details.
button control
how do i invoke link button controls click method in the datalist ???
Suppose link button control will send info back to server and redirect to
another page, how do i do it in datalist ?
I have following code in item templatae
<asp:LinkButton id="Linkbutton1" OnClick="OnClickMethod"
runat="server">Download Chapter</asp:LinkButton>
I want to be able to pass arguement to OnClickMethod [the arguement is
employee_id which comes from the table]
Something like when link button is clicked, it'll redirect to another page
containing employee details.