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

Expand collapse columns not working

12 Answers 95 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Dan
Top achievements
Rank 2
Dan asked on 21 Mar 2013, 06:52 PM
I've recently upgaded to Visual Studio 2012 and RadControls ASP.NET AJAX Q1 2013.

Now all of my expand collapse columns in my grids have stopped working.  When I click on the expander, it posts back, but does not expand.
Was something changed with the hierarchical grid scheme?
Dan

12 Answers, 1 is accepted

Sort by
0
Dan
Top achievements
Rank 2
answered on 22 Mar 2013, 07:53 PM
FYI, I have backed off to the Q3 2012 RadControls, and my grid expanders now work fine again.  Something in the Q1 2013 controls doesn't play nicely with the expanders!

Dan
0
Radoslav
Telerik team
answered on 26 Mar 2013, 09:44 AM
Hello Dan,

Thank you for contacting us.

The described issue is very strange and we have not received any other reports for it. Could you please send us a small runnable example where we could reproduce the described problem. You could open a formal support ticket from your Telerik account and attach a ZIP file there. Thus we will be able to gather more details about your scenario debug the application and investigate the problem.

Looking forward for your reply.

Kind regards,
Radoslav
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.
0
Dan
Top achievements
Rank 2
answered on 27 Mar 2013, 12:53 PM
I just entered a support ticket on this, but I don't see it in my ticket list.  Please let me know if the ticket did not post.  Thanks.

Dan
0
VeriFone
Top achievements
Rank 1
answered on 15 May 2013, 09:13 AM
We have reported exactly the same issue, has Yours been solved ?
We can't reproduce it in separate project so it is difficult to show the support where it goes wrong.
0
Dan
Top achievements
Rank 2
answered on 15 May 2013, 02:02 PM
Short answer: No.  Something in the functionality of Q1 2013 RadControls changed, and broke all of my grids with row expanders.  My old code had grid_NeedDataSource logic where I bound the grid DataSourceID to a stored procedure with one or more select parameters.  This coding no longer works for Q1 2013.  (I think the stored procedure would still work if it had no parameters.)

Telerik support replied: After consulting with our developers the scenario proved to be an invalid one. It seems that using both advanced data-binding and assigning data source controls to RadGrid is not supported and will not work in all cases.

So, I ended up having to recode all of my NeedDataSource methods and bind the grid to a DataSource = a DataTable that is filled via a
SqlDataAdapter.

