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

Bind to Membership.GetUsers()

1 Answer 72 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Garry
Top achievements
Rank 1
Garry asked on 12 Jul 2008, 12:14 AM
Probably an easy solution, but does anyone knwo how to get RadGrid to bind to Membership.GetUsers()?

I get the following error The DataSourceID of 'UserAccounts' must be the ID of a control of type IDataSource.  'UserAccounts' is not an IDataSource.

UserAccounts is the ID of my grid. I believe this should be an easy solution if I onyl knew how to conver the MembershipUserCollection to an IDataSource.

Any help would be greatly appreciated!

1 Answer, 1 is accepted

Sort by
0
Garry
Top achievements
Rank 1
answered on 12 Jul 2008, 01:50 AM
Guess please ignore this post. It was as simple as I thought and I am almost embarrassed to say that I had the DataSourceID of the grid set to UserAccounts.

Even as plain as the error message was I way over thought it and missed the obvious.

Sorry!
Tags
Grid
Asked by
Garry
Top achievements
Rank 1
Answers by
Garry
Top achievements
Rank 1
Share this question
or