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
475
How to get the value from the WHDG Child Column
posted

Hi,

How can i get the value of particular column in the particular row.In normal ASp gridview we can get the value by GridView.Rows(0).Cells(1).Value.ToString().Suppose i want to get the value of secondcolumn in firstrow of the child.IS dat using rowislands can we get that.?Please help me with this issue.

 

Regards,

Hsakarp

Parents
  • 7499
    Verified Answer
    posted

    Hello Hsakarp,

    You can get the text from the WHDG Child Column using the following code.

    protected void WebHierarchicalDataGrid1_RowIslandDataBound(object sender, RowIslandEventArgs e) { ContainerGrid childGrid = this.WebHierarchicalDataGrid1.GridView.Rows[0].RowIslands[0];

    string str= childGrid.Rows[0].Items[1].Text;

    }

    Please let me know if you have any further questions regarding this matter.

Reply
  • 75
    Offline posted in reply to [Infragistics] Surya

    Dear Prabha!

        How to get value of item template of WHDG Child Column when i submit form. I've two event RowIslandsPopulating to populating child data and RowIslandDataBound to get value data after change but when I submit form I have no value of data. I debug see detail event RowIslandsPopulating exec when I submit form and populate data and refresh child grid. Can you show me to solution

Children