Silverlight AG_E_PARSER_PROPERTY_NOT_FOUND

Neat feature of the Silverlight XAML parsing: when you add an attribute that is not supported, the runtime will tell you right away with a big gnarly error, rather than failing silently. In my case, playing around with how to add a border to the entire Silverlight canvas, I naively added:

Border="1"

But got the following runtime error:

Silverlight AG_E_PARSER_PROPERTY_NOT_FOUND

The only unfortunate thing, but not unexpected, is that you can apparently trap these parser errors in the Page_Loaded() event.

Advertisements

1 Response to “Silverlight AG_E_PARSER_PROPERTY_NOT_FOUND”


  1. 1 SRIDHAR January 23, 2008 at 3:00 am

    Thanks buddy. that solved my problem.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s





%d bloggers like this: