Asp:HyperLink
-
Hi all, I am trying to set the text property to the asp:hyperlink control using frmHourRegistration.hlProject.Text="Test" But I am gettting the error as "Method not supported" What I am doing wrong here ?
-
Hi all, I am trying to set the text property to the asp:hyperlink control using frmHourRegistration.hlProject.Text="Test" But I am gettting the error as "Method not supported" What I am doing wrong here ?
try hlProject.Text="Test"; in your codebehind if hlProject is the id of the hyperlink
Regards, Sylvester G If we don't succeed, we run the risk of failure
-
try hlProject.Text="Test"; in your codebehind if hlProject is the id of the hyperlink
Regards, Sylvester G If we don't succeed, we run the risk of failure
Thanks for the reply Sylvester george , It works well in the code behind. But i want to populate from VBScript function. How can I ?
-
Thanks for the reply Sylvester george , It works well in the code behind. But i want to populate from VBScript function. How can I ?
Anyway that you have not mentioned in the question. this is the code for you
<script type="text/vbscript"> HyperLink1.innerText = "abc" </script>
Regards, Sylvester G If we don't succeed, we run the risk of failure
-
Anyway that you have not mentioned in the question. this is the code for you
<script type="text/vbscript"> HyperLink1.innerText = "abc" </script>
Regards, Sylvester G If we don't succeed, we run the risk of failure
This is my code
Sub btnProjects_Click Dim retValue If frmHourRegistration.chkShowAll.checked=true then retValue= window.showModalDialog("test.aspx",window, "dialogWidth:550px;resizable:yes") If IsNull(retValue) Then frmHourRegistration.txtProject.Value=Empty frmHourRegistration.hlProject.Value=Empty **//Error** Else frmHourRegistration.txtProject.Value=retValue(0) frmHourRegistration.hlProject.Text=retValue(1) End If End If End Sub