home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 2
Plugin Development
Calling a method within the Model once the Screen has completed loading
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Valk" data-source="post: 978496" data-attributes="member: 18631"><p>Sorry I haven't pushed the latest version yet (I'll do it shortly).</p><p> </p><p>All I'm trying to do is call DetectLocation() when someone enters the weather.xaml screen.</p><p> </p><p>I looked over triggers but didn't find EventTrigger. That would do all I need looking at your example (I didn't read master_menu.xaml).</p><p> </p><p>That said I'm pretty sure I know why the menu is expanded after that code snippet you posted. I call Activate before</p><p> </p><p>WorkflowManagerMessaging.SendNavigationCompleteMessage();</p><p>is called so the Event Trigger won't have happened yet. So I guess is that a good behaviour? The first quick solution I came up with was to call DetectLocation() Aysnc but I may even change it to an EventTrigger.</p></blockquote><p></p>
[QUOTE="Valk, post: 978496, member: 18631"] Sorry I haven't pushed the latest version yet (I'll do it shortly). All I'm trying to do is call DetectLocation() when someone enters the weather.xaml screen. I looked over triggers but didn't find EventTrigger. That would do all I need looking at your example (I didn't read master_menu.xaml). That said I'm pretty sure I know why the menu is expanded after that code snippet you posted. I call Activate before WorkflowManagerMessaging.SendNavigationCompleteMessage(); is called so the Event Trigger won't have happened yet. So I guess is that a good behaviour? The first quick solution I came up with was to call DetectLocation() Aysnc but I may even change it to an EventTrigger. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Plugin Development
Calling a method within the Model once the Screen has completed loading
Contact us
RSS
Top
Bottom