Where is declarative syntax documented?

2 posts, 0 answers
  1. Craig Bolon
    Craig Bolon avatar
    107 posts
    Member since:
    Jun 2006

    Posted 12 Jul 2006 Link to this post

    We have wasted hours combing through examples trying to discover the declarative syntax for Telerik controls. We have not found the declarative syntax documented for any of the controls we use. We have often found properties that were actually supported but were not shown on a Properties page and some that were shown while in Design mode but not in Source mode (when they would actually be useful). Microsoft does not do a careful job documenting the syntax of their controls, but at least they list all the properties. We use this information often and are badly handicapped by the lack of comparable information for Telerik controls. It is turning what was supposed to be "rapid application development" into just the opposite -- a nightmare of experimental programming and code combing.

    For example, from "Web server control syntax" in Microsoft MSDN, here's the start of the listing for the <asp:Menu> control --
    <asp:Menu
        AccessKey="string"
        BackColor="color name|#dddddd"
        BorderColor="color name|#dddddd"
        BorderStyle="NotSet|None|Dotted|Dashed|Solid|Double|Groove|Ridge|
            Inset|Outset"
        BorderWidth="size"
        CssClass="string"
        DataSource="string"
        DataSourceID="string"
        DisappearAfter="integer"
        DynamicBottomSeparatorImageUrl="uri"
        DynamicEnableDefaultPopOutImage="True|False"
        DynamicHorizontalOffset="integer"
        DynamicItemFormatString="string"
        DynamicPopOutImageTextFormatString="string"
        DynamicPopOutImageUrl="uri"
        DynamicTopSeparatorImageUrl="uri"
        DynamicVerticalOffset="integer"
        Enabled="True|False"
        EnableTheming="True|False"
        EnableViewState="True|False"
        Font-Bold="True|False"
        Font-Italic="True|False"
        Font-Names="string"
        Font-Overline="True|False"
        Font-Size="string|Smaller|Larger|XX-Small|X-Small|Small|Medium|
            Large|X-Large|XX-Large"
        Font-Strikeout="True|False"
        Font-Underline="True|False"
        ForeColor="color name|#dddddd"
        Height="size"
        ID="string"
        ItemWrap="True|False"
        MaximumDynamicDisplayLevels="integer"
        OnDataBinding="DataBinding event handler"
        OnDataBound="DataBound event handler"
        OnDisposed="Disposed event handler"
        OnInit="Init event handler"
        OnLoad="Load event handler"
        OnMenuItemClick="MenuItemClick event handler"
        OnMenuItemDataBound="MenuItemDataBound event handler"
        OnPreRender="PreRender event handler"
        OnUnload="Unload event handler"
        Orientation="Horizontal|Vertical"
        PathSeparator="string"
        runat="server"
        ScrollDownImageUrl="uri"
        ScrollDownText="string"
        ScrollUpImageUrl="uri"
        ScrollUpText="string"
        SkinID="string"
        SkipLinkText="string"
        StaticBottomSeparatorImageUrl="uri"
        StaticDisplayLevels="integer"
        StaticEnableDefaultPopOutImage="True|False"
        StaticItemFormatString="string"
        StaticPopOutImageTextFormatString="string"
        StaticPopOutImageUrl="uri"
        StaticSubMenuIndent="size"
        StaticTopSeparatorImageUrl="uri"
        Style="string"
        TabIndex="integer"
        Target="string"
        ToolTip="string"
        Visible="True|False"
        Width="size"
    >

    -- Craig Bolon
       Brookline, MA, USA


  2. Nikolay Dobrev
    Admin
    Nikolay Dobrev avatar
    201 posts

    Posted 14 Jul 2006 Link to this post


    Hello Craig,

    All public properties that are available for declarative settings are listed in the properties grid in VisualStudio. You can find more help on them either by reading their description (shown under the properties grid) or by pressing F1, which will open the help file.
    The list of classes and their properties, methods, etc. is available in the product manual.
    Our products are much more complex in comparison to their ASP.NET counterparts and such a list of properties (for r.a.d.grid for example) would be really huge. That's why we have not considered inserting such a list in our manuals at least until the next quarterly release.

    Kind regards,

    Nikolay Dobrevthe telerik team
Back to Top