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

Stuff not showing ...

3 Answers 62 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Thomas
Top achievements
Rank 1
Thomas asked on 04 Mar 2012, 01:03 PM
Hello,

I still have a few problems with the grid:
- the GridBoundColumns column are display, but the only contain blank values while they should not.
- the GridButtonColumn is not showing at all.

<telerik:RadGrid ID="OrderDetail_RadGrid" runat="server" AllowFilteringByColumn="True" AllowSorting="True" CellSpacing="0"
GridLines="None" AutoGenerateColumns="False" DataSourceID="TemporaryOnlineOrdersLines_SqlDataSource">
    <ClientSettings AllowColumnsReorder="True">
        <Scrolling AllowScroll="True" UseStaticHeaders="True" />
    </ClientSettings>
    <MasterTableView AllowFilteringByColumn="True" AllowSorting="True" DataSourceID="TemporaryOnlineOrdersLines_SqlDataSource">
    <CommandItemSettings ExportToPdfText="Export to PDF"/>
    <RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column">
        <HeaderStyle Width="20px"/>
    </RowIndicatorColumn>
    <ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column">
        <HeaderStyle Width="20px"/>
    </ExpandCollapseColumn>
    <Columns>
        <telerik:GridBoundColumn DataField="p_Name" FilterControlAltText="Product"
            UniqueName="Product" HeaderText="Product"/>
        <%--<telerik:GridBoundColumn DataField="p_Description" FilterControlAltText="Description" UniqueName="p_Description" HeaderText="Description"/>--%>
        <telerik:GridNumericColumn DataField="tool_Quantity" DecimalDigits="2" FilterControlAltText="Quanity" HeaderText="Qantity"/>
        <telerik:GridBoundColumn DataField="unit_Name"  FilterControlAltText="Unit" UniqueName="unit_Name"  HeaderText="Unit"/>
        <telerik:GridButtonColumn FilterControlAltText="Filter column column" UniqueName="Remove"/>
    </Columns>
 
    <EditFormSettings>
        <EditColumn FilterControlAltText="Filter EditCommandColumn column"></EditColumn>
    </EditFormSettings>
</MasterTableView>
 
<FilterMenu EnableImageSprites="false"/>
</telerik:RadGrid>

3 Answers, 1 is accepted

Sort by
0
Thomas
Top achievements
Rank 1
answered on 04 Mar 2012, 02:49 PM
Regarding GridBoundColumns , I've found that the problem came from the qurey in my SQLdatasource.
Regarding GridButtonColumn, I still need a solution.
0
Thomas
Top achievements
Rank 1
answered on 04 Mar 2012, 03:38 PM
Problem solved.
0
Shinu
Top achievements
Rank 2
answered on 05 Mar 2012, 05:27 AM
Hello,

Try setting the following.
aspx:
<telerik:GridButtonColumn Text="Delete" ButtonType="PushButton" UniqueName="Select">
</telerik:GridButtonColumn>

-Shinu.
Tags
Grid
Asked by
Thomas
Top achievements
Rank 1
Answers by
Thomas
Top achievements
Rank 1
Shinu
Top achievements
Rank 2
Share this question
or