TabItem issues

Dear Support,

I have a small Blazor wasm application, it implements the following UI functionality:
There is a sidemenu and an SfTab control.
Every sidemenu item represents a component (person data, shift data, bank account details etc.).
If the user clicks on a sidemenu item, the code checks, there is TabItem with the related component. If yes, that TabItem will be selected.
If not, a new TabItem will be created with the needed component dynamically.
In runtime the user can close any TabItem. This is a kind of simple MDI tab system.

I store the component name - TabItem GUID property pairs in a dictionary. It worked until the 18.1.0.59 version, because the TabItem inherited from the BaseComponent, and it has the int GUID property.
Now (version 18.2.0.48) the TabItem inherited from SfBaseComponent, it has not GUID (or any other free to use) property (as I see). It breaks the whole functionality.
It would be good if the TabItem had a free-to-use property, e.g.: public string Tag {get;set;} etc.

Regards,
Peter

1 Reply

AK Alagumeena Kalaiselvan Syncfusion Team August 17, 2020 02:39 PM UTC

Hi Peter, 

Thanks for contacting Syncfusion support. 

We have improved the Tab component in Volume 2, 2020 main release. So, we have made lot of changes in Tab for performance enhancements. Refer the below release notes for that Tab changes 

Also, we can understand your requirement with Tab based on your shared details. Meantime we didn’t expose this GUID previously in our samples as well as UG. For better assistance, Kindly confirm whether you expect any unique identifier with each Tab item? 

Regards 
Alagumeena.K 


Loader.
Up arrow icon