Re: Replacing a control dymamically (to use a webform as a template)

From: Victor Garcia Aprea [MVP] (vga_at_NOobiesSPAM.com)
Date: 06/22/04

  • Next message: Rocky Moore: "Re: Replacing a control dymamically (to use a webform as a template)"
    Date: Tue, 22 Jun 2004 00:10:57 -0300
    
    

    Hi jorge,

    Any source code illustrating what you're doing would really help in
    understanding what may be wrong.

    It seems like you're after page templating in which case I highly recommend
    you to take a look at Master Pages and its derivatives[1]

    [1] http://weblogs.asp.net/vga/archive/2003/05/20/ExtendingMasterPages.aspx

    -- 
    Victor Garcia Aprea
    Microsoft MVP | ASP.NET
    Looking for insights on ASP.NET? Read my blog:
    http://obies.com/vga/blog.aspx
    "jorge" <anonymous@discussions.microsoft.com> wrote in message
    news:eCppfh%23VEHA.2340@TK2MSFTNGP09.phx.gbl...
    > Hi all,
    >
    > I have to replace a bunch of controls dynamically (TextBoxes, DropDowns,
    > etc).
    >
    > Any way to do this? The 'template' pages are made on asp.net with tables
    > (not runat=server) and asp:textboxes, etc.
    >
    > So I need to do a loop on the controls of the webform, but alas! they are
    > read only. I could do it directly on the template webform, that would be
    OK,
    > but not as good, but I cannot:
    >
    > myTextBoxInMyWebFormWithFormatting =
    myDynamicallyCreatedTextBoxWithValues;
    >
    > Ideas?
    > / jorge
    >
    >
    

  • Next message: Rocky Moore: "Re: Replacing a control dymamically (to use a webform as a template)"