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
245
Activate the child form from the ultragrid.
posted

Hi,


i have a form.in that i have the  wingrid.In that grid we have dropdown column. if the drop down column has changed then we need to open the child form.The child form is opening but i am unable to do select on the first click. its working fine in the second click

We have written the code in this below event

ugrdWorkCard_AfterCellListCloseUp

if (e.Cell.DataChanged)
                    {
                         if (cellValue == employee.mark)
                          {
                              // Here i need to open the form.and i want to use only the showdialog() and in a single click i want to select

Can u tell how to do that. Its quite urgent.

  • 430
    Suggested Answer
    posted

    Hi,

    Try using CellListSelect event of the dropdown.

    and to check which column is being click u can use select case

    ex:

    select case e.cell.column.tostring

    case"Column Header"

    call the form here..

    Hope it will work

  • 17259
    Offline posted

    That's probably because AfterCellListCloseUp is happening before DataChanged becomes true. Try the CellChange event.