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

GridDropDownColumn not working with RadAjaxManager

1 Answer 32 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Craig Wallace
Top achievements
Rank 1
Craig Wallace asked on 14 Jul 2010, 05:49 PM
Hi,

I am building a RadGrid, which has a GridDropDownColumn in it.  I have enabled ajax on the RadGrid using the RadAjaxManager, but after I do this, the ComboBox in the GridDropDownColumn no longer drops-down, it just gets stuck and doesn't do anything when you click it.

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="RadGrid1">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="RadGrid1" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>
  
<asp:EntityDataSource ID="dsTypes" runat="server" 
            ConnectionString="name=Entities" DefaultContainerName="Entities" 
            EnableFlattening="False" EntitySetName="Types">
          
        </asp:EntityDataSource>
        <asp:EntityDataSource ID="dsCustomerData" runat="server" 
            ConnectionString="name=Entities" DefaultContainerName="Entities" 
            EnableFlattening="False" EnableUpdate="True" EnableInsert="true" 
            EntitySetName="CustomerData" AutoGenerateWhereClause="True" Include="Type">   
              
        </asp:EntityDataSource>
          
        <telerik:RadGrid ID="RadGrid1" runat="server"
            GridLines="None" DataSourceID="dsCustomerData"
            AutoGenerateColumns="False" AutoGenerateEditColumn="True" AutoGenerateDeleteColumn="True" 
>
  
<MasterTableView DataSourceID="dsCustomerData" DataKeyNames="CustomerDataID">
<RowIndicatorColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>
  
<ExpandCollapseColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>
    <Columns>
        <telerik:GridDropDownColumn DataField="TypeID" 
            DataSourceID="dsTypes" 
            HeaderText="Type" ListTextField="TypeName" 
            ListValueField="TypeID" UniqueName="TypeID">
        </telerik:GridDropDownColumn>
        <telerik:GridBoundColumn DataField="Make" HeaderText="Make" UniqueName="column">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="Model" HeaderText="Age" 
            UniqueName="column1">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="Age" HeaderText="Age" UniqueName="column2">
        </telerik:GridBoundColumn>
    </Columns>
      
</MasterTableView>
  
        </telerik:RadGrid>

If I remove the RadAjaxManager, the ComboBox works as normal.

Any ideas?

Thanks,

Craig

1 Answer, 1 is accepted

Sort by
0
Mira
Telerik team
answered on 19 Jul 2010, 03:40 PM
Hello Craig,

I tried to replicate the issue which you described, but to no avail.
Attached to this message, you will find the code which I used for testing.

Please, take a look at it and let me know if there are any differences at your end, which I may be leaving out.

Greetings,
Mira
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
Craig Wallace
Top achievements
Rank 1
Answers by
Mira
Telerik team
Share this question
or