This is a migrated thread and some comments may be shown as answers.
RadTabStrip
1 Answer 45 Views
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Adam
Top achievements
Rank 1
Adam asked on 30 Jun 2008, 07:54 PM
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?

1 Answer, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 02 Jul 2008, 01:54 PM
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
Asked by
Adam
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Share this question
or