I have a grid with multiple columns and rows of data. Column 2 is a column with button (columntype = ctbutton). The first time user has to click column button twice for a panel to show up.Thereafter the user has to click the button oly once for the panel to show,
How can I get the panel to show up the first time with just one click to the button? tried asyncdopost, grid.invalidate etc.
I have not been able to reproduce this issue. Can you please describe exactly what you are doing? Are you using the OnAsyncButtonClick or the OnButtonClick event? What code are you using in the event handler?
When the user clicks the button inside Col 2, row x the event fired is GridAsyncButtonClick.
There are 4 columns in my grid.
[0] first column is ctRowNumber,
[1] second column is of type string (data from table - form number)
[2] third column is the button
[3] fourth column is string that gets written to this column by button press event of column 3.
When
user clicks the button in the third column [index = 2], the
GridAsyncButtonClick fires and scrapes data frm the second column and
opens the corresponding panel with that form name.
This problem is isolated to the TIWAdvWebGrid column with a button in it. I can display a panel from the OnAsyncClick event of a TIWButton and I do infact do that in other instance. But in this particular instance I specifically need this behavior.
It looks like the Grid doesnt register the onEnter event, if user clicks the button in the column first. is there a mousedown or keypress event that can be forced.
Is there a way to register that user has entered the grid or to fire the
onmouseclick event from the button click so the user does not have to click the
button twice?