Render LinkButton Control
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Render LinkButton Control

  1. #1
    Join Date
    Jun 2005
    Location
    Maryland,USA
    Posts
    20

    Unhappy Render LinkButton Control

    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

  2. #2
    Join Date
    Oct 2006
    Posts
    181

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center