Click here to Skip to main content
15,867,686 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Dear All

I need to get "employeeName" and "vacationType" values and i pass it to asp.net c# page's textbox fields while i clicking the "Emp_Click" HTML link control.

My Code

Data-Bind values:
HTML
<td data-bind="text: employeeName"></td>
<td data-bind="text: vacationType"></td>


HTML Link:
HTML
<td><a target="_blank" href="SickLeavefile.aspx">Emp_Click</a></td>


Could you please help me from this issue.

Thanks
Sathik
Posted
Updated 11-Aug-15 6:40am
v3

1 solution

Pass the values as QueryString parameters.

For example your href could be:
SickLeavefile.aspx?empname=value&vactype=value
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900