Kalyan Vedantam

Kalyan Vedantam

  • NA
  • 109
  • 39.4k

Unable to render Linkbutton control

Jan 22 2009 11:10 PM
Hi All,

I have the html shown below in my aspx page:
<td>Method(Text,PostBackUrl)</td>

Inside the Method, I am instantiating a linkbutton server control and then after adding the attrributes(Text and PostbackUrl) , I am trying to render it.But all I get from the RenderControl method is <a>Text</a>

It does not render the postback information and the href attribute.

Any Ideas as to how to render a linkbutton with the postback info.??

Any help would be appreciated.

Thanks.

CafeDreamz