Some WebBrowserItems not loading

3 posts, 0 answers
  1. Satbinder
    Satbinder avatar
    3 posts
    Member since:
    Aug 2008

    Posted 06 Sep 2011 Link to this post

    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. Satbinder
    Satbinder avatar
    3 posts
    Member since:
    Aug 2008

    Posted 06 Sep 2011 Link to this post

    Please ignore this request as I have opened a support ticket.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Ivan Petrov
    Admin
    Ivan Petrov avatar
    701 posts

    Posted 08 Sep 2011 Link to this post

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

Back to Top