Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net Web Controls (http://www.velocityreviews.com/forums/f63-asp-net-web-controls.html)
-   -   styles in custom controls (http://www.velocityreviews.com/forums/t774992-styles-in-custom-controls.html)

Mariusz 12-10-2004 09:47 AM

styles in custom controls
 
Hi,

I'm creating custom control that has different items inside of it. I would
like to be able to set styles of all the element types bu honestly I just
don't know how to do this. I would like to be able to open styles editor -
select some styles and then apply them to my item. Any idea how to do this?

--
Mariusz



Ashish Kaila 12-19-2004 01:16 AM

Re: styles in custom controls
 
Most flexible way is to use CSS classes and CSS style sheets. For more info
look at the sourcecode of my example at:
http://codeproject.com/aspnet/aspnetoutlooktoolbar.asp
HTH
Ashish

"Mariusz" <maya@post.pl> wrote in message
news:41b970c4$1@news.home.net.pl...
> Hi,
>
> I'm creating custom control that has different items inside of it. I would
> like to be able to set styles of all the element types bu honestly I just
> don't know how to do this. I would like to be able to open styles editor -
> select some styles and then apply them to my item. Any idea how to do

this?
>
> --
> Mariusz
>
>





All times are GMT. The time now is 05:14 PM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.