Dynamic ValueList per Row

6 replies. Last post: February 18, 2010 8:46 PM by Glenn Layaar
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback

(This is my 4th time trying to Submit this.  Excuse me if there are multiples.)

I am trying to populate List Items in a Column of EditType DropDownList or WebComboNet based on a Value in the same Row.

As an example with the Northwind database, each WebGrid Row would contain [Order Details].[OrderID].  On the same WebGrid Row there would be a Column of EditType DropDownList/WebComboNet EditType that is a List of [Order Details].[ProductID]s for that [Order Details].[OrderID]

I see I can link the WebCombo to another WebCombo but that is not my case.  My case would be a WebGridColumn of EditType NoEdit or just a value in the DataRow.

With MS Gridview, I can dynamically populate a DropDownList in the Gridview's RowDataBound Server-Side Event.

I have looked at the OnInitializeRow Server-Side Event and can get the Row Values but can not figure out how to get to the ValueList of the DropDownList or WebCombo in that Row.

I image I could use Client-Side Load on Demand or On the Fly Postback however since the ListItem List count would be less than 10, I don't want to experience the delay of a round-trip back to the Server.

Thanks,

Doug

All times are GMT -5. The time now is 11:56 PM.
Previous Next