sunakshi saxena

sunakshi saxena

  • NA
  • 54
  • 82.7k

link on date

Oct 14 2011 1:11 AM
Hi

I am working on a intranet project I am using calender on some page.and on that calender i am binding the leave of employees.
I am using a linkButton which is showing a link on text Leave.
I want that it will shoe link on that date which is a leave.I ma using the below code line i ma also sending sceen shoot please help urgently.

<asp:LinkButton ID="lnkEmpInfo2" runat="Server" OnClientClick='<%# "javascript:openPopUp(\"Leave/OnleaveEmp.aspx?Date="+Eval("Date")+"\")"%>'>Leaves</asp:LinkButton>


someone told me that use conditional eval instead of eval please help if conditional eval will be used than how.or nay thing else.


Answers (1)