CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
web_forms
getting_started
data_presentation_controls
dotnetnuke
data_access-sql_server_sql_server_express_and_sqldatasource_control
security
client_side_web_development
novell-support-groupwise-6x-clients
data_access-data_access_and_objectdatasource_control
asp-net_ajax-asp-net_ajax_control_toolkit
novell-support-netware-6x-install-upgrade
asp-net_ajax-asp-net_ajax_discussion_and_suggestions
novell-support-netware-6x-administration-tools
master_pages_themes_and_navigation_controls
configuration_and_deployment
novell-support-netware-client-winnt-2x-xp
novell-support-groupwise-7x-clients
asp-net_ajax-asp-net_ajax_ui
novell-support-edirectory-netware
community-free_for_all
visual_studio_2005
novell-support-groupwise-6x-install-setup
data_access-xml_and_xmldatasource_control
control-cancel
novell-support-iprint
advanced_asp-net-crystal_reports
data_access-xml_web_services
microsoft-public-access
novell-community-chat
state_management
novell-support-netware-6x-abends-hangs
dotnetnuke-getting_started
novell-support-groupwise-6x-gwia
-net_languages-c
novell-support-identity-manager-engine-drivers
novell-support-groupwise-discontinued
advanced_asp-net-architecture
opensuse-org-suse-linux-support-install-configure-administration
dotnetnuke-custom_modules
novell-support-groupwise-7x-install-setup-admin
novell-support-netware-6x-storage-media
novell-support-groupwise-6x-agents
installation_and_setup
data_access-access_databases_and_accessdatasource_control
windows-hosting_open_forum
visual_web_developer_2005_express
novell-support-groupwise-6x-web-access
novell-support-netware-6x-server-backup
macromedia-dreamweaver
novell-support-netware-5x-administration-tools
novell-support-ifolder
novell-support-bordermanager-install-setup
novell-support-imanager
microsoft-public-dotnet-framework-aspnet
novell-support-netware-5x-install-upgrade
novell-support-cluster-services
novell-support-bordermanager-proxies
novell-support-newsflash
advanced_asp-net-sql_server_reporting_services
microsoft-public-dotnet-languages-csharp
web_parts_and_personalization
about_this_site-feedback_on_this_website
ibm-software-websphere-portal-server
novell-support-netware-dns-dhcp
novell-support-zenworks-desktops-4x-app-launcher
-net_languages-visual_basic_-net
advanced_asp-net-custom_server_controls
novell-support-bordermanager-vpn
novell-support-ndps-neps
microsoft-public-sqlserver-programming
novell-support-netware-webserver
community-jobs
novell-support-netware-4x
advanced_asp-net-mobile_and_handheld_devices
internet_explorer_web_controls
novell-support-zenworks-desktops-4x-install-setup
novell-support-edirectory-linux
novell-support-groupwise-7x-gwia
development_tools-web_matrix_general_discussions
microsoft-public-access-formscoding
macromedia-flash
community-announcements
portal_starter_kit
novell-support-zenworks-desktops-4x-management-agent
novell-support-zenworks-patch-management
novell-support-native-file-access
microsoft-public-access-queries
microsoft-public-access-forms
novell-support-groupwise-7x-web-access
novell-support-netware-small-business-6x
data_access-active_directory_and_ldap
novell-support-edirectory-windows
novell-support-groupwise-7x-agents
novell-support-ichain
data_access-oracle
novell-support-zenworks-desktop-management-6x-imaging
novell-support-groupwise-7x-wireless
novell-support-netware-5x-abends-hangs
advanced_asp-net-localization
novell-support-zenworks-desktop-management-7x-imaging-server-nw-win




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: Date Entered: 8/13/2004 4:41:37 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 2 Views: 57 Favorited: 0 Favorite
3 Items, 1 Pages 1 |< << Go >> >|
"vintious" <>
NewsGroup User
Theming TableHeaderRow inside Table8/13/2004 4:41:37 PM

0

One feature the Table server control lacks is being able to set style properties for Header rows and normal Rows from within the <asp:Table /> server tag. (e.g. <asp:Table id="tbl" HeaderStyle-BackColor="#FF0000" runat="Server" />)

So instead, I tried this inside my .skin file:

<asp:Table CellPadding="3" CellSpacing="-1" Runat="Server">
<asp:TableHeaderRow BackColor="#606060" ForeColor="#FFFFFF" Runat="server" />
</asp:Table>


When I set the page's THEME to my new Theme, any asp:Table would basically render exactly how it appears above. It thought I was defining a template (so all that would render was a <table> tag with a <tr> inside).

So then I tried setting it to a StyleSheetTheme. Neither the Table nor it's TableHeaderRow's would get any styling. I removed the <asp:TableHeaderRow> from the .skin file and it worked fine.

The only other option is to have to separte things in the .skin file:

<asp:Table CellPadding="3" Runat="Server" />
<asp:TableHeaderRow BackColor="#606060" Runat="Server" />


But what happens if you want different SkinID's for Table's? Does SkinID cascade down through it's children, or would I have to explicitly set a SkinID for the Table and TableHeaderRows?

Thanks.
"Fredrik N" <>
NewsGroup User
Re: Theming TableHeaderRow inside Table8/13/2004 5:25:37 PM

0

The TabelHeaderRow is a control and of that reason you have to set a SkinID if you want to use different style for different TableHeaderRow.

The SkinID of a Table will not affect the style of the TabelHeaderRow.
/Fredrik Norm?n NSQUARED2
Microsoft MVP, MCSD, MCAD, MCT

Cornerstone

My Blog, ASP.Net 2.0 etc
"vintious" <>
NewsGroup User
Re: Theming TableHeaderRow inside Table8/13/2004 8:20:15 PM

0

I've submitted a suggestion to add HeaderStyle and BodyStyle attributes to the WebControl Table.
3 Items, 1 Pages 1 |< << Go >> >|


Free Download:













how to modify treeview

menu and submenus

htm map to placeholder

finding a treenode with getelementbyid

display image while page is loading

dynamically change selectedvalue for menu control

css frindly adapters - how to apply skin?

has anyone solved the font color bug with the menu control?

asp:menu help

multiple sitemap file issue

simple slide panel

tree view works through vwd but not via local host or from a remote browser.

heme 'xxx' cannot be found in the application or global theme directories. iis

can't change control in master page

problem with css friendly menu's submenu

empty leading item in menu

treeview with adobe reader in iframe

problems with "renaming" contentplaceholder control

load xmlsitemap from stream?

menu control and javascript on safari browser

preserving form control selections when navigating from and back to page

accessing a control that is in the template

treeview control

change site map provider at runtime

skip navigation links - where did it come from?

themes don't show correctly in designer

local directories in treeview

trapping sitemap events

new to themes, best way to accomplish multi site app

is it possible to have multiple master content on one page ?

registerhiddenfield within master page

css file?

how to apply templates in asp.net

how to get selected node of tree view when context menu item is clicked

how to display treeview without its rootnode

sitemapprovider

theme is not working because of location tag

define a parameter in a data source to a control from master page?

referencing code-behind object

detect which node in a treeview is beeing clicked

menu items with user controls on one web page

how can generate dynamic master page.

datetimepicker.js in contentplace holder

master page with menus

content page accessing master page controls?

navigation url problem?

issue with master page and css

how to change dynamically a sitemapnode of web.sitemap?

tab control

changing the navigateurl of a bound menuitem

 
Search This Site:

 
  Privacy | Contact Us
All Times Are GMT