darren's Blurty Day [entries|friends|calendar]
darren

[ userinfo | blurty userinfo ]
[ calendar | blurty calendar ]

Doh! [20 Jun 2009|10:44am]
[ mood | okay ]

I wish this page on ClientScriptManager.RegisterClientScriptResource() instead of saying towards the end "The following code example demonstrates how to programmatically apply the WebResourceAttribute metadata attribute" instead said something like "In order for ClientScriptManager.RegisterClientScript() to work you *must* apply the WebResourceAttribute attribute to your assembly." 'cos that's what delayed me an hour in finishing custom control yesterday afternoon. Doh! I'll add some feedback.

What's more annoying is that as caught me out before ... so I should have remembered the attribute was necessary. Hopefully by blogging this it'll stick in my memory for next time. Hopefully.

post comment

navigation
[ viewing | June 20th, 2009 ]
[ go | previous day|next day ]