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
265
Extract value from child control at client-side from TemplateDataField
posted

Hi -

Wonder if someone know how to extract the value from a child control of a TemplateDataField. This must be able to be performed at client-side.

Thanks for any help.

Parents
No Data
Reply
  • 33839
    Suggested Answer
    posted

    Hi epimienta,

    Once you have access to the cell JavaScript object, you can get its JavaScript html element and find your control within that.

    var cellObj = cell.get_element();

    Use cellObj.firstChild or lastChild or search childNodes.  The exact code would depend on the html of the template control.  Let us know if you need help with that.

    regards,

    David Young

Children
No Data