Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Avalon

Vista - BeginStoryBoard,StoryBoard warnings

 
 
Old 06-02-2006   #1 (permalink)
Vipin [MVP]


 
 

BeginStoryBoard,StoryBoard warnings

I get this warning(Am I off regarding something?):-
Warning 1 The element 'EventTrigger' in namespace
'http://schemas.microsoft.com/winfx/2006/xaml/presentation' has invalid
child element 'BeginStoryBoard' in namespace
'http://schemas.microsoft.com/winfx/2006/xaml/presentation'. List of
possible elements expected: 'EventTrigger.RoutedEvent, EventTrigger.Actions,
EventTrigger.EnterActions, EventTrigger.ExitActions' in namespace
'http://schemas.microsoft.com/winfx/2006/xaml/presentation'.
C:\testprojects\Animate1\Animate1\Window1.xaml 18 12 Animate1

<EventTrigger RoutedEvent="Button.Click" SourceName="BeginButton">
<StoryBoard>
....


--
Vipin Aravind
http://www.explorewindows.com




My System SpecsSystem Spec
Old 06-05-2006   #2 (permalink)
Michael Jacobs [MSFT]


 
 

Re: BeginStoryBoard,StoryBoard warnings

The example you posted should be changed to this (note the capitalization of
"Storyboard"):

<EventTrigger RoutedEvent="Button.Click" SourceName="BeginButton">
<BeginStoryboard>
<StoryBoard>


Does that fix the problem? Does the project compile?

Thanks,

Mike Jacobs [MS]


"Vipin [MVP]" <Vipin@nospam.com> wrote in message
news:uy4S2xnhGHA.4144@TK2MSFTNGP02.phx.gbl...
>I get this warning(Am I off regarding something?):-
> Warning 1 The element 'EventTrigger' in namespace
> 'http://schemas.microsoft.com/winfx/2006/xaml/presentation' has invalid
> child element 'BeginStoryBoard' in namespace
> 'http://schemas.microsoft.com/winfx/2006/xaml/presentation'. List of
> possible elements expected: 'EventTrigger.RoutedEvent,
> EventTrigger.Actions, EventTrigger.EnterActions, EventTrigger.ExitActions'
> in namespace 'http://schemas.microsoft.com/winfx/2006/xaml/presentation'.
> C:\testprojects\Animate1\Animate1\Window1.xaml 18 12 Animate1
>
> <EventTrigger RoutedEvent="Button.Click" SourceName="BeginButton">
> <StoryBoard>
> ....
>
>
> --
> Vipin Aravind
> http://www.explorewindows.com
>
>
>



My System SpecsSystem Spec
Old 06-05-2006   #3 (permalink)
Vipin [MVP]


 
 

Re: BeginStoryBoard,StoryBoard warnings

I am sorry it was a typo in my initial post. I am using it the way you
mention when I get those
warnings in vs2005. It works fine just that I see those warnings.

--
Vipin Aravind
http://www.explorewindows.com


"Michael Jacobs [MSFT]" <mijacobs@online.microsoft.com> wrote in message
news:%232hDstHiGHA.3496@TK2MSFTNGP02.phx.gbl...
> The example you posted should be changed to this (note the capitalization
> of "Storyboard"):
>
> <EventTrigger RoutedEvent="Button.Click" SourceName="BeginButton">
> <BeginStoryboard>
> <StoryBoard>
>
>
> Does that fix the problem? Does the project compile?
>
> Thanks,
>
> Mike Jacobs [MS]
>
>
> "Vipin [MVP]" <Vipin@nospam.com> wrote in message
> news:uy4S2xnhGHA.4144@TK2MSFTNGP02.phx.gbl...
>>I get this warning(Am I off regarding something?):-
>> Warning 1 The element 'EventTrigger' in namespace
>> 'http://schemas.microsoft.com/winfx/2006/xaml/presentation' has invalid
>> child element 'BeginStoryBoard' in namespace
>> 'http://schemas.microsoft.com/winfx/2006/xaml/presentation'. List of
>> possible elements expected: 'EventTrigger.RoutedEvent,
>> EventTrigger.Actions, EventTrigger.EnterActions,
>> EventTrigger.ExitActions' in namespace
>> 'http://schemas.microsoft.com/winfx/2006/xaml/presentation'.
>> C:\testprojects\Animate1\Animate1\Window1.xaml 18 12 Animate1
>>
>> <EventTrigger RoutedEvent="Button.Click" SourceName="BeginButton">
>> <StoryBoard>
>> ....
>>
>>
>> --
>> Vipin Aravind
>> http://www.explorewindows.com
>>
>>
>>

>
>



My System SpecsSystem Spec
Old 06-05-2006   #4 (permalink)
Michael Jacobs [MSFT]


 
 

Re: BeginStoryBoard,StoryBoard warnings

I also had a typo in my code; it should have been the following:

<EventTrigger RoutedEvent="Button.Click" SourceName="BeginButton">
<BeginStoryboard>
<Storyboard>


I'm not sure why you're recieving the warning message. From the animation
perspective, you're doing the right thing.

Mike Jacobs [MS]


