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

row details disappear when Edit column and select column are selected

1 Answer 54 Views
This is a migrated thread and some comments may be shown as answers.
sai raghavendra sudha besta
Top achievements
Rank 1
sai raghavendra sudha besta asked on 22 Oct 2009, 03:15 PM

i have a radgrid which i has a edit form ( which is a usercontrol ), and a select column ( which is a check box ).
the issue is i am facing is when ever i open my usercontrol ( i.e the edit form ), and check the select column the details in the row disapper. and they appear back as soon as the select column check box is deselected.

please let me know how can i resolve this issue.

here is part of the code from my grid view

<telerik:RadGrid ID="rgCampaignList" EnableViewState="true" Height="100%" GridLines="none"
                    runat="server" AllowSorting="true" AllowMultiRowSelection="True" AllowAutomaticDeletes="true"
                    CssClass="GridMedium" AllowAutomaticInserts="true" AllowAutomaticUpdates="true"
                    AllowPaging="True" AllowFilteringByColumn="true" AutoGenerateColumns="false">
                    <HeaderContextMenu BackColor="White">
                    <HeaderStyle Font-Bold="true" Wrap="true" />
                    <PagerStyle AlwaysVisible="true" Visible="true" Position="topAndBottom" />
                    <MasterTableView GridLines="none" EnableViewState="true" Height="100%" EditMode="EditForms"
                        <PagerStyle AlwaysVisible="true" Visible="true" Position="topAndBottom" />
                            <telerik:GridClientSelectColumn UniqueName="campapignsSelectColumn" HeaderText="Actions"
                                HeaderStyle-Width="20" Reorderable="false" />
                            <telerik:GridEditCommandColumn HeaderText="Edit" ButtonType="LinkButton" UniqueName="EditCommandColumn"
                                EditFormHeaderTextFormat="Edit Campaign" Reorderable="false">
                            <telerik:GridTemplateColumn DataType="System.String" DataField="CampaignName" UniqueName="CampaignName"
                                SortExpression="CampaignName" HeaderText="Campaign">
                                    <asp:LinkButton ID="btnCampaignName" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "CampaignName") %>'
                                        CommandName="SelectCampaign" />
                            <telerik:GridBoundColumn DataField="DivisionName" UniqueName="DivisionName" HeaderText="Division"
                                DataType="System.String" SortExpression="DivisionName">
                                    <telerik:RadComboBox ID="RadComboBoxDivision" DataSourceID="SqlDataSourceDivisions"
                                        DataTextField="DivisionName" DataValueField="DivisionName" AppendDataBoundItems="true"
                                        runat="server" SelectedValue='<%# (container).OwnerTableView.GetColumn("DivisionName").CurrentFilterValue %>'
                                            <telerik:RadComboBoxItem Text="---" />
                                    <telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">

                                        <script type="text/javascript">
                                    function Division(sender,args) {
                                        var tableView=$find("<%# (container).OwnerTableView.ClientID %>");
                                        if (args.get_item().get_value()!="-1")


                        <EditFormSettings FormMainTableStyle-BackColor="#FFFFE0" FormStyle-Height="100%"
                            FormStyle-Width="100%" FormCaptionStyle-Height="100%" EditColumn-Resizable="true"
                            UserControlName="../usercontrols/Campaigns_Edit.ascx" EditFormType="WebUserControl">
                            <EditColumn UniqueName="EditCommandColumn1">
                    <ClientSettings AllowColumnsReorder="true" ColumnsReorderMethod="reorder">
                        <DataBinding FilterParameterName="campaignname" FilterParameterType="String">
                        <ClientEvents OnRowDeselected="RowDeselected" OnRowSelected="RowSelected" />
                        <Selecting EnableDragToSelectRows="true" AllowRowSelect="True"></Selecting>
                    <AlternatingItemStyle CssClass="GridMediumAlternate" />
                    <SelectedItemStyle CssClass="GridMediumSelected" />

                    only the edit column and the campaign name column details are visible when we select the checkbox, the rest of the columns which are like 21 columns are hidden,

please help me out on this issue as this is important to the client.

thank you for your help in advance.


1 Answer, 1 is accepted

Sort by
Telerik team
answered on 23 Oct 2009, 11:31 AM

This thread is for our WPF grid - you should post your question in the forum related to our ASP.NET AJAX grid.

the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Asked by
sai raghavendra sudha besta
Top achievements
Rank 1
Answers by
Telerik team
Share this question