Last post Jan 20, 2006 12:11 AM by ScottGu
Jan 19, 2006 10:39 AM|vitopal|LINK
I have a server control inside a user control and the user control is inside a page.
My colors and fonts settings for the server control doesn't show up on my page
after I converted my project to vs2005. But they displayed perfectlly in vs2003.
If I put the server control directly to my page, the colors and fonts setting shows.
ServerControl -> UserControl -> WebPage - Doesn't Works
ServerControl -> WebPage - Works
Did I miss something, any suggestions?
Jan 20, 2006 12:11 AM|ScottGu|LINK
Can you provide a little more information about the scenario you describe above? Are the colors not showing up when you run the page? Or is it within VS 2005 that they aren't showing up?
Also -- how are the fonts and colors set? Are they done through CSS or inline styles? One possible cause might be that you were relying in the "id" name of the server control and using CSS to set the colors. ASP.NET 2.0 uses a slightly different id naming
scheme when outputting html -- so if you were relying on the id value for the CSS this might be the cause of the problem (in which case you'd want/need to update thh CSS to the new ID value)
One last question -- what server control are you using?