Steps to Reproduce:
- Open the attached web site;
- Set a breakpoint at the ASPxGridView1.RowValidating event handler;
- Run the project;
- Invoke the edit form;
- Click the "Update" button
Actual Results:
In this situation, both FindEditFormTemplateControl and FindEditRowCellTemplateControl methods return null (Nothing)
Hi,
You have to use the FindEditRowCellTemplateControl method. Here is the working example:
Protected Sub ASPxGridView1_RowValidating(ByVal sender As Object, ByVal e As DevExpress.Web.Data.ASPxDataValidationEventArgs) Handles ASPxGridView1.RowValidating
Dim Cbo As DevExpress.Web.ASPxEditors.ASPxComboBox = TryCast(ASPxGridView1.FindEditRowCellTemplateControl(ASPxGridView1.Columns("CategoryID"), "ASPxComboBox1"), DevExpress.Web.ASPxEditors.ASPxComboBox)
End Sub
Thank you,
Andrew .Net R&D.
Dear Gabriel,
We've examined this issue in more detail, and confirm that the problem exists. So, we've reactivated this bug report, and will continue working on this problem.
We apologize foe the confusion.
Thanks,
Vito
Yes, indeed the FindEditRowCellTemplateControl method works incorrect for PopupEditForm.
It is fixed now.
Thank you,
Andrew .Net R&D.