Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
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 21-Dec-12 23:59pm
Comments
Sampath Kumar Sathiya at 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 at 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
good
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;
  Permalink  

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

  Print Answers RSS
0 Nirav Prabtani 343
1 OriginalGriff 207
2 Mika Wendelius 185
3 CPallini 179
4 Sergey Alexandrovich Kryukov 176
0 Nirav Prabtani 398
1 OriginalGriff 292
2 Sergey Alexandrovich Kryukov 251
3 Mika Wendelius 185
4 Abhinav S 180


Advertise | Privacy | Mobile
Web04 | 2.8.140721.1 | Last Updated 24 Dec 2012
Copyright © CodeProject, 1999-2014
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