WebBusinessBindingSource


Author
Message
Charles Thomas Blankenship...
Charles Thomas Blankenship
Advanced StrataFrame User (708 reputation)Advanced StrataFrame User (708 reputation)Advanced StrataFrame User (708 reputation)Advanced StrataFrame User (708 reputation)Advanced StrataFrame User (708 reputation)Advanced StrataFrame User (708 reputation)Advanced StrataFrame User (708 reputation)Advanced StrataFrame User (708 reputation)Advanced StrataFrame User (708 reputation)
Group: Awaiting Activation
Posts: 172, Visits: 12K
I've dropped the WBBS on the ASPX, wired it up to the business object and then made the WBBS the datasource for both a standard MS GridView and the ASPxGridView ... all of the columns are marked as ReadOnly = false but none of the columns are editable.

Anyone have a clue as to why I cannot edit the columns?

CT

Charles T. Blankenship
Senior Consultant
Novant Consulting, Inc.
704.975.7152
http://www.novantconsulting.com
Reply
Charles Thomas Blankenship...
Charles Thomas Blankenship
Advanced StrataFrame User (708 reputation)Advanced StrataFrame User (708 reputation)Advanced StrataFrame User (708 reputation)Advanced StrataFrame User (708 reputation)Advanced StrataFrame User (708 reputation)Advanced StrataFrame User (708 reputation)Advanced StrataFrame User (708 reputation)Advanced StrataFrame User (708 reputation)Advanced StrataFrame User (708 reputation)
Group: Awaiting Activation
Posts: 172, Visits: 12K
Solved it ... at least I think I did.  The WBBS and the ASPxGrid control simply worked differently than I thought.  After placing the grid in Edit mode, making a change, then pressing the grid's save button the grid successfully commits the change but to the business object data fields not the database itself.  Therefore, in order to get the data from the BO to the database, in the grid's DataUpdated method I  simply had to call the BO's Save() method.  If anyone has a better way I'd like to hear it.

Charles T. Blankenship
Senior Consultant
Novant Consulting, Inc.
704.975.7152
http://www.novantconsulting.com
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