Skip to main content

Microsoft Silverlight

Unanswered Question Text Blocks throw up errorsRSS Feed

(0)

vaishalim
vaishalim

Member

Member

0 points

6 Posts

Text Blocks throw up errors

 

1)    A lot of times while animating Text Blocks, Blend throws throws up an error like “Invalid XAML” which is really difficult to debug. Does anybody know the cause and the solution?

 

codebased
codebased

Participant

Participant

806 points

360 Posts

Re: Text Blocks throw up errors

check if you have attached any event handler that has not been declared. also check the name of the controls are not duplicating...

"If I've answered your query then please mark it as "Answered".

SteveWong
SteveWong

Contributor

Contributor

6343 points

1,281 Posts

Re: Re: Text Blocks throw up errors

Maybe you can post it here. So that we can help you.

Maybe some namespace are not declared well, too.

There are so many reason to cause such a problem.

Regards,
SteveWong (HongKong)
Please mark post as answer if they help you

Client App Dev

SmallWhiteBear
SmallWhi...

Member

Member

95 points

26 Posts

Re: Text Blocks throw up errors

Dear vaishalim

You can try to view and modify the Xaml code in Visual Studio 2008.
It can provide another Xaml viewer to help you debug.
By the way, in my past experience,
some attributes which supported by Visual Studio 2008 do'nt get support in Blend 2.5.
You may take care of it.

  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities