Re: Using Custom Web Controls inside Web Part

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Gary A. Bushey [MVP] (bushey_at_mindspring.com.REMOVETOSEND)
Date: 10/27/04


Date: Wed, 27 Oct 2004 07:08:13 -0400

This article may help:
http://www.microsoft.com/belux/nl/msdn/community/columns/tisseghem/webparts2.mspx

Also, there is a wonderful tool called something like smartparts that is
available somewhere on www.gotdotnet.com

-- 
Gary A. Bushey
SPS MVP
bushey@mindspring.com
"Yasir Attiq Butt" <yasir.attiq@eworxintl.com> wrote in message 
news:OHwU8x%23uEHA.1292@TK2MSFTNGP10.phx.gbl...
> Hi
>
> I am currently working on Web part Development.  But my Client Liaison 
> asked me to created Custom Controls instead of Web Parts so that these 
> controls can be used as simple Web Controls on Any Web Page.  (Out of Team 
> Services). and also inserted into into Web parts to be used on Team sites.
>
> Now i have a Web Custom Control which has a Label in it and it is Rendered 
> by using render method.  I want to render this Web Custom Control in my 
> Web part Render web part method.  or simple i want to use this web custom 
> control in my web part.  i had tried to do this my self but it gives me 
> error that the web part is not working propertly.
> Please Tell me any Solution towards this.
>
> thanks
> Yasir Attiq Butt
> 


Relevant Pages

  • Literal control rendering empty
    ... I have a custom control with an overridden Render method. ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • Literal control rendering empty
    ... I have a custom control with an overridden Render method. ...
    (microsoft.public.dotnet.general)
  • Literal control rendering empty
    ... I have a custom control with an overridden Render method. ...
    (microsoft.public.dotnet.framework.aspnet.buildingcontrols)
  • Drawing multiple custom controls in a metafile canvas.
    ... Consider FooBar, a custom control. ... Now consider a form with two FooBar custom controls. ... I've inherited some code that uses a MetafileCanvas to render a _single_ ... I would like to draw (into the metafile canvas) _two_ FooBars, ...
    (comp.lang.pascal.delphi.misc)
  • Re: Viewstate Issue?
    ... > I've build a custom control that's essentially a header for my web site. ... Within the render ... > 'refreshes' in the design view, ...
    (microsoft.public.dotnet.framework.aspnet.buildingcontrols)