I've started to use the RowClick event on the client side and am making immediate edit work so I've implimented this function:
function rgLayouts_RowClick(sender, e) {
var gLayout = <%=rgLayouts.ClientID %>;
gLayout.SetFocusedRowIndex(e.visibleIndex);
gLayout.SelectRows(e.visibleIndex);
gLayout.StartEditRow(e.visibleIndex);
}
Which works well. Selects the row, sets the focus and starts the editing and even selects the right editor. However the Update button doesn't show up in this case (It's set as an image button) Obivously I have the Edit button in my command column set to visible = false because it's not needed.
I think this is a bug but I might not be doing something right…
BTW, I am loving the clientside api for this stuff. I've gotten rid of most of my post backs that I used to have to do and do 90-95% of everything client side now which is fantastic for the user… almost as good as windows programming :)
Steps to Reproduce:
row click a grid row
there is no Update / cancel buttons
Actual Results:
No Update button
Expected Results:
Should show the update button in the command row.
Hi,
Thank you for the report. I have attached my project, which works just fine. I am afraid, I need to analyze your code, as I have not been able to find the cause of the issue.
Thanks,
Plato
Please find attached the page in question. IT's the last grid on the page that is causing the issue.
You can also see it working at: demo.darwinproductions.net
l: demo
p: demo
Go to the comany tab
Type "demo" in the search box and hit search
click on the result
You'll get the employee up
go to the bottom grid and click on any line in the gird. You'll see the guids coming up once you get in edit mode.
Hi James,
Thank you for sending the code to us. I have reproduced this issue. We will fix it in a future update.
Thanks,
Plato
Any chance of an interim build if this isn't going to be 7.3.4 so that I can get this fixed?
Hi James,
I have sent you an email with the download link.
Thanks,
Plato