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

Grid / Persisting Grid Settings

1 Answer 52 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
ramkumar
Top achievements
Rank 1
ramkumar asked on 26 Jul 2011, 10:03 AM
Hi

I want to use "Grid / Persisting Grid Settings" feature and save in ASPNETDB.MDF.

I refered http://www.telerik.com/community/code-library/aspnet-ajax/grid/storing-multiple-grid-settings-in-database-via-profile.aspx
 and grid preference is  saving in database.

My Question
-------------------

In our application we have username and password and we maintain "username" in  session .

So if I refere the above url , it is saving the windows login id(select UserName from dbo.aspnet_Users)

But i want my  grid setting should be saved based on my user name(which is in session).

so next time if i login with username and password  , grid preference should load automatically


Regards,
Ramkumar


1 Answer, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 29 Jul 2011, 03:34 PM
Hello Ramkumar,

Please refer to the following online demo which provides an approach for the required functionality:

http://demos.telerik.com/aspnet-ajax/grid/examples/programming/savinggridsettingsonperuserbasis/defaultcs.aspx

Test it on your side and let me know if it helps.

All the best,
Maria Ilieva
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
General Discussions
Asked by
ramkumar
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or