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

[Solved] Expand Collapse Functionality Problem

1 Answer 112 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
devika godse
Top achievements
Rank 1
devika godse asked on 07 May 2010, 01:39 PM
I am using Telerik extension of Grid for asp.net mvc. As shown in the demo of Grouping(http://demos.telerik.com/aspnet-mvc-beta/grid/grouping)

I have written :-
.Groupable(settings => settings.Groups(groups =>groups.Add(o => o.Customer.ContactName))

But the functionality of Expand-Collapse on clicking the Contact name is not available.

I have written

<% Html.Telerik().ScriptRegistrar()
                     .DefaultGroup(group => group
                         .Add("telerik.examples.js")
                         
                         .Compress(true))
                     .OnDocumentReady(() => { %>prettyPrint();<% })
                     .Render(); %>

in the Site.Master.

Am I missing reference to any .js file??

What could be the problem?



1 Answer, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 07 May 2010, 04:31 PM
Hello devika godse,

You do not need telerik.examples.js file. It is required only for the Telerik.Web.MVC.Examples demos. I noticed that you compress the javascript output. One possible reason for the aforementioned behavior could be missing HTTP handler, which compress the javascript and CSS. For more information check this help topic.

Kind regards,
Georgi Krustev
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
devika godse
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or