This is a migrated thread and some comments may be shown as answers.

how to pass values between navigation pages and busy dialog?

3 Answers 137 Views
Navigation
This is a migrated thread and some comments may be shown as answers.
bborie0107
Top achievements
Rank 1
bborie0107 asked on 23 Oct 2009, 08:20 AM
Hi

First Question :
I'd like to pass some parameters between navigation pages ,  for example , I have tow pages named page1 and page2.
In page1 , there is on datagrid control, when end user click datagrid row , i'd like to navigate to page2
with  values from datagrid. And I'd like to show detail data on page2 with using values passed from page1. 

Second Question : 
I'd like to use same transition as telerik demo site. And I downloaded sample project on a forum's post. It works fine. thanks you :)  
But In real project there will be a lot of controls in one page. maybe four or five controls on one page. And I think it takes a long time 
to render pages. So I'd like to show busy dialog to end users as same as telerik demo site 
How can i do that? 

Thanks in advance. 

Regards, 

Park     

3 Answers, 1 is accepted

Sort by
0
Kaloyan
Telerik team
answered on 26 Oct 2009, 11:24 AM
Hi Park,

Thank you for your interest in Telerik controls.

The navigation pattern in Silverlight is different than the one found in a "normal" website. In Silverlight when navigating through pages you don't need to pass parameters because the application is _not_ stateless, which means that you can use the Application object to store any parameters and read them any time. Attached you can find the LoadingSpin animation requested by you.

All the best,
Kaloyan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
bborie0107
Top achievements
Rank 1
answered on 27 Oct 2009, 01:56 AM
Hi

Thanks you for your reply and sample files.
I have further questions about navigation service. I see how i can store parameter values in silverlight application.
i am going to use rad navigation service in my application. but i read a post recommending use silverlight 3 navigation
service instead of radcontrol navigation service. Is it true radControl stop developing any radnavigation control any more?
And I don't know how I can apply LoadingSpin in navigation page. in Navigation service I don't get any event
when radpage is rendered completely on end user's application So i don't get where i should write codes setting IsActive property of
LoadingSpin to show and hide busy dialog. 

Thanks in advance

Regards ,
Park
0
Bobi
Telerik team
answered on 29 Oct 2009, 12:35 PM
Hi bborie0107,

The current Telerik Navigation framework is supported due to backward compatiblity with our previous releases when there was no Navigation framework in the Silverlight runtime.
If you are building a new project - it will be better to use the Silverlight framework from Microsoft.

More information about how to apply custom animation to RadNavigation you can find here:
http://www.telerik.com/support/kb/silverlight/navigation/how-to-implement-custom-transition-using-iframe.aspx

Another approach could be to to use Navigating event which fires when navigating from one page to another or the Loaded event of RadPage.

I hope that this will help you.


Greetings,
Boryana
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Navigation
Asked by
bborie0107
Top achievements
Rank 1
Answers by
Kaloyan
Telerik team
bborie0107
Top achievements
Rank 1
Bobi
Telerik team
Share this question
or