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

What is new with Q3 2008 release?

10 Answers 90 Views
Navigation
This is a migrated thread and some comments may be shown as answers.
Eric Schoenholzer
Top achievements
Rank 2
Eric Schoenholzer asked on 07 Nov 2008, 04:55 PM

My application has stopped working. 

I get an error like "Transition Target property have to be Panel object. Please set Transition Target to Panel !" or "Object reference not set to an instance of an object" when I use now "service.Navigate("Page");"

The problem is, that there no information what has changed between this and the last release.

The help has no pratical information, the examples reference the Telerik Site without source code.

 

Any information or examples available? It seems Telerik was in hurry to push the Q3 release.

 

Thanks

Eric

10 Answers, 1 is accepted

Sort by
0
Valentin.Stoychev
Telerik team
answered on 10 Nov 2008, 05:13 PM
Hello EricSch,

Thank you for pointing this out. We will update the online samples to provide a downloads for them.

As of Q3 release the target of the page transition should inherit from Panel. Is suppose that in your application you are setting as a RootVisial a UserControl, or a RadPage. Now the recommended way is to set a RadFrameContainer element as a RootVisual and to load the start page directly in the frame container. See the following code:

 private void Application_Startup(object sender, StartupEventArgs e)  
        {  
 
            this.RootVisual = new RadFrameContainer();  
            NavigationService service = NavigationService.GetNavigationService(this.RootVisual);  
          
            service.Navigate(new LandingPage());  
        } 

Please let us know if this is the problem in your scenario.

Best Regards,
Valentin.Stoychev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Eric Schoenholzer
Top achievements
Rank 2
answered on 10 Nov 2008, 10:09 PM
Thanks Valentin,

Then I souldn't use anymore a RadPage (inside a RadFrameContainer) ?
What type has the "LandingPage"?

And why the syntax 'service.Navigate("LandingPage");'  doesn't work anymore?
Needs the "LandingPage" to be preloaded or available in the history?

Thanks
Eric
0
Eric Schoenholzer
Top achievements
Rank 2
answered on 11 Nov 2008, 12:06 AM
>> The problem is, that there no information what has changed between this and the last release.

I found the relase notes here:
http://www.telerik.com/products/silverlight/whats-new/release-history/q3-2008-version-number-2008-03-1105.aspx

But the link in the download section shows to the wrong place:
http://www.telerik.com/ReleaseHistory.aspx?Id=571

Thanks
Eric
0
Valentin.Stoychev
Telerik team
answered on 11 Nov 2008, 04:08 PM
Hi Eric,

thank you for the reported "broken" links - we will update the site.

LandingPage is just the name of the page that I used as an example. It can be any Control that inherits from RadPage.

>> And why the syntax 'service.Navigate("LandingPage");'  doesn't work anymore?

It should work. Do you have a sample where this is not working? Basically the service will try to find a class with that name "LandingPage" inside the current assembly and will try to instantiate it. If this is not working then maybe the name of the class is wrong?

All the best,
Valentin.Stoychev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Eric Schoenholzer
Top achievements
Rank 2
answered on 11 Nov 2008, 11:07 PM
Hi Valentin,

>>It should work. Do you have a sample where this is not working?

I have changed it to 
service.Navigate(new ClassName()); 
and its working now.

>>Basically the service will try to find a class with that name "LandingPage" inside the current assembly and will try to instantiate it.
>>If this is not working then maybe the name of the class is wrong?

The same code has worked before the Q3 Release. I will try to submit a support request with the sample code.

Thanks
Eric
0
Valentin.Stoychev
Telerik team
answered on 12 Nov 2008, 09:30 AM
Hello EricSch,

Thanks for the project - we will research the problem and will let you know!

Best wishes,
Valentin.Stoychev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Eric Schoenholzer
Top achievements
Rank 2
answered on 14 Nov 2008, 12:59 AM
Is there now somewhere a link for downloading the sample code?

Thanks
Eric
0
Serrin
Top achievements
Rank 1
answered on 14 Nov 2008, 09:42 PM
Yeah, any sample code would be great, I click the link on the Navigation demo but it brings me to the Telerik.com homepage, and all the examples in the download point right to that demo. :D
0
Danny Joe
Top achievements
Rank 1
answered on 17 Nov 2008, 11:49 PM
The download link on the page navigation demo is still broken. It goes to the home page and not the source for the demo. So there is currently no example for page navigation and docs have no API reference, making it very difficult to know how to set properties and work with the control.
0
Nikolay
Telerik team
answered on 20 Nov 2008, 04:31 PM
Hi Danny Joe,

We will upload the source code of the example under the client.net accounts shortly. Thus, you will be able to download the code from your account.

All the best,
Nick
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Navigation
Asked by
Eric Schoenholzer
Top achievements
Rank 2
Answers by
Valentin.Stoychev
Telerik team
Eric Schoenholzer
Top achievements
Rank 2
Serrin
Top achievements
Rank 1
Danny Joe
Top achievements
Rank 1
Nikolay
Telerik team
Share this question
or