RadTabStrip

2 posts, 0 answers
  1. Adam
    Adam avatar
    5 posts
    Member since:
    Apr 2008

    Posted 30 Jun 2008 Link to this post

    I have a custom event handler for a web browser control being loaded in a TabItem. How do I go about finding the webbrowser control within the TabItem?
  2. Nikolay
    Admin
    Nikolay avatar
    1804 posts

    Posted 02 Jul 2008 Link to this post

    Hi Adam,

    In order to find to WebBrowser control, you should traverse the TabItem.ContentPanel.Controls collection and check whether the current control is a WebBrowser control:
    foreach (Control ctrl in tabItem1.ContentPanel.Controls)  
    {  
        if (ctrl is WebBrowser)  
        {  
            // Do something here  
        }  

    If you have additional questions, feel free to contact me.

    Regards,
    Nikolay
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top