Ask a Question related to ASP.NET Building Controls, Design and Development.
-
paul.hester@gmail.com #1
Adding layout elements within custom control
Hi all,
I have a custom control that I use within forms that contains form
inputs and validator controls. At the moment I'm overriding the Render
method of my custom control and using the HtmlTextWriter object to
render the layout elements and the Control.RenderControl method in the
appropriate places to render the child controls in the right place.
I've run into a problem where literal content (i.e. <%= SomeVariable
%>) is not being rendered, and from what I can understand, it's because
of the way I'm rendering the child controls.
Could someone please advise me of the best way to add layout elements
around the child controls and with the literal content intact? Do I
need to override another method and add the extra layout elements to
the Controls collection?
Thanks,
Paul
paul.hester@gmail.com Guest
-
adding a custom vb.net winform control in asp.net
greetings all, I am new to adding controls to a webpage, i have created a control in vb.net and build the solution, I then took the dll file and... -
Dynamically adding custom control
Im trying to dynamically add a user control for a webform but it is not appearing when I run the form. I have pasted the code that I am using. ... -
Dynamically adding a custom control
Steven Im getting in a bit of a mess with this. What I want to end up with is a set of controls for editing / displaying fields on a webform. I... -
Adding Validator Control at runtime in a Custom Control
Hi Wim, How do we link the TextBox to this validator control class in runtime ? Could you please tell. Thanks _ Muds. Wim Hollebrandse... -
Adding a ButtonColumn to a DataGrid in a Custom Control
I am trying to add a buttoncolumn to a Datagrid I am dynamicaly adding to a custom control (code below). The Datagrid outputs fine but all of the... -
Alessandro Zifiglio #2
Re: Adding layout elements within custom control
hi Paul, in case you missed my reply to this same post on the WebControls
group, here it is :
[url]http://groups.google.com/group/microsoft.public.dotnet.framework.aspnet.webcontro ls/browse_thread/thread/c9f142ee693fd3d0/9526ae015a40888f?lnk=st&q=&rnum=1&hl=en#9526ae015a 40888f[/url]
Regards,
Alessandro Zifiglio
[url]http://www.AsyncUI.net[/url]
<paul.hester@gmail.com> ha scritto nel messaggio
news:1154395988.544550.140890@b28g2000cwb.googlegr oups.com...> Hi all,
>
> I have a custom control that I use within forms that contains form
> inputs and validator controls. At the moment I'm overriding the Render
> method of my custom control and using the HtmlTextWriter object to
> render the layout elements and the Control.RenderControl method in the
> appropriate places to render the child controls in the right place.
>
> I've run into a problem where literal content (i.e. <%= SomeVariable
> %>) is not being rendered, and from what I can understand, it's because
> of the way I'm rendering the child controls.
>
> Could someone please advise me of the best way to add layout elements
> around the child controls and with the literal content intact? Do I
> need to override another method and add the extra layout elements to
> the Controls collection?
>
> Thanks,
>
> Paul
>
Alessandro Zifiglio Guest



Reply With Quote

