Results 1 to 3 of 3

Thread: Render ASPX control

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 2004
    Location
    india
    Posts
    95

    Render ASPX control

    hai,

    im using some function in my .aspx.vb (codebehind page)
    [Ref:txt file attached]

    Actually i am calling this function in my page load event of my page as

    response.write(constructMsg())


    the string contains a server label control. how to render that in my page.
    Where to write the handlers for this controls?

    Is this is possible? What is the way to accomplish this task.

    V.R.Mahendran
    Attached Files Attached Files

  2. #2
    Lively Member
    Join Date
    Mar 2002
    Posts
    96

    Re: Render ASPX control

    Yes, it is possible. Create a form, put a label on it and copy the html that is produced. If you drop a button on the form and put code-behind for it, then remove it, the rendered code will work.

  3. #3
    Frenzied Member Magiaus's Avatar
    Join Date
    Mar 2002
    Location
    swamp land
    Posts
    1,267

    Re: Render ASPX control

    I'm not sure I understand what you are doing. Do you want to add a label at run time or what?
    Magiaus

    If I helped give me some points.

Posting Permissions

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



Click Here to Expand Forum to Full Width