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
980
Getting addRow values on server side
posted

Hello!

How to get the data from the row meant for addingRow on the server side and not from rowAdding event?

this.WebHierachicalDataGrid1.Behaviors.EditingCore.Behaviors.RowAdding.Row returns null if it's not in the events connected with rowAdding.

Thnaks in advance.

Parents
No Data
Reply
  • 980
    posted

    Ok,

    this.WebHierachicalDataGrid1.GridView.Behaviors.EditingCore.Behaviors.RowAdding.Row 

    works for the rootBand. But then while I'm trying to get the cellValue like this - 

    Infragistics.Web.UI.GridControls.GridRecordItem userName =
                                rowToAdd.Items.FindItemByKey("UserName");

    userName's Text property is "", though that cell of  add row is not empty and even defaultValueAsString is also set not to "".

Children