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

Some WebBrowserItems not loading

2 Answers 40 Views
Rotator
This is a migrated thread and some comments may be shown as answers.
Satbinder
Top achievements
Rank 1
Satbinder asked on 06 Sep 2011, 09:09 AM
Hi

I am trying to develop a wallboard application that will simply rotate web pages to present production information about particular companies.  The web pages are being served correctly and render fine within any web browser; but when using the rotator there is always one item that is blank.  I have a collection of sites to display and then am simply creating items into the radRotator control, after a set period of time I simply refresh the browser.  Has anyone else experienced issues with the webbrowser item not loading the page contents?

The code to setup the rotator is

               

radRotator1.Stop();
radRotator1.Items.Clear();

foreach (string site in sites)
{

    RadWebBrowserItem item1 = new RadWebBrowserItem();
    item1.Url = new Uri(site);
    item1.WebBrowserControl.ScriptErrorsSuppressed = true;
 
    radRotator1.Items.Add(item1);
}
 
radRotator1.CurrentIndex = 0;
radRotator1.Start(true);

To refresh after period of time
radRotator1.Stop();
 
foreach (RadItem item in radRotator1.Items)
{
 
    RadWebBrowserItem item1 = (RadWebBrowserItem) item;
    item1.WebBrowserControl.Refresh(); 
}
 
radRotator1.Start(true);

Any help appreciated, have spent lots of time on this but the problem is that the page that is not loaded is not consistent and could be any of the sites in the list.

Cheers

2 Answers, 1 is accepted

Sort by
0
Satbinder
Top achievements
Rank 1
answered on 06 Sep 2011, 09:43 PM
Please ignore this request as I have opened a support ticket.
0
Ivan Petrov
Telerik team
answered on 08 Sep 2011, 02:11 PM
Hi Satbinder,

You can see the answer to your inquiry in the support thread you have started. Should you have further questions feel free to ask.

Regards,
Ivan Petrov
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
Rotator
Asked by
Satbinder
Top achievements
Rank 1
Answers by
Satbinder
Top achievements
Rank 1
Ivan Petrov
Telerik team
Share this question
or