Dan
0
Bhawna
Top achievements
Rank 1
answered on 16 May 2013, 05:11 AM
I am Facing The same issue, i also reported this 
I have added this "AsyncPostBackTimeout="5000" to ScriptManager because Group  Expand is not Working and throwing "Sys.WebForms.PageRequestManagerTimeoutException: Sys.WebForms.PageRequestManagerTimeoutException"


  <telerik:RadGrid ID="RadgrdMembers" ShowGroupPanel="false" AutoGenerateColumns="false"
            GridLines="Both" AllowSorting="true" BorderStyle="None" runat="server" AllowPaging="false"
            OnItemDataBound="RadgrdMembers_ItemDataBound" OnNeedDataSource="RadgrdRsult_NeedDataSource"
            GroupingSettings-RetainGroupFootersVisibility="true">
            <ClientSettings AllowDragToGroup="false">
                <Scrolling AllowScroll="True" UseStaticHeaders="true" SaveScrollPosition="true">
                </Scrolling>
            </ClientSettings>
            <MasterTableView ShowGroupFooter="true" GroupsDefaultExpanded="false">
                <HeaderStyle Wrap="true" />
                <ItemStyle Wrap="true" />
                <AlternatingItemStyle Wrap="true" />
                <PagerStyle Mode="NextPrevAndNumeric" PageSizeLabelText="Records Per Page :" PageSizes="{25, 50, 100, 200,250}" />
                <Columns>
                    <telerik:GridBoundColumn DataField="Title" HeaderText="Title" />
                    <telerik:GridBoundColumn DataField="WholesalerID" HeaderText="Wholesaler" />
                    <telerik:GridBoundColumn DataField="Frozen" HeaderText="Frozen" />
                    <telerik:GridBoundColumn DataField="CostToStore" HeaderText="Cost" />
                    <telerik:GridBoundColumn DataField="SuggRetail" HeaderText="Retail" />
                    <telerik:GridBoundColumn DataField="Mon" HeaderText="Mon Base" />
                    <telerik:GridBoundColumn DataField="Tue" HeaderText="Tue Base" />
                    <telerik:GridBoundColumn DataField="Wed" HeaderText="Wed Base" />
                    <telerik:GridBoundColumn DataField="Thur" HeaderText="Thur Base" />
                    <telerik:GridBoundColumn DataField="Fri" HeaderText="Fri Base" />
                    <telerik:GridBoundColumn DataField="Sat" HeaderText="Sat Base" />
                    <telerik:GridBoundColumn DataField="Sun" HeaderText="Sun Base" />
                </Columns>
                <GroupByExpressions>
                    <telerik:GridGroupByExpression>
                        <GroupByFields>
                            <telerik:GridGroupByField FieldName="StoreInfo" SortOrder="None"></telerik:GridGroupByField>
                        </GroupByFields>
                        <SelectFields>
                            <telerik:GridGroupByField FieldName="StoreInfo" HeaderText="StoreInfo" SortOrder="None">
                            </telerik:GridGroupByField>
                        </SelectFields>
                    </telerik:GridGroupByExpression>
                </GroupByExpressions>
                <NoRecordsTemplate>
                    <div class="search-noresults-container">
                        <asp:Image ID="imgSearchIcon" runat="server" ImageAlign="AbsMiddle" ImageUrl="~/themeimages/search_icon.png" /><br />
                        <br />
                        <div class="inner-content">
                            <p>
                                <strong>No results were returned</strong></p>
                            <p class="small-text">
                                Please verify the search criteria and try again</p>
                        </div>
                    </div>
                </NoRecordsTemplate>
            </MasterTableView>
            <GroupingSettings ShowUnGroupButton="false"></GroupingSettings>
        </telerik:RadGrid>

"warningmessage.png"  pops up constantly in FF When i click on Expand
0
Radoslav
Telerik team
answered on 20 May 2013, 06:54 AM
Hi Bhawna,

I tried to reproduce the described issue but to no avail. I am sending you a simple example based on your code. Please check it out and let me know what differs in your case.

Looking forward for your reply.

Greetings,
Radoslav
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.
0
Robert
Top achievements
Rank 1
answered on 24 Jun 2013, 02:22 PM
I'm having the same problem. 

My expand and collapse column doesn't seem to do anything when I click it.

If I set the Master Tables "HierarchyDefaultExpanded" to true, then I can see all the details. So I don't think the data sources are incorrect..

Please can someone help?

I'm running v2013.2.611.40

Rob
0
Robert
Top achievements
Rank 1
answered on 24 Jun 2013, 02:58 PM
I managed to solve it for me!!

I was setting the connection string in the Page_Load event. I have to move this to the Page_Init event for it to work correctly. This worked before but after updating it stopped working.

I can still set the parameters dynamically in the Page_Load. 

Hope that helps someone...
0
Diego
Top achievements
Rank 1
answered on 03 Sep 2013, 07:41 PM
Thanks Robert
0
Gary Davis
Top achievements
Rank 2
answered on 09 Sep 2013, 04:46 PM
Thanks, Robert - using Page_Init() solved it for me too.

Gary Davis
0
dov765
Top achievements
Rank 2
answered on 09 Dec 2013, 08:49 AM
Thanks Robert!
You just saved my day!

I just updated to the new RadControls, and suddenly all my grids are not expanding
I spent 2 hours trying to figure out how to fix it....

Thank you for saving me a lot headache
I would suggest marking your answer as the correct one
Tags
Grid
Asked by
Dan
Top achievements
Rank 2
Answers by
Dan
Top achievements
Rank 2
Radoslav
Telerik team
VeriFone
Top achievements
Rank 1
Bhawna
Top achievements
Rank 1
Robert
Top achievements
Rank 1
Diego
Top achievements
Rank 1
Gary Davis
Top achievements
Rank 2
dov765
Top achievements
Rank 2
Share this question
or