How to set RadPanelItem. Text property using c# code block

2 posts, 0 answers
  1. Rustam
    Rustam avatar
    1 posts
    Member since:
    Dec 2017

    Posted 09 Dec 2017 Link to this post

    I have a problem with binding text property. How can i set the text property of the RadPanelItem?

        <telerik:RadPanelBar RenderMode="Lightweight" ID="RadPanelbar2" runat="server" ExpandMode="MultipleExpandedItems" Width="100%">
                                            <Items>
                                                <telerik:RadPanelItem runat="server" Value="1" Text='<%# String.Format("General info {0:000000}", Eval("Id")) %>'     Expanded="true">
                                                    <Items>
                                                        <telerik:RadPanelItem runat="server">
                                                            <ItemTemplate>
                                                                <asp:FormView runat="server" ID="fvGeneral" DataSourceID="odsGeneral" DataKeyNames="TaskId" Width="100%" OnDataBound="fvGeneral_DataBound">
                                                                    <ItemTemplate>

  2. Rumen
    Admin
    Rumen avatar
    13980 posts

    Posted 11 Dec 2017 Link to this post

    Hello Rustam,

    You can check this forum thread on the subject: https://www.telerik.com/forums/radpanelbar-with-image-and-text---to-be-bound-from-sitemapdatasource.

    Best regards,
    Rumen
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top