Click here to Skip to main content
13,248,343 members (44,382 online)
Rate this:
Please Sign up or sign in to vote.
Hellow everyone..

this is sohaib ameen here and I am working an developer in lahore pakistan.
I am working on a project my company advised me to so I am using Jquery, Ajax, Mvc3 , entity framework now a days for it.

I got a View of "FindStudentDetails" on which I have a button "AddStudent" when user will click on it then it will redirect the user to "AddNewStudent" form which is a partial View. I have rendered partial view in that view and contents are replaced but a little problem arises here. Controls of partial view does not run (Keno UI Controls)
on FindStudentPage but when I rendered the actual view not the partial one then controls starts working ..

Please suggest me a solution because I have to move on ...
Posted 22-Dec-12 0:59am
Sampath Kumar Sathiya 23-Dec-12 23:40pm
Are you opening partial view alone in separate page or using div and replacing the content of it using ajax call?
Sohaib Ameen 23-Dec-12 23:46pm
well I am using Divs with ajax, on ajax call partial view replaces div's contents with new contents

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

As you are using Kendo controls in your partial view, you may need to add following code at the top of that

@using Kendo.Mvc.UI;
@using Kendo.Mvc.Extensions;

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.171114.1 | Last Updated 24 Dec 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100