GoBack()

4 posts, 0 answers
  1. NS
    NS avatar
    179 posts
    Member since:
    Jan 2007

    Posted 07 Oct 2008 Link to this post

    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
  2. NS
    NS avatar
    179 posts
    Member since:
    Jan 2007

    Posted 07 Oct 2008 Link to this post

    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 !
  3. DevCraft banner
  4. NS
    NS avatar
    179 posts
    Member since:
    Jan 2007

    Posted 07 Oct 2008 Link to this post

    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
  5. Bobi
    Admin
    Bobi avatar
    513 posts

    Posted 07 Oct 2008 Link to this post

    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.
Back to Top