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

Rotator Web Browser at Runtime

1 Answer 104 Views
Rotator
This is a migrated thread and some comments may be shown as answers.
Rhonda
Top achievements
Rank 1
Rhonda asked on 29 Dec 2010, 10:10 PM
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.

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 03 Jan 2011, 04:58 PM
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.
Tags
Rotator
Asked by
Rhonda
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or