Take this example.
I am creating an HyperLink Control in code behind as
If the page is rendered in page the view source the page will be something likeCode:Dim hlink As New HyperLink hlink.NavigateUrl = "~Default.aspx"
Code:"<a class='gridlink' href='javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("""", """", false, """", ""{0}"", false, true))'>{1}</a>"
Can I get this source without rendering the page ?




Reply With Quote