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

[Solved] Ajax databinding not working

0 Answers 99 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.
Trupti
Top achievements
Rank 1
Trupti asked on 07 Apr 2011, 11:25 PM
Hello,

I am using ajax databinding select method as :-
Sample.ascx

.DataBinding(databinding => databinding.Ajax().Select(

 

"Select","Show"))
where in ShowController.cs
 

 

 

[

 

GridAction]

 

 

 

public ActionResult Select()

 

 

{
    ---Some code

    return View(new GridModel(v));
}

Also sample.ascx is rendered in partial control AddSample.ascx.
The hierchy is Areas->ShowSample->Controllers->ShowController
               Areas->Views->Show->AddSample.ascx    
                Areas->Views->Show->Sample.ascx   

The grid is rendering correctly only Select ajax action is not called.

Please suggest any solution.
Thanks             


 

 

 
Tags
Grid
Asked by
Trupti
Top achievements
Rank 1
Share this question
or