Server-Side Control - Embedded Server-Side Code - Inline

  • Thread starter Thread starter Mythran
  • Start date Start date
M

Mythran

<asp:hyperlink ... navigateurl="<%=MyClass.MySharedMethod%>" ...

Anyone know how to do something similar to the above?

Thanks,
Mythran
 
MyHyperlink.NavigateUrl = MyClass.MySharedMethod;

in code behind, Page_Load for example

(you cannot use webcontrols together with "Response.Write")
 
Jakub said:
MyHyperlink.NavigateUrl = MyClass.MySharedMethod;

in code behind, Page_Load for example

(you cannot use webcontrols together with "Response.Write")

Umm, yeah, I know about the code behind...

I was talking about webcontrols and response.write inline, and the rest of
yer message answered that ;)

Thanks,
Mythran
 
Back
Top