I have a master webDataGrid which on row change needs to update a child webDataGrids entityDataSource. I am attempting to do this with a where parameter, but receive the following error - how can I achieve this?
EntityDataSource Where
<WhereParameters> <asp:ControlParameter ControlID="uxParentGrid" Type="Int32" Name="ParentId" PropertyName="SelectedValue" /> </WhereParameters>
ERROR
DataBinding: 'Infragistics.Web.UI.GridControls.WebDataGrid' does not contain a property with the name 'SelectedValue'.
Thanks, that solves my question.
Hello,
I am attaching a sample, demonstrating this functionality. You have to set up the connection string to link to your local Northwind database.
Please let me know if you have any questions.
Can you provide an example of what's required for master/detail webDataGrids using entityDataSources? I would like to take advantage of the entityDataSource built in CRUD functionality so I can add records to either grid, edit and delete records from the one screen.
I haven't included any sample code as it would complicate what is a simple problem, I haven't built anything that would be useful to this discussion (I've been going around in circles!). Hence, I would like to use your recommended approach for this scenario. Thanks.
Can you please share your code used for updating the child WebDataGrid. From the provided details I am unable to tell what is the reason for this error. Any other information about your scenario would be helpful. Thank you.