January 22nd, 2009, 09:57 PM
Render LinkButton Control
I have the html shown below in my aspx page:
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.
January 28th, 2009, 03:18 PM
Re: Render LinkButton Control
Overall, your approach sounds correct. Maybe you could post your RenderControl() code so I can see what's wrong.
Tags for this Thread
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!