25 Aug 2010
26 Aug 2010
Link to this post
First of all, I'd like to congratulate Telerik on this community. I've come here countless times and found an answer without posting. Something has to be said for that.
However this time, I'm in a crunch and I cannot find an answer. I'm adding custom fields to users in the backend using properties tag in the web.config. However, I need to retrieve this new user information in the front end of the site against these properties pretty quickly. Since this site will have hundreds of users, I cannot retrieve all the users into a collection and then individually test if the property meets my criteria.
I was thinking that I can override the SaveUser and Create buttons on the Users.aspx to insert my custom fields into a table, thus I can retrieve the data in the front end quickly using Linq. I'm not quite clear how these buttons are wired up since they don't have an OnClick or OnCommand events in the codebehind..
Or is there a way to do this with just the property meta data? Possibly something like: Membership.FindUsersByProperty([name], [value]);
Thanks in advance,