tabcontrol

Problem with Google visualization inside Ajax Toolkit Tab Control

I'm trying to use a google visualisation, the column chart, inside an asp.net AJAX Toolkit Tab Control, but I'm having small (literally) problems. If I add the visualisation to the tab that's displayed by default when the page loads, the bar chart displays correctly, however, if I add the same control to another tab and reload the page...

Doubleclicking tab control header

Hi there, I've been wondering about this problem for some time - doubleclicking a winforms TabControl's header doesn't get detected, but I'd like to handle this event. It looks like all mouse events (click,move,etc.) don't get raised when they are on the 'inactive' area of TabControl. I've even tried subclassing TabControl, but the de...

Styling TabItem when populated with ItemsSource

Hi. I'm using a WPF Tabcontrol populated with a collection using Itemssource. <TabControl x:Name="_tabControl" ItemsSource="{Binding TabViewModelList}"> <TabControl.ItemContainerStyle> <Style TargetType="TabItem"> <Setter Property="Header" Value="{Binding TabCaption}"/> ...

Why combobox refresh doesn't work?

Hello, I have a complex problem, could you please help me. The problem: I have a form with a TabControl. There are two TabPages in the first is a dataGridView and in the second are multiple comboboxes. DataGridView is filled with data from Table1, on the other tab the first combobox datasource is set to TableCB1, the second combo...

TabPage as userControl ??

Hi, I want to create tabpage as userControl. Is there any way to deal with this?? ...

How do you modify a control that has been re-parented to a TabPage?

I have a user control that contains a collection of controls to be reused for presenting data on the UI. I've attempted implementing a "pop-out" option that will re-parent the control from another container on the form (a Panel, for example), create a new tab page, and then add the control to the tab page. Unfortunately, when the contr...

scrollable tab bar widget solution

I have a web page that I use to update a fairly complex data structure. The page itself has lots of information, so I developed some simple Tab-page control, with plain html. Each tab is a different page, so when the user click on a tab a post is issued to the new page. Fairly simply. The problem is that the page has about 10 tabs, s...

html scrollable tab bar - make a td continue on the next row when it overflows the screen

What I'm trying to achieve is a scrollable tab-bar. I have a web page with multiple tabs. The "tab" control it's just an html table, with a single row, in which each tab is a td. The page has way over 10 tabs, an the tabs no longer fit in the screen. I'd like to have the tabs scroll, or at least continue on the following row (somethi...

Set tab control style on managed TabControl

Is it possible to set a tab control style like TSC_BUTTONS on a managed TabControl? Windows CE 6 / .NET CF 3.5 ...

VB.Net Custom Controls

This might be basic question, however I am confused on some .Net Concpets. I am trying to create a "Data Browser" in VB.net. Similar to a Web Browser however each Tab in the Data Browser is a view of some Data (from a database or flat files) not a webpage. The UI on each Tab is mostly the same. A list Box (showing datatypes, etc), a ...

DataTrigger only works on first TabItem in TabControl

Hi! It seems like a bug in WPF, but maybe someone has an answers to this. I have a DataTrigger for an editable ComboBox. It works on the first TabItem of my TabControl, but not on the second. If you switch the first with the second TabItem, the "second" will work. The same effect happens when you give the style exactly to the ComboBox (C...

How to know what tab is selected in tab control in vb.net

I have this program that should execute a piece of code base on the tab that is selected. How do I do it? I've tried: if tabcontrol1.tabcount=1 then 'Execute this code' else if tabcontrol1.tabcount=2 then 'execute this code end if -But doesn't work, what's the proper way of doing it? ...

Silverlight TabItem header hide

Hi everybody! Is it possible (in XAML) to hide the headers of the tab items in a tab control in Silverlight (preferably Silverlight 4)? Thanks in advance ...

WPF TabItem Custom ContentTemplate

I have been strugging with this for a while, it would have been simple to do in WindowForms. I am making a IRC Client, there will be a number of Tabs one for each channel connect to. Each Tab needs to show a number of things, UserList, MessageHistory, Topic. In WindowForms i would just have inherited from TabItem, added some Custom Pro...

Winforms TabControl causing spurious Paint events for UserControl

For our project, we've written a WinForms UserControl for graphing. We're seeing some strange behavior when our control is sited in a TabControl - our control continuously fires Paint events, even when there is absolutely no activity by the user. We only see this in the TabControl. When we site our control in other containers such as ...

How to open a form in a determined tab? vb .net

I have a form with a tabcontrol and 4 tabs. I want to open a form with showdialog in a predetermined tab. I've tried OptionsForm.OPTS_TabControl1.SelectTab(1) OptionsForm.OPTS_TabControl1.ShowDialog() but it didn't work. Any help? thanks ...

Problem with dynamic create tabPages in Winforms TabControl

I want to create dynamic tabPages in TabControl. In each tabPage I create dataGridView and i want to fill the entire space of each tabPage with this dataGrid. Here is code, where i do this: private void tabControlMutants_SelectedIndexChanged(object sender, EventArgs e) { DataGridView dgw = new DataGridView(); D...

WPF tabcontrol styling

I've got a UI with a fairly standard look and feel. It has a column of icons on the left side which when clicked open a different user control on the right side. Currently I'm using separate controls for the selection icons and the usercontrol containment. I'm having strange focus issues that I am tired of trying to mitigate and am wonde...

WPF - Overlapping Custom Tabs in a TabControl and ZIndex

Problem I have a custom tab control using Chrome-shaped tabs that binds to a ViewModel. Because of the shape, the edges overlap a bit. I have a function that sets the tabItem's ZIndex on TabControl_SelectionChanged which works fine for selecting tabs, and dragging/dropping tabs, however when I Add or Close a tab via a Relay Command I am ...

WinForms TabControl: How to avoid tab-rendering on DrawMode=OwnerDrawFixed?

I extended the (WindowsForms) built-in TabControl so that users can close tabs right on the tab itself ("x" image on the right like in Webbrowsers). The inherited control renders the text and images. Also, it uses visual styles on hover etc. All works very well, but I have one problem I can't solve. When the tabs are rendered, I cannot ...