Rotator Web Browser at Runtime

2 posts, 0 answers
  1. Rhonda
    Rhonda avatar
    8 posts
    Member since:
    Sep 2010

    Posted 29 Dec 2010 Link to this post

    Is there a way to change the url at runtime for the web browser item?  I would like the browser to rotate thru a group of .swf files in a given folder or list.  Whenever I try to change the url property I get an error stating it is Read Only.  I am programming in Visual Basic 2008.

  2. Peter
    Peter avatar
    1148 posts

    Posted 03 Jan 2011 Link to this post

    Hi Rhonda,

    Thank you for writing. You should create a new URI object and initialize the URL property of RadWebBrowserItem with it. Consider the following sample:

    Dim newUri as Uri  = new Uri
    Uri.TryCreate("http://mynewurl",UriKind.Absolute, newURL)
    radWebBrowserItem1.Url = newUri

    I hope this helps. Don't hesitate to contact us if you have other questions.

    Regards, Peter
    the Telerik team
    Q3’10 SP1 of RadControls for WinForms is available for download; also available is the Q1'11 Roadmap for Telerik Windows Forms controls.
  3. DevCraft R3 2016 release webinar banner
Back to Top