Hi,
I'm using ASP.NET 20082 and I can't seem to change any of the style properties of the WebCalendarView. For example, if I try to change the background color of the Footer, everything looks fine in design view, but as soon as I open the page, everything goes back to the defaults.
Any Ideas???
Randy,
That sounds strange indeed. How are you setting the style information? Are you going through CSS classes, or are you using the Style properties? Either way, it may be helpful to use IE Developer Toolbar or Firefox's Firebug to check the CSS styles being applied to a particular element.
I've also had trouble with pages being cached in the past. This is especially true if for some reason the page no longer compiles, and you're doing a "view in browser". Sometimes you'll get a stale copy of the page. Though this is a rare occurence, when it happens it can make you pull your hair out trying to figure out what's going wrong. If you kill the webserver process (aspnet_wp for IIS and webdev.webserver otherwise) it will get rid of the cache.
-Tony
Tony,
I agree it seems really stranges. Here's a couple of things that happen.
I am trying to apply styles using themes and .skin files. If I add a WARP control to a simple aspx page, and place a WebCalendarView, a WebScheduleInfo, and a client provider, and a button inside of it, this is what happens. (I have already created a .skin file and placed it into the appropriate theme folder and everythings wired up). On the initial request, the WebCalendarView looks like the default with no properties set. As soon as you click the button causing and async post-back, the WebCalendarView is refreshed and this time the .skin file is applied, so, a simple async post-back causes the control to change visually.
Also, if you change any of the style properties in the designer, the style will change in the design mode, but as soon as you run the page, it looks just like the default with no properties set.
I have tried this on both Vista, and Server 2003 with the same result.
So far, this has all been with StyleSheetFileName set to blank. If you set the StyleSheetFileName, then things seem to work except that the skin settings are no longer applied. (I've discovered this since my first post.) In no instance have I been able to change any style settings in the designer and get them to stick.