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
445
commit values from a child level
posted

Hello,

I have a webhierarchicaldatagrid, User could enter his own (numeric) values on one column for the child level.

Each time the cell has been changed, I would like to put background colour in red if value is greater than 100, and make an asynchronous postback in order to run a sql update.

Using <ActivationClientEvents ActiveCellChanged="Handler"/> permits me to triggered an event client side each time I change a value data, but I didn't succeed to get the new value in this cell.

How could I get the new value in JS?

Secondly, How could I make a postback without lost the new data entered?

Thanks for your help

Best Regards

Damien

Parents
  • 12679
    posted

    Hello Damien,

    damienremusat said:
    Each time the cell has been changed, I would like to put background colour in red if value is greater than 100, and make an asynchronous postback in order to run a sql update.

    The attached sample implements a similar scenario your can run it in your side and test. Please note that I've removed the ig_res folder from the website due to size upload limit.

    Let me know if you have any questions.

    WebSite1.zip
Reply Children