RE: Custom Control Embedded CSS
- From: wawang@xxxxxxxxxxxxxxxxxxxx ("Walter Wang [MSFT]")
- Date: Mon, 06 Aug 2007 09:11:44 GMT
Hi Chuck,
It seems we will have to use a custom control designer to make the
style*** work at design-time, and we must use inline style instead:
public override string GetDesignTimeHtml()
{
return "<style> .highlight {background-color: yellow} </style>"
+ base.GetDesignTimeHtml();
}
This is not very elegant but so far this seems the only way to make the
style*** works at design-time.
Regards,
Walter Wang (wawang@xxxxxxxxxxxxxxxxxxxx, remove 'online.')
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
.
- References:
- RE: Custom Control Embedded CSS
- From: "Walter Wang [MSFT]"
- RE: Custom Control Embedded CSS
- From: "Walter Wang [MSFT]"
- RE: Custom Control Embedded CSS
- Prev by Date: Marlboro....cigarettes for $11.99. Delivery to USA & EUROPE.....hDohCr9BHBGo
- Next by Date: RE: Custom Control Embedded CSS
- Previous by thread: RE: Custom Control Embedded CSS
- Next by thread: RE: Custom Control Embedded CSS
- Index(es):