"Vipin [MVP]" <Vipin@nospam.com> wrote in message
news:%2304i6YIiGHA.2188@TK2MSFTNGP04.phx.gbl...
>I am sorry it was a typo in my initial post. I am using it the way you
>mention when I get those
> warnings in vs2005. It works fine just that I see those warnings.
>
> --
> Vipin Aravind
> http://www.explorewindows.com
>
>
> "Michael Jacobs [MSFT]" <mijacobs@online.microsoft.com> wrote in message
> news:%232hDstHiGHA.3496@TK2MSFTNGP02.phx.gbl...
>> The example you posted should be changed to this (note the capitalization
>> of "Storyboard"):
>>
>> <EventTrigger RoutedEvent="Button.Click" SourceName="BeginButton">
>> <BeginStoryboard>
>> <StoryBoard>
>>
>>
>> Does that fix the problem? Does the project compile?
>>
>> Thanks,
>>
>> Mike Jacobs [MS]
>>
>>
>> "Vipin [MVP]" <Vipin@nospam.com> wrote in message
>> news:uy4S2xnhGHA.4144@TK2MSFTNGP02.phx.gbl...
>>>I get this warning(Am I off regarding something?):-
>>> Warning 1 The element 'EventTrigger' in namespace
>>> 'http://schemas.microsoft.com/winfx/2006/xaml/presentation' has invalid
>>> child element 'BeginStoryBoard' in namespace
>>> 'http://schemas.microsoft.com/winfx/2006/xaml/presentation'. List of
>>> possible elements expected: 'EventTrigger.RoutedEvent,
>>> EventTrigger.Actions, EventTrigger.EnterActions,
>>> EventTrigger.ExitActions' in namespace
>>> 'http://schemas.microsoft.com/winfx/2006/xaml/presentation'.
>>> C:\testprojects\Animate1\Animate1\Window1.xaml 18 12 Animate1
>>>
>>> <EventTrigger RoutedEvent="Button.Click" SourceName="BeginButton">
>>> <StoryBoard>
>>> ....
>>>
>>>
>>> --
>>> Vipin Aravind
>>> http://www.explorewindows.com
>>>
>>>
>>>

>>
>>

>
>



My System SpecsSystem Spec
Old 06-05-2006   #5 (permalink)
Vipin


 
 

Re: BeginStoryBoard,StoryBoard warnings

Actually the Visual designer in the Orcas May CTP has problems with the
below sequence also,
that is one of my other posts.
It needs an extra <BeginStoryboard.Storyboard> between <BeginStoryboard> and
<Storyboard> for the Visual designer to get through properly.


--
Vipin Aravind
http://www.explorewindows.com


"Michael Jacobs [MSFT]" <mijacobs@online.microsoft.com> wrote in message
news:O5Jt58LiGHA.4776@TK2MSFTNGP05.phx.gbl...
>I also had a typo in my code; it should have been the following:
>
> <EventTrigger RoutedEvent="Button.Click" SourceName="BeginButton">
> <BeginStoryboard>
> <Storyboard>
>
>
> I'm not sure why you're recieving the warning message. From the animation
> perspective, you're doing the right thing.
>
> Mike Jacobs [MS]
>
>
> "Vipin [MVP]" <Vipin@nospam.com> wrote in message
> news:%2304i6YIiGHA.2188@TK2MSFTNGP04.phx.gbl...
>>I am sorry it was a typo in my initial post. I am using it the way you
>>mention when I get those
>> warnings in vs2005. It works fine just that I see those warnings.
>>
>> --
>> Vipin Aravind
>> http://www.explorewindows.com
>>
>>
>> "Michael Jacobs [MSFT]" <mijacobs@online.microsoft.com> wrote in message
>> news:%232hDstHiGHA.3496@TK2MSFTNGP02.phx.gbl...
>>> The example you posted should be changed to this (note the
>>> capitalization of "Storyboard"):
>>>
>>> <EventTrigger RoutedEvent="Button.Click" SourceName="BeginButton">
>>> <BeginStoryboard>
>>> <StoryBoard>
>>>
>>>
>>> Does that fix the problem? Does the project compile?
>>>
>>> Thanks,
>>>
>>> Mike Jacobs [MS]
>>>
>>>
>>> "Vipin [MVP]" <Vipin@nospam.com> wrote in message
>>> news:uy4S2xnhGHA.4144@TK2MSFTNGP02.phx.gbl...
>>>>I get this warning(Am I off regarding something?):-
>>>> Warning 1 The element 'EventTrigger' in namespace
>>>> 'http://schemas.microsoft.com/winfx/2006/xaml/presentation' has invalid
>>>> child element 'BeginStoryBoard' in namespace
>>>> 'http://schemas.microsoft.com/winfx/2006/xaml/presentation'. List of
>>>> possible elements expected: 'EventTrigger.RoutedEvent,
>>>> EventTrigger.Actions, EventTrigger.EnterActions,
>>>> EventTrigger.ExitActions' in namespace
>>>> 'http://schemas.microsoft.com/winfx/2006/xaml/presentation'.
>>>> C:\testprojects\Animate1\Animate1\Window1.xaml 18 12 Animate1
>>>>
>>>> <EventTrigger RoutedEvent="Button.Click" SourceName="BeginButton">
>>>> <StoryBoard>
>>>> ....
>>>>
>>>>
>>>> --
>>>> Vipin Aravind
>>>> http://www.explorewindows.com
>>>>
>>>>
>>>>
>>>
>>>

>>
>>

>
>



My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
Warnings Vista performance & maintenance
can't play the storyboard all of a sudden Vista music pictures video
Storyboard won't play Vista music pictures video
frozen playback on storyboard Vista music pictures video
Problems with Playing Storyboard Vista music pictures video


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46