Hello group,
I have a datagrid(dg) and a couple of buttons outside the
dg( 'New'& 'Done'). Have a 'save' button inside the dg that responds
to itemcommand event. On a 'New' button click, the footer(textbox) is
displayed in the dg which acts like a new row addition. the 'save'
button corresponds to the footer textbox and hence triggers the
itemcommand event on a save and the logic to add it as a row to the dg
goes in there.
Now, I need to trigger the same event when one clicks the
'Done' button which is outside the datagrid. Can I get a handle of the
footer(textbox) in the 'Done' event click.
Any help would be appreciated!!
Thanks,
Sam.