Alignment issues

6 posts, 0 answers
  1. Santosh Bachuwar
    Santosh Bachuwar avatar
    4 posts
    Member since:
    May 2008

    Posted 22 Aug 2008 Link to this post

    I have added this toolbar to a radgrid where I have all the action with the data below in radgrid at top as toolbar. This toolbar even though I clearly state that

    Orientation="Horizontal"

    It doesnt show as HOrizontal it is till vertical. And I have tried different skins (vista as mentioned in demos)

    Can somebody help here...    Here is the code


    <telerik:RadGrid ID="RadGrid1" AllowAutomaticUpdates="True" AllowAutomaticDeletes="True"
                        Skin="Office2007" Width="97%" AllowSorting="True" AllowPaging="True" GridLines="None"
                        runat="server" ShowFooter="True" AllowMultiRowSelection="True" PageSize="7" AllowMultiRowEdit="True">
                        <PagerStyle Mode="NextPrevAndNumeric" />
                        <MasterTableView Width="100%" GridLines="None" CommandItemDisplay="Top" EditMode="InPlace"
                            HorizontalAlign="NotSet" DataKeyNames="Id">
                            <RowIndicatorColumn Visible="False">
                                <HeaderStyle Width="20px" />
                            </RowIndicatorColumn>
                            <ExpandCollapseColumn Resizable="False" Visible="False">
                                <HeaderStyle Width="20px" />
                            </ExpandCollapseColumn>
                            <EditFormSettings>
                                <PopUpSettings ScrollBars="None" />
                            </EditFormSettings>
                            <CommandItemTemplate>
                                <telerik:RadToolBar ID="RadToolBar1" Orientation="Horizontal" Skin="Vista" runat="server"
                                    Width="100%" OnButtonClick="RadToolBar1_ButtonClick">
                                    <Items>
                                        <telerik:RadToolBarButton Text="Update" CommandName="UpdateEdited" ImageUrl="~/ToolBar/Examples/ApplicationScenarios/GridCommandItem/Images/Update.gif"
                                            Visible='<%# RadGrid1.EditIndexes.Count > 0 %>'>
                                        </telerik:RadToolBarButton>
                                        <telerik:RadToolBarButton Text="Content Verified">
                                        </telerik:RadToolBarButton>
                                        <telerik:RadToolBarButton Text="Assign Sales Person">
                                        </telerik:RadToolBarButton>
                                        <telerik:RadToolBarButton Text="Send Message">
                                        </telerik:RadToolBarButton>
                                        <telerik:RadToolBarButton Text="Refresh" CommandName="RebindGrid" ImageUrl="~/ToolBar/Examples/ApplicationScenarios/GridCommandItem/Images/Refresh.gif">
                                        </telerik:RadToolBarButton>
                                    </Items>
                                </telerik:RadToolBar>
                            </CommandItemTemplate>
                        </MasterTableView>
                        <ClientSettings>
                            <Selecting AllowRowSelect="True" EnableDragToSelectRows="True" />
                        </ClientSettings>
                    </telerik:RadGrid>
  2. Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2500 posts

    Posted 25 Aug 2008 Link to this post

    Hello Santosh,

    Could you please specify how do you want to change the RadGrid CommandItem online demo. The RadToolBar shown there is in horizontal orientation.

    Sincerely yours,
    Alex
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Santosh Bachuwar
    Santosh Bachuwar avatar
    4 posts
    Member since:
    May 2008

    Posted 25 Aug 2008 Link to this post

    May be I wasnt clear enough. I have specified the toolbar orientation to Horizontal as stated in the code but still the webpage shows it vertical. So what needs to done to show it to Horizontal. I am also attaching Screenshot for the webpage. ''


    Thanks for repsonse


  5. Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2500 posts

    Posted 26 Aug 2008 Link to this post

    Hi Santosh Bachuwar,

    We were not able to reproduce the issue - please find attached the sample project that was used for testing it.

    Best wishes,
    Alex
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  6. Sacha Rice
    Sacha Rice avatar
    8 posts
    Member since:
    Aug 2008

    Posted 01 Sep 2008 Link to this post

    I was able to reproduce this same bug in VS2008 SP1. In the IDE the orientation of the Toolbar control always remains vertical, however, when the website is built and the project is run the orientation is horizontal. It appears that it is an IDE bug with the Orientation property setting not correctly altering the control to fit the buttons in a horizontal manner.
  7. Erjan Gavalji
    Admin
    Erjan Gavalji avatar
    1455 posts

    Posted 01 Sep 2008 Link to this post

    Hi guys,

    We logged the bug in our ToDo list and we will do our best to have it fixed for the next service pack of the suite.

    Kind regards,
    Erjan Gavalji
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017