Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
565
XamWebGrid AddNewRow ComboBox problem
posted

This is using 2010.1 release, which may be a bit dated. I don't have much flexibility in upgrading this.

I have the template column editor template set to a combo box. On the CellEnteredEditMode event, the editor property is expected to be of type ComboBox so that I can populate the item source.

For regular data rows, this works correctly.

However, for the "add new row" row, the editor type is still TextBox. It seems it isn't until after this event is fired does the editor change to a ComboBox.

In this case, how can I set the items source to a distinct list of the values in that column?

Edit: If I make at least one other column into a ComboBox as well, then it works.

Parents
  • 35319
    posted

    Hello,

     

    I have been looking into your issue and I can suggest you download our latest version of our NetAdvantage product where you can use ComboboxColumn with XamGrid. Meanwhile I am attaching a sample application(TemplateColumnWithCombo.zip) where the desired functionality is achieved using TemplateColumn.

     

    If you have any other questions on this matter, feel free to ask.

    TemplateColumnWithCombo.zip
Reply Children
No Data