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

GoBack()

3 Answers 93 Views
Navigation
This is a migrated thread and some comments may be shown as answers.
NS
Top achievements
Rank 1
NS asked on 07 Oct 2008, 09:45 AM
Hi,
I'm trying to implement the PageNavigation control. (replacing my own page navigation system using storyboards).

The moment before I call service.GoBack(), I can see that service.FrameHistory contains two items. (myproject.page1, myproject.page2). I reference service by using (RadFrameContainer)this.Parent and then finding the service on the parent page of RadFrameContainer. This is not null so I think this works.

However calling service.GoBack() doesn't navigate to page1. (break points on page1 do not get called)

If I debug I can see that after calling service.GoBack() service.FrameHistory contains one item. Am I missing something to load the page in history ?

Thanks,
Nicolas

3 Answers, 1 is accepted

Sort by
0
NS
Top achievements
Rank 1
answered on 07 Oct 2008, 11:42 AM
Never mind, I found the problem.
I must trigger the Loaded event of my RadPage and do there the databinding.

Works like a charm :) great control !
0
NS
Top achievements
Rank 1
answered on 07 Oct 2008, 12:15 PM
I have found another problem :)
In my first RadPage I have a radcombobox. I trigger the KeyUp event in the Loaded event of this RadPage.
The first time when I eg hit enter in my radcombobox something happens.

If I however call GoBack() on the second RadPage to go back to my first RadPage, (the one containing the KeyUp event) the radcombobox' KeyUp is not triggered anymore.

Regards,
Nicolas
0
Bobi
Telerik team
answered on 07 Oct 2008, 04:21 PM
Hi NS,

Thank you for reporting this bug. We have started researching the problem and we will fix it as soon as possible.

Your Telerik points have been updated as per our EAP Program.

Sincerely yours,
Boryana

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Navigation
Asked by
NS
Top achievements
Rank 1
Answers by
NS
Top achievements
Rank 1
Bobi
Telerik team
Share this question
or