Click here to Skip to main content
15,919,434 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hellow everyone..

this is sohaib ameen here and I am working an asp.net 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
Comments
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

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;
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900