Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Rotator > Some WebBrowserItems not loading

Not answered Some WebBrowserItems not loading

Feed from this thread
  • Satbinder avatar

    Posted on Sep 6, 2011 (permalink)

    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

    Reply

  • Satbinder avatar

    Posted on Sep 6, 2011 (permalink)

    Please ignore this request as I have opened a support ticket.

    Reply

  • Ivan Petrov Ivan Petrov admin's avatar

    Posted on Sep 8, 2011 (permalink)

    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 >>

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Rotator > Some WebBrowserItems not loading
Related resources for "Some WebBrowserItems not loading"

[ Features | Demos | Documentation | Knowledge Base | Telerik TV | Code Library | Step-by-step Tutorial | Blogs | Self-Paced Trainer ]