Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
30
Close a tab in ultratabworkspace
posted

Hi,

Can anybody  plase tell me how i can put a closebutton in a tab in ultratabworkspce(Infragistics SCSF)? I am currently using version 7.3.

Parents
No Data
Reply
  • 5389
    Verified Answer
    posted

    raneesh,

    Close button functionality was not added to the UltraTabControl and UltraTabWorkspace until 8.1.  In 7.3, you will have to manually implement this yourself by providing your own user interface to the end-user that will set the Visible property of Tabs to true or false.  You will also need to create a creation filter to add a button to each tab header.  The following KB article shows how to add a close button to the header of mdi tabs:

    http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.aspx?ArticleID=10054

    You can try to modify it slightly to make it work for the UltraTabWorkspace as well.

    If you decide to upgrade to 8.1 or later, you will not need the creation filter.

    Hope this helps,

    ~Kim~

Children