We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Get selected TabItemExt from TabControlExt.Selected*****

Thread ID:

Created:

Updated:

Platform:

Replies:

103396 Apr 26,2012 02:07 PM UTC Oct 6,2015 10:43 AM UTC WPF 10
loading
Tags: Tools
Richard Kubina
Asked On April 26, 2012 02:07 PM UTC

Say I bind a TabControlExt to a collection of say, strings. In this code, I will see the string, but I don't have any way of seeing which TabItemExt is actually selected.

//TabControlExt tabby;
var hmm = tabby.Items[tabby.SelectedIndex];

hmm is a string, but I want to get to the tab item.. so that I can enable edit mode on it.

How can I get the selected TabItemExt?









Richard Kubina
Replied On April 26, 2012 02:20 PM UTC

ActivatedItem is always null too


Surya Narayanan G [Syncfusion]
Replied On April 30, 2012 06:38 AM UTC

Hi Richard,

Thanks for using Syncfusion products.

We have created a simple sample to illustrate getting of Selected TabItemExt which you can download under the following location.

Sample Link: http://www.syncfusion.com/downloads/Support/DirectTrac/93804/F103396_SelectedTabItemExt-1044805626.zip

In this sample, we have used the ItemContainerGenerator and obtained the TabItemExt using the SelectedItem property of TabcontrolExt.

Please let us know if the sample helps.

Regards,
Surya Narayana



Richard Kubina
Replied On May 14, 2012 05:57 PM UTC

Yes, that helped, thank you.

Muthalagu M [Syncfusion]
Replied On May 15, 2012 11:29 AM UTC

Hi Richard,

Thanks for the update.

Please let us know if you have any further assitance.

Regards,

Muthalagu


Ma-Estro
Replied On September 16, 2015 12:32 PM UTC

Hi,

the link is broken, can you can share the sample again?

Regards

Victory Jessie Selvam D [Syncfusion]
Replied On September 17, 2015 07:08 AM UTC

Hi Ma-Estro,

Thank you for using Syncfusion products.

We have prepared a sample to get the SelectedItem as TabItemExt using ItemContainerGenerator and it can be downloaded from the following link:

Sample : TabControlExt_SelectedItem

Regards,
Jessie

Ma-Estro
Replied On September 17, 2015 07:40 AM UTC

Hi Ma-Estro,

Thank you for using Syncfusion products.

We have prepared a sample to get the SelectedItem as TabItemExt using ItemContainerGenerator and it can be downloaded from the following link:

Sample : TabControlExt_SelectedItem

Regards,
Jessie

Hello Jessie,

Thanks for the reply.
I edited your example calling the "LabelEditStart" method to put the label of the selected  item in edit mode (see attachment).
However, this does not seem to work. Why?

Attachment: TabControlExt_SelectedItem356665951_Modified_bcb7c148.zip

Victory Jessie Selvam D [Syncfusion]
Replied On September 18, 2015 11:59 AM UTC

Hi Riccardo,

We were able to reproduce the reported issue "LabelEditStart is not working" and have logged defect report regarding this. The fix for this issue will be included in our volume 3 main release which will be available by the end of September 2015.

Please let us know if you have any query.

Regards,
Jessie

Ma-Estro
Replied On October 5, 2015 01:47 PM UTC

Hi Riccardo,

We were able to reproduce the reported issue "LabelEditStart is not working" and have logged defect report regarding this. The fix for this issue will be included in our volume 3 main release which will be available by the end of September 2015.

Please let us know if you have any query.

Regards,
Jessie

Hi Jessie
I downloaded the volume 3, but the issue "LabelEditStart is not working" has not been fixed.
Can you confirm?

Regards


Victory Jessie Selvam D [Syncfusion]
Replied On October 6, 2015 10:43 AM UTC

Hi Riccardo,

We have checked the reported issue "LabelEditStart is not working" in version 13.3.0.7 and it is working fine from our side. In the provided sample, label edit has started and completed earlier since the message box receives focus immediately after edit. So we have modified the sample to start label edit after the message box is shown and you can download it from following link:

Sample: TabControlExtSelectedItem_Modified

Please let us know if you have any query.

Regards,
Jessie

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;