Vertical align Text & Image in RadPanelBar

3 posts, 1 answers
  1. David
    David avatar
    2 posts
    Member since:
    Apr 2014

    Posted 28 Apr 2014 Link to this post

    I try to vertcal align text and image in RadPanelBarItem. take a look on the attach image. Please show me how to do it.
    Thanks
  2. Answer
    Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 30 Apr 2014 in reply to David Link to this post

    Hi David,

    Please have a look into the sample code snippet which works fine at my end also take a look into the attached screenshots.

    ASPX:
    <telerik:RadPanelBar ID="RadPanelBar2" runat="server">
        <Items>
            <telerik:RadPanelItem runat="server" Text="PatientDetail">
                <Items>
                    <telerik:RadPanelItem runat="server">
                        <ItemTemplate>
                            <asp:Label ID="Label1" runat="server" Text="Last Name">
                            </asp:Label>
                            <br />
                            <telerik:RadTextBox ID="RadTextBox1" runat="server">
                            </telerik:RadTextBox>
                            <br />
                            <br />
                            <asp:Label ID="Label2" runat="server" Text="First Name">
                            </asp:Label>
                            <br />
                            <telerik:RadTextBox ID="RadTextBox2" runat="server">
                            </telerik:RadTextBox>
                            <br />
                            <br />
                            <asp:Label ID="Label3" runat="server" Text="Patient ID">
                            </asp:Label>
                            <br />
                            <telerik:RadTextBox ID="RadTextBox3" runat="server">
                            </telerik:RadTextBox>
                            <br />
                            <br />
                            <asp:Label ID="Label4" runat="server" Text="DOB">
                            </asp:Label>
                            <br />
                            <telerik:RadDatePicker ID="RadDatePicker1" runat="server">
                            </telerik:RadDatePicker>
                            <br />
                            <br />
                            <asp:Label ID="Label5" runat="server" Text="Phone">
                            </asp:Label>
                            <br />
                            <telerik:RadTextBox ID="RadTextBox4" runat="server">
                            </telerik:RadTextBox>
                            <br />
                            <br />
                        </ItemTemplate>
                    </telerik:RadPanelItem>
                </Items>
            </telerik:RadPanelItem>
            <telerik:RadPanelItem runat="server" Text="DisplayOption">
            </telerik:RadPanelItem>
        </Items>
    </telerik:RadPanelBar>

    Thanks,
    Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. David
    David avatar
    2 posts
    Member since:
    Apr 2014

    Posted 30 Apr 2014 in reply to Shinu Link to this post

    Thanks
Back to Top