creating a webcontrol consisting of server controls

Discussion in 'ASP .Net' started by tolisss, Nov 12, 2005.

  1. tolisss

    tolisss Guest

    Hi

    i m trying to find a way to create a user control that will have a mix
    of server controls
    but i cannot find a way to get the html that these controls are going
    to render before my control is rendered so i can write them all at my
    webcontrol Render method

    that is my though of implemeting that please someone suggest a proper
    way of doing it

    thnks
     
    tolisss, Nov 12, 2005
    #1
    1. Advertising

  2. Hi tolisss,

    If you are creating a UserControl, the controls will render their own HTML,
    you don't have to worry about it. If you are creating a custom WebControl,
    call the RenderChildren(htmlTextWriter) method of the class.

    Tim

    "tolisss" wrote:

    > Hi
    >
    > i m trying to find a way to create a user control that will have a mix
    > of server controls
    > but i cannot find a way to get the html that these controls are going
    > to render before my control is rendered so i can write them all at my
    > webcontrol Render method
    >
    > that is my though of implemeting that please someone suggest a proper
    > way of doing it
    >
    > thnks
    >
    >
     
    =?Utf-8?B?dGlta2xpbmc=?=, Nov 12, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Frodo Larik
    Replies:
    1
    Views:
    1,641
    J├╝rgen Exner
    May 30, 2004
  2. Andrew Smith

    String consisting of spaces

    Andrew Smith, Oct 17, 2003, in forum: Java
    Replies:
    25
    Views:
    767
    Raymond DeCampo
    Oct 19, 2003
  3. learningjava
    Replies:
    6
    Views:
    4,374
    learningjava
    Dec 15, 2003
  4. Replies:
    2
    Views:
    726
    Beat Bolli
    Jun 21, 2005
  5. Maziar Aflatoun

    DataTable consisting of 2 other DataTables

    Maziar Aflatoun, Feb 5, 2005, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    141
    Elton Wang
    Feb 6, 2005
Loading...

Share This Page