|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
themes ImagesI am successfully using images as background images in table cells to display
a graphical border. This all works well and (as expected) I was wondering if there is a way using themes to also allow images to be replaced based on the theme. I know this could be done server-side but it must surely be able to be done using themes instead. Any Ideas? Try perhaps :
http://quickstarts.asp.net/QuickStartv20/aspnet/doc/themes/fileformat.aspx#images It's likely it could work the same by using a skinid for your asp:table tag (not sure all properties are skinable though ?) -- Patrice "Geoff" <Ge***@discussions.microsoft.com> a écrit dans le message de news: 054478D2-7CEA-43E2-9166-D9D701581***@microsoft.com...Show quoteHide quote >I am successfully using images as background images in table cells to >display > a graphical border. > > This all works well and (as expected) I was wondering if there is a way > using themes to also allow images to be replaced based on the theme. I > know > this could be done server-side but it must surely be able to be done using > themes instead. > > Any Ideas? Thanks Patrice.
I think you are right this should work better than just dynamically repointing server side as it will allow control to more than just the Image. However, I will add it to this of things to look into when I am finished as I have just completed and tested the server side approach. Show quoteHide quote "Patrice" wrote: > Try perhaps : > http://quickstarts.asp.net/QuickStartv20/aspnet/doc/themes/fileformat.aspx#images > > It's likely it could work the same by using a skinid for your asp:table tag > (not sure all properties are skinable though ?) > > -- > Patrice > > "Geoff" <Ge***@discussions.microsoft.com> a écrit dans le message de news: > 054478D2-7CEA-43E2-9166-D9D701581***@microsoft.com... > >I am successfully using images as background images in table cells to > >display > > a graphical border. > > > > This all works well and (as expected) I was wondering if there is a way > > using themes to also allow images to be replaced based on the theme. I > > know > > this could be done server-side but it must surely be able to be done using > > themes instead. > > > > Any Ideas? > > > Done - at last!
It has just taken me the best part of 8 hours to do a small site (10 aspx, 14 ascx with 120 skin entries). I can honestly say it was worth the effort. I had an idea of how it should work, but working thorough an entire site showed me ways that I could change my website design to get the most out of them. I am now ready to create a style/image editor for my application that will allow customers to create their own themes. Whilst I could go further by allowing customers to upload their own modified ascx and aspx files and make it completely customiseable. I feel very few people would actually be able to do a good enough job that is probably best I just allow them to play round with styles and images. Show quoteHide quote "Geoff" wrote: > Thanks Patrice. > > I think you are right this should work better than just dynamically > repointing server side as it will allow control to more than just the Image. > However, I will add it to this of things to look into when I am finished as I > have just completed and tested the server side approach. > > "Patrice" wrote: > > > Try perhaps : > > http://quickstarts.asp.net/QuickStartv20/aspnet/doc/themes/fileformat.aspx#images > > > > It's likely it could work the same by using a skinid for your asp:table tag > > (not sure all properties are skinable though ?) > > > > -- > > Patrice > > > > "Geoff" <Ge***@discussions.microsoft.com> a écrit dans le message de news: > > 054478D2-7CEA-43E2-9166-D9D701581***@microsoft.com... > > >I am successfully using images as background images in table cells to > > >display > > > a graphical border. > > > > > > This all works well and (as expected) I was wondering if there is a way > > > using themes to also allow images to be replaced based on the theme. I > > > know > > > this could be done server-side but it must surely be able to be done using > > > themes instead. > > > > > > Any Ideas? > > > > > >
WebParts without SharePoint
ReportViewer Causing Major Problems ERROR: The state information is invalid for this page and might be corrupted Problem accessing controls Properties do not reliably persist using CompositeControl file upload and download Formfields in Repeaters - validation and save into DB SiteMap resolve question Any way to set attributes for server controls by referencing properties/methods/variables? Enter text in at least one textbox |
|||||||||||||||||||||||