We help IT Professionals succeed at work.

Dynamically close tabs in AJAX Tabcontainer In ASP.NET

sam000
sam000 asked
on
Hi,

I need to dynamically create tabs and remove tabs.
In header template I need close button to close the particular tab (do not want to hide).

I was able to create tabs dynamically but need help on closing the tabs.


Regards,
Smaranika

Comment
Watch Question

Multitechnician
CERTIFIED EXPERT
Distinguished Expert 2019
Commented:
var tab_to_remove_ref = document.getElementById("tab_ID");
tab_to_remove_ref.parentNode.removeChild(tab_to_remove_ref);

Author

Commented:
it helped

Explore More ContentExplore courses, solutions, and other research materials related to this topic.