This is a migrated thread and some comments may be shown as answers.

on the top of my gridview is a combobox.how can i remove it?

1 Answer 39 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Haniyeh
Top achievements
Rank 1
Haniyeh asked on 02 Feb 2013, 07:19 AM
hi all
on the top of my grid view is a combo box , and it is changing the style of my grid. i don't know how did it come in my grid?
how can i remove it?
in this image u can see it :  Img      => the combo box with "Default" text....
when i press the combo box i see all of the telerik style name. how can i remove it?
this is my code :
<telerik:RadGrid OnItemCreated="RadGrid1_ItemCreated" ID="RadGrid1" runat="server"
        AllowPaging="True" Width="800px" DataSourceID="SqlDataSource1"
             AutoGenerateColumns="False" CellSpacing="0" GridLines="None" Skin="Metro">
        <ClientSettings>
            <Selecting AllowRowSelect="true"></Selecting>
            <ClientEvents OnRowDblClick="RowDblClick"></ClientEvents>
        </ClientSettings>
        <MasterTableView ClientDataKeyNames="sid" CommandItemDisplay="Top"
            DataKeyNames="sid" PageSize="12" Width="100%">
            <CommandItemSettings ExportToPdfText="Export to PDF" />
            <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column"
                Visible="True">
            </RowIndicatorColumn>
            <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column"
                Visible="True">
            </ExpandCollapseColumn>
            <Columns>
                <telerik:GridBoundColumn DataField="sid" HeaderText="sid" ReadOnly="True"
                    SortExpression="sid" UniqueName="sid" Visible="False">
                    <HeaderStyle Font-Bold="True" Font-Names="Tahoma" ForeColor="#08AFEE" />
                    <ItemStyle Font-Bold="False" Font-Names="Tahoma" Font-Size="10pt" />
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="Descr" HeaderText="نمایش"
                    SortExpression="Descr" UniqueName="Descr">
                    <HeaderStyle Font-Bold="True" Font-Names="Tahoma" ForeColor="#08AFEE" />
                    <ItemStyle Font-Bold="False" Font-Names="Tahoma" Font-Size="10pt" />
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="Descr1" HeaderText="کارگردان"
                    SortExpression="Descr1" UniqueName="Descr1">
                    <HeaderStyle Font-Bold="True" Font-Names="Tahoma" ForeColor="#08AFEE" />
                    <ItemStyle Font-Bold="False" Font-Names="Tahoma" Font-Size="10pt" />
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="duration" HeaderText="مدت اجرا"
                    SortExpression="duration" UniqueName="duration">
                    <HeaderStyle Font-Bold="True" Font-Names="Tahoma" ForeColor="#08AFEE" />
                    <ItemStyle Font-Bold="False" Font-Names="Tahoma" Font-Size="10pt" />
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="saloonName" HeaderText="سالن"
                    SortExpression="saloonName" UniqueName="saloonName">
                    <HeaderStyle Font-Bold="True" Font-Names="Tahoma" ForeColor="#08AFEE" />
                    <ItemStyle Font-Bold="False" Font-Names="Tahoma" Font-Size="10pt" />
                </telerik:GridBoundColumn>
                <telerik:GridTemplateColumn UniqueName="TemplateEditColumn">
                    <ItemTemplate>
                        <asp:HyperLink ID="EditLink" runat="server" Text="       " CssClass="buy"
                            Height="35px" Width="34px" ></asp:HyperLink>
                    </ItemTemplate>
                </telerik:GridTemplateColumn>
            </Columns>
            <EditFormSettings>
               
            </EditFormSettings>
            <CommandItemTemplate>
                <a href="#" onclick="return ShowInsertForm();"></a>
            </CommandItemTemplate>
        </MasterTableView>
        <PagerStyle Mode="NumericPages" />
        <FilterMenu EnableImageSprites="False">
        </FilterMenu>
    </telerik:RadGrid>

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 07 Feb 2013, 07:52 AM
Hi Haniyeh,

I am afraid we are not able to replicate this issue by the provided grid declaration alone. Furthermore, on the mentioned web site there are no any comboboxes with text Default or we are missing something?

Please open a support ticket to send us a sample runnable application demonstrating the problematic behavior or provide us the exact steps to reproduce the issue. Thus, we will be able to further analyze the project and determine the cause of the error.

Greetings,
Eyup
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Haniyeh
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or