Ramco Ramco

Ramco Ramco

  • 471
  • 2.8k
  • 393.6k

Pass Parameters through anchor tag

Jan 21 2023 10:41 AM

Hi

I have below code & i want to pass 2 parameters to open another form. I have deliberatley written hef 

<td>
    <a hef='javascript::;' data-popup="tooltip">
        <asp:Literal ID="ltrStudentName" runat="server" Text='<%# Eval("Name") %>'></asp:Literal>
    </a>
</td>

In below line it is not passing parameter

<a hef='../User/Home.aspx?val=" + AES.Encrypt('<%# Eval("StudentID") %>')' >

Thanks


Answers (3)