Page Change Event

6 posts, 0 answers
  1. Tim schmidt
    Tim schmidt avatar
    8 posts
    Member since:
    Dec 2009

    Posted 13 Sep 2010 Link to this post

    I have a RadHTMLPlaceholder on a usercontrol and I am to set the SourceURL to a page, but I want to track which pages the user is going to and when they get to a certain page I want to do something in my silverlight app.  Is this possible?
  2. Miro Miroslavov
    Admin
    Miro Miroslavov avatar
    588 posts

    Posted 16 Sep 2010 Link to this post

    Hello Tim schmidt,

     You can handle the UrlLoaded event that will fire once the page has loaded and add your logic in the handler.
    Hope this will help you.

    Kind regards,
    Miro Miroslavov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
  4. Tim schmidt
    Tim schmidt avatar
    8 posts
    Member since:
    Dec 2009

    Posted 16 Sep 2010 Link to this post

    does the UrlLoaded event fire for every new page that is browsed to in the HTMLPlaceholder?  Cause what I would like to have happen is the HTMLPlaceholder is to come up with Page1, they are stepped through a process and go to Page2, Page3 and then are forwarded to Page4.  What Page4 comes up is when I want to do something in my silverlight application hosting the HTMLPlaceholder.  Is that possible?
  5. Miro Miroslavov
    Admin
    Miro Miroslavov avatar
    588 posts

    Posted 17 Sep 2010 Link to this post

    Hi Tim schmidt,

     It actually fires only once, when the Frame/iFrame object fires the onload event (JavaScript). After that we can't have control or something, because the html is in the frame, which is invisible to the Dom, due to cross-domain issues. 
    There isn't frame navigated event or something similar that can be used in your case.
    If we can be of further help, please let us know.

    Greetings,
    Miro Miroslavov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  6. bg
    bg avatar
    19 posts
    Member since:
    Jul 2006

    Posted 10 Nov 2011 Link to this post

    It has been over a year since this post was active but I am running into the same issue. Has their been any progress in determining if the SourceUrl has been changed for the Frame? I have even tried using RadHtmlPlaceHolderControl.HtmlPresenter.Children[0].GetProperty("src"); but it never seems to update.
  7. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 15 Nov 2011 Link to this post

    Hi Bg,

     Currently, we are not aware of an existing solutions to this issue.

    Regards,
    Petar Mladenov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top
DevCraft banner