Ok, I have something that was working in the previous control verion (RadControls for ASP.NET):
I have a template column in a grid that has a checkbox on it. The checkbox is autopostback. In the previous version, this checkbox was on it's own ajaxpanel in the template column.. That doesn't work anymore so I removed it. With the grid ajaxed via the ajaxscript manager, the checkbox still posts, but the entire grid is of course being updated. This is ok, though I prefered the previous version (less traffic).
So first question: Is there anyway to ajax the paging on the grid and specifically ajax the checkboxes in the template column - i.e. duplicate functionality from the previous version.
Second question: As I have currently implemented, it's functional. However an odd thing happens - if you click a checkbox, it fires and works. If you then paginate or do anything that causes the grid to callback, the checkbox fires AGAIN. It will fire everytime. And in fact, sometimes seems to fire for other rows. This was never a problem before.
Thanks!
Here's my template column - this basically calls a function that toggles a status. In the previous version, the checkbox would have been wrapped in an ajaxpanel.
I have a template column in a grid that has a checkbox on it. The checkbox is autopostback. In the previous version, this checkbox was on it's own ajaxpanel in the template column.. That doesn't work anymore so I removed it. With the grid ajaxed via the ajaxscript manager, the checkbox still posts, but the entire grid is of course being updated. This is ok, though I prefered the previous version (less traffic).
So first question: Is there anyway to ajax the paging on the grid and specifically ajax the checkboxes in the template column - i.e. duplicate functionality from the previous version.
Second question: As I have currently implemented, it's functional. However an odd thing happens - if you click a checkbox, it fires and works. If you then paginate or do anything that causes the grid to callback, the checkbox fires AGAIN. It will fire everytime. And in fact, sometimes seems to fire for other rows. This was never a problem before.
Thanks!
Here's my template column - this basically calls a function that toggles a status. In the previous version, the checkbox would have been wrapped in an ajaxpanel.
<telerik:GridTemplateColumn UniqueName="ToggleMyFile" HeaderText="MyFile"> |
<ItemTemplate> |
<asp:CheckBox ID="chbMyFile" runat="server" Checked='<%# DataBinder.Eval(Container.DataItem, "bMyFile") %>' AutoPostBack="True" OnCheckedChanged="chbMyFile_Changed" FileID='<%# DataBinder.Eval(Container.DataItem, "iMillFileID") %>'/> |
</ItemTemplate> |
</telerik:GridTemplateColumn> |