CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 6/27/2005 8:10:50 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 0 Views: 28 Favorited: 0 Favorite
1 Items, 1 Pages 1 |< << Go >> >|
c_kimbell
Asp.Net User
Applying a theme to a custom created WebPart in ASP.NET 2.06/27/2005 8:10:50 AM

0

I have started to experiment with ASP.NET 2.0 and web parts. I have created a webpart that includes a standard ASP Calendar control. This control is added through code inside the webpart. I am now trying to apply a theme to this calendar that is inside my webpart.

This is what I have done:
1. On the webpart I have exposed the Calendar as a property with the name FromCalendar.
2. I have added the following to the .skin file

<%@ Register Assembly="IMK.WebParts" Namespace="IMK.WebParts" TagPrefix="IMK" %>

<IMK:IMKDateWebPart runat="server">
   <FromCalendar BackColor="#FFFFCC">
     <SelectedDayStyle BackColor="#CCCCFF" Font-Bold="True" />
     <TitleStyle BackColor="#990000" Font-Bold="True" Font-Size="9pt" ForeColor="#FFFFCC" />
   </FromCalendar>
</IMK:IMKDateWebPart>

I can apply a theme to a Calendar Control that is added to the page outside a webpart, but not inside it.

Any suggestions?

1 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Asp.Net 2.0 Web Parts In Action Authors: Darren Neimke, Andres Sanabria, Pages: 344, Published: 2006
ASP.NET 2.0 web parts in action: building dynamic web portals Authors: Darren Neimke, Pages: 324, Published: 2006
ASP.NET 2.0 All-In-One Desk Reference For Dummies Authors: Doug Lowe, Jeff Cogswell, Ken Cox, Pages: 910, Published: 2006
Professional Web parts and custom controls with ASP.NET 2.0 Authors: Peter Vogel, Pages: 449, Published: 2005
C# 2005 Programming: Covers.Net 3.0 & 2.0, Black Book(With Cd) Authors: Matt Telles & Kogent Solution, Pages: 1520, Published: 2007

Web:
Profiles, Themes, and Web Parts : The Official Microsoft ASP.NET Site ASP.NET 2.0 themes significantly improve upon CSS because they give the ASP. .... So far, we've talked only about applying themes using the Theme property. .... For maximum programmatic control, you can create custom Web Parts controls ...
Custom WebParts and Themes (PageTheme) - ASP.NET Forums It would be fairly simple to create your own property parsing service, ... You can apply theme or stylesheet to the custom controls or their nested child .... TechNet Edge: Using Windows PowerShell 2.0 - Windows 7 Demo Screencast 3 of 5 ...
Personalize Your Portal with User Controls and Custom Web Parts ASP.NET 2.0 introduces a Web Part control that is designed to deal with the ... When you create a custom Web Part that supports customization and ... you simply add properties to your Web Part class and apply a few special attributes. ...
Theming custom created WebParts in ASP.NET 2.0 For the applying theme for custom created catalog's webpart, I'm not sure whether this is ok. As far as I know, since the ASP.NET2.0 runtime ...
ASP.NET QuickStart Tutorial NET 2.0 to retrieve the custom structure you have defined for your site. ... Web Part Controls. Web parts are an exciting new family of controls that enable ... location called a "theme", and apply that style information globally to ... NET 2.0 you can easily create customized experiences within Web applications. ...

CodeVerge.Net Programming Forums Work with Excel files, create charts, try out some web parts plus more in this week's ... Implementing a Theme-based Stylesheet Parameterizer How to implement one ... Implement a Win Forms Slider Control in ASP.NET 2.0 This article ... The following article demonstrates how to create an event with custom event ...












want to use base classes for code behing inheritance / shared logic

using themes - how to.

treeview help!!

master page page_load called three times

linkedstylesheets missing from ipageheader in beta 2.

how to dynamically change master page

body tag runat=server doesn't work on master page

findcontrol in a nested masterpage

homepage without master page but the other pages have

sitemapnode with custom attrbiutes (sqlsitemapprovider)

setting the menu state in a master page using an unordered list

unchecking nodes from treeview_click event

createuserwizard contenttemplate

adding a contentplaceholder to the master page header

problem with master page

stop treeview posting back

swap out elements from a master page

navigation with an access site-map provider

site mapping and multiple windows

menuitem and window.open

can't get all the menu to show up using sqlsitemapprovider

treeview problem when using ie7

password is right, but can't log in

contentplaceholder in <head> section of master page

menu style problem

use user.isinrole in masterpage

how to set up optional css file

master page css - table in formview not displaying style

is it possible to create a user control that has a contentplaceholder?

menu navigation control bug?

 
Search This Site:

 
  Privacy | Contact Us
All Times Are GMT