Problem properly displaying data in 3rd party control using WebBusinessBindingSource


Author
Message
Rob Toyias
Rob Toyias
StrataFrame Beginner (47 reputation)StrataFrame Beginner (47 reputation)StrataFrame Beginner (47 reputation)StrataFrame Beginner (47 reputation)StrataFrame Beginner (47 reputation)StrataFrame Beginner (47 reputation)StrataFrame Beginner (47 reputation)StrataFrame Beginner (47 reputation)StrataFrame Beginner (47 reputation)
Group: Forum Members
Posts: 31, Visits: 179
I'm having difficulties trying to display data in a Telerik RadGrid that is bound via a WebBusinessBindingSource.  First I fill the bound BO with 3 records.  The RadGrid ends up displaying 3 items (or how ever many I've filled the BO with) but each line displays the data from the first record.  All the fields are displaying correctly, including the custom ones, except that it's the same data 3 times.

I've created a duplicate RadGrid that I connect directly to the BO, bypassing the WBBS and I get my 3 records and each line is displaying the correct data.  Except that here my custom fields are not displaying correctly.

Finally, just to take all the wind out of my sales when I use the default GridView bound via the WBBS it displays normally, different data on each line and the custom fields are displaying correctly...

How do I fix this?  

Replies
Rob Toyias
Rob Toyias
StrataFrame Beginner (47 reputation)StrataFrame Beginner (47 reputation)StrataFrame Beginner (47 reputation)StrataFrame Beginner (47 reputation)StrataFrame Beginner (47 reputation)StrataFrame Beginner (47 reputation)StrataFrame Beginner (47 reputation)StrataFrame Beginner (47 reputation)StrataFrame Beginner (47 reputation)
Group: Forum Members
Posts: 31, Visits: 179
Thanks Ben!

Something else that isn't working when I bind via the WBBS is pagination.  When I enable pagination, set pagesize to 3 and fill my BO with 5 records,  I get the footer but I have 5 records displayed rather than the 3 I would expect.  If I bind the same RadGrid directly to the BO (rather than to the WBBS) I can paginate normally, but I get 'System.Data.DataRowView' where I should be seeing my custom fields.

I really appreciate your help on this!

StrataFrame Team
S
StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
When you are working with the pagination, are you binding to the RadGrid, or just to the basic DataGridView?
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search