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

[Solved] Possible Bug

3 Answers 33 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
john
Top achievements
Rank 1
john asked on 05 Nov 2010, 06:13 PM
Hello,

I have posted this on the grid forum, but am posting it here in hopes of gaining some interest.

I have the telerik MVC Grid in the MVC Tab.  Adding client events to the grid does not work:

//.ClientEvents(events => events
// OnRowSelect("onRowSelect")
// )  

However, when the grid is NOT inside the MVC tab, it does work.  Is this a bug?

John 

3 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 08 Nov 2010, 09:35 AM
Hi john,

 Are you loading the grids with Ajax? If yes you need to load the JavaScript files required by the grid.

Regards,
Atanas Korchev
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
john
Top achievements
Rank 1
answered on 11 Nov 2010, 11:37 PM
Looks like we have the required javascript files.  You see, the grid works with client side events -- but only if the grid is placed outside of the tab control.  If the grid is placed inside the tab control, I am unable to render client side events.
0
Atanas Korchev
Telerik team
answered on 12 Nov 2010, 09:10 AM
Hello john,

 I am sending a working example.

Regards,
Atanas Korchev
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
General Discussions
Asked by
john
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
john
Top achievements
Rank 1
Share this question
or