Ext.NET icon indicating copy to clipboard operation
Ext.NET copied to clipboard

absent: ext-button's ToolTips inner block

Open fabriciomurta opened this issue 5 years ago • 1 comments

Found: Ext.NET 7.0.0-preview4_2020-07-21.

The following is Ext.NET 5 syntax:

<ext:Button runat="server">
    <ToolTips>
        <ext:ToolTip runat="server" />
    </ToolTips>
</ext:Button>

In a simple translation for Ext.NET 7:

<ext-button>
    <tooltips>
        <ext-tooltip />
    </tooltips>
</ext-button>

Results in The <tooltips> tag is not allowed byu parent <ext-button> tag helper.

Which with the help of intellisense, we can translate into:

<ext-button>
    <tooltip>
        <ext-tooltip />
    </tooltip>
</ext-button>

Which, in turn, results in The <ext-tooltip> tag is not allowed by parent <tooltip> tag helper., in an issue similar to #1789, #1798 and #1799.

But the plural and camel-casing of ToolTips looks off given the context and Ext JS documentation on Ext.Button. In other words, rather Tooltip than ToolTips, all things considered.

WebForms examples matching ToolTips

  1. Buttons > Basic > Overview
  2. Form > Miscellaneous > Registration_Form
  3. Form > Tag > TagLabel
  4. GridPanel > Miscellaneous > Submit_to_Handler
  5. GridPanel > Miscellaneous > Two_Grids
  6. GridPanel > Miscellaneous > Two_Grids
  7. GridPanel > MultiHeader > Filter
  8. Layout > Accordion > Basic_in_CodeBehind
  9. Layout > Accordion > Basic_in_Markup
  10. Miscellaneous > ToolTips > Overview
  11. Miscellaneous > UI > Tip
  12. TabPanel > Basic > Move_Tabs
  13. Toolbar > Menu > Flat_Toolbar
  14. Toolbar > Menu > Overview
  15. Toolbar > Menu > Toolbar_with_Menus
  16. TreePanel > Advanced > Filter
  17. TreePanel > Basic > Refresh_Static_Tree

MVC examples matching ToolTips

  1. Buttons > Basic > Overview
  2. Layout > Accordion > Basic_In_CodeBehind
  3. Layout > Accordion > Basic_In_Markup
  4. TreePanel > Advanced > Filter

fabriciomurta avatar Jul 24 '20 20:07 fabriciomurta

For Ext.NET Classic, the <tooltip> inner config requires a Tooltip Component to be configured.

<ext-button>
    <tooltip>
        <ext-quickTip text="Hello, world" />
    </tooltip>
</ext-button>

geoffreymcgill avatar Sep 10 '20 19:09 geoffreymcgill