Derek Dysart
Derek Dysart

Sitecore

Get Rendered HTML From Sitecore Item

I thought I’d cross post this answer of mine from StackOverflow, as it is useful in a number of contexts. As I mentioned there, the code was cribbed from a similar situation where I needed a URL to feed to a PDF to HTML library, which behind the scenes fired up IE on the server and hit the site as an anonymous user. This needed to [...]

Derek DysartDerek Dysart

Styling ASP.NET Validation Controls

If you are using the intrinsic ASP.NET Validation controls on a Web Forms project, you’ll notice they always default to being red. While this is all fine and good since red for warnings makes sense. What if you (or your design team) want them to be a different color? If you look at the rendereded HTML, you’ll see it makes the text red by [...]

Derek DysartDerek Dysart