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

[Solved] Problem with grid loaded in partial view

6 Answers 157 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.
Preslav Rachev
Top achievements
Rank 1
Preslav Rachev asked on 23 Apr 2010, 08:51 AM
I have a grid every row on which is selectable. when I click on a row, a tabstrip must appear the first tab of which is another grid. However, although declared as "ajaxified", the new grid is not at all. Apart from seeing the content, one cannot do anything else than be redirected to a new page if trying to edit or insert. The interesting thing is that when I click on another row, the tab again loads the second grid, yet this time it is fine. The problem lies in loading the javascript code in a partial view, I guess, however I think I've added all the necessary files to the script registrar

One more thing, the second tab must open a form , which also has some JQuery inside. As you might guess, this code doesn't work as well.

What can I do ?

6 Answers, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 23 Apr 2010, 09:27 AM
Hello Preslav Rachev,

Review this online help article which partially covers your problem.

Best wishes,
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.
0
Preslav Rachev
Top achievements
Rank 1
answered on 23 Apr 2010, 10:08 AM
How can I trigger the onSuccess event  when changing tabs ?
Still, why are grids not functional on the first load, and on a second click, everything loads fine ? Should I make sure that a grid is processed  if an onSuccess occurs ?
0
Preslav Rachev
Top achievements
Rank 1
answered on 23 Apr 2010, 10:11 AM
I've got no telerik.component.min.js in my package. Will including that file solve the problem ? I did not have it after downloading the package
0
Georgi Krustev
Telerik team
answered on 23 Apr 2010, 10:42 AM
Hi Preslav Rachev,

I suggest you review this help article which describes which are the required javascript files.
Nevertheless  I have attached a simple test project which implements the part of the required functionality.

All the best,
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.
0
Preslav Rachev
Top achievements
Rank 1
answered on 23 Apr 2010, 01:15 PM
I tried opening the provided example with installations of Visual Studio, and it wasn't working. VS doesn't want to open the solution at all
0
Georgi Krustev
Telerik team
answered on 23 Apr 2010, 01:33 PM
Hello Preslav Rachev,

The project can be opened with VS 2008 or later. I tried the attached zip and everything was fine on my end.

Greetings,
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
Preslav Rachev
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Preslav Rachev
Top achievements
Rank 1
Share this question
or