This question is locked. New answers and comments are not allowed.
Hi,
I have downloaded the sample application available here http://blogs.telerik.com/atanaskorchev/posts/09-01-16/ASP_NET_Ajax_Controls_in_ASP_NET_MVC_-_Announcing_the_sample_application.aspx. The projects in there were referencing Telerik.OpenAccess but for some reason it wasn't available in the projects. So I downloaded Open access and referenced the appropriate library.
This worked but then I have now come across the following problem in file "..\Telerik.Mvc.Providers\OpenAccessMembershipProvider.cs" where "Extent" in scope.Extent isn't recognised.
What is the issue here?
Regards,
David
I have downloaded the sample application available here http://blogs.telerik.com/atanaskorchev/posts/09-01-16/ASP_NET_Ajax_Controls_in_ASP_NET_MVC_-_Announcing_the_sample_application.aspx. The projects in there were referencing Telerik.OpenAccess but for some reason it wasn't available in the projects. So I downloaded Open access and referenced the appropriate library.
This worked but then I have now come across the following problem in file "..\Telerik.Mvc.Providers\OpenAccessMembershipProvider.cs" where "Extent" in scope.Extent isn't recognised.
using
(var scope = MembershipDatabase.GetObjectScope())
{
//Get the user whith the same user name
var user = (from u
in
scope.Extent<User>()
where u.UserName == username
select u).FirstOrDefault();
scope.Transaction.Begin();
//Update his password and push the changes to the database
user.PasswordHash = HashString(newPassword);
scope.Transaction.Commit();
return
true
;
}
Regards,
David