"jorge" <> wrote in message
news:eCppfh#...
> 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
You might take a look at my web control below. It allows you to easily swap
in and out user controls. Works really well and you still have full control
over you code behind.
I use this method (as do others) as a master type template style.
--
Rocky Moore
www.HintsAndTips.com - ~ Developer Tips Wanted ~
www.RJSoft.com/Products/RJContentPanel/ - Free web user content control!