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
230
In javascript I want to get the text which is in 'UltraGridColumn'
posted

I have added a asp:checkbox in TemplatedColumn and in InitializeRow event add 'onclick' event of javascript like this

chkBox.Attributes.Add("onClick", "ValidateOnCheck('" & chkDisplay.ClientID & "')")

when i checked the check box it has to validated the next cell (ie. UltraGridColumn) text.

Waiting for reply.

Thanks

  • 230
    Verified Answer
    posted

    <ClientSideEvents AfterCellUpdateHandler="AfterCellUpdateHandler"/> Rocks and few javascript

    function AfterCellUpdateHandler(gridName, cellID) {

            var grid = igtbl_getGridById(gridName);

            var cell = igtbl_getCellById(cellID);

            var row = cell.getRow();

     

           alert(cell.getValue());

    }