Michael Abrahamsen
Top achievements
Rank 1
Michael Abrahamsen
asked on 04 Apr 2008, 03:54 PM
Hello,
With Prometheus 2007.3.1314.20 I'm using a css class .GridRowOver_Default td to have DataRows highlight on mouseover.
I'm also using
Both of these work fine when my RadGrid is first loaded. However, after I go to a different page of data (using any method, next/prev, number, etc) both the style and the script no longer work.
I tried quickly switching to version 2007.3.1425.20, but that didn't help. In fact, then the GridRowOver_Default style didn't work at all. Not even on the first page of data.
Thanks for any help you can provide.
With Prometheus 2007.3.1314.20 I'm using a css class .GridRowOver_Default td to have DataRows highlight on mouseover.
I'm also using
<ClientSettings>to respond to mouse click anywhere on the row.
<ClientEvents OnRowClick="rg_RowClick" /> </ClientSettings>
Both of these work fine when my RadGrid is first loaded. However, after I go to a different page of data (using any method, next/prev, number, etc) both the style and the script no longer work.
I tried quickly switching to version 2007.3.1425.20, but that didn't help. In fact, then the GridRowOver_Default style didn't work at all. Not even on the first page of data.
Thanks for any help you can provide.
4 Answers, 1 is accepted
0
Hi Michael,
I tried to reproduce the described issue but unfortunately without much success. Please find attached a sample project which works as expected using 2007.3.1425.20 version of Telerik Web.UI. Test it on your side and let us know what the difference in your scenario is. This can lead us to the core of the issue to eliminate it asap.
Best regards,
Maria Ilieva
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
I tried to reproduce the described issue but unfortunately without much success. Please find attached a sample project which works as expected using 2007.3.1425.20 version of Telerik Web.UI. Test it on your side and let us know what the difference in your scenario is. This can lead us to the core of the issue to eliminate it asap.
Best regards,
Maria Ilieva
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Michael Abrahamsen
Top achievements
Rank 1
answered on 07 Apr 2008, 06:22 PM
Hi Maria,
The problem is introduced with a RadAjaxManager that I'm using for searching/filtering my grid. Apparently, the paging postbacks are also being handled by this AjaxManager. If I set EnableAJAX="false" the problem is fixed but then of course the partial postbacks are lost.
Thanks again.
The problem is introduced with a RadAjaxManager that I'm using for searching/filtering my grid. Apparently, the paging postbacks are also being handled by this AjaxManager. If I set EnableAJAX="false" the problem is fixed but then of course the partial postbacks are lost.
Thanks again.
<telerik:RadAjaxLoadingPanel runat="server" ID="ralp1" InitialDelayTime="0" MinDisplayTime="500"...
BackColor="#EEEEEE" Transparency="10">
<asp:Image runat="server" EnableViewState="false" ImageUrl="~/images/loading1.gif" />
</telerik:RadAjaxLoadingPanel>
<telerik:RadAjaxManager ID="rjm1" runat="server" DefaultLoadingPanelID="ralp1">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="rjm1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="DataGrid1" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
function RebindGrid()
{
window['<%=rjm1.ClientID %>'].AjaxRequest("Rebind");
}
0
Accepted
Hello Michael Abrahamsen,
I tested the scenario again, and find out that this actually is a bug in the 2007.3.1425.20 version of Telerik Web.UI. Please find an attached the latest unofficial build of Telerik Web.UI, which should resolve the issue. Test it on your side and let me know how it goes.
Best wishes,
Maria Ilieva
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
I tested the scenario again, and find out that this actually is a bug in the 2007.3.1425.20 version of Telerik Web.UI. Please find an attached the latest unofficial build of Telerik Web.UI, which should resolve the issue. Test it on your side and let me know how it goes.
Best wishes,
Maria Ilieva
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Michael Abrahamsen
Top achievements
Rank 1
answered on 09 Apr 2008, 01:41 PM
Hi Maria,
Yes, this new build seems to do the trick. Thanks!
A couple of stumbling blocks:
1. The javascript method AjaxRequest() has been renamed to ajaxRequest().
2. Before I merely created the style "GridRowOver_{SkinName} td" and the row mouseovers just worked. This was super slick! Now, unless I'm missing something, it seems I have to create javascript methods and ClientEvents, etc. Not nearly so friendly. Please consider going back to the old method.
Thanks again.
Yes, this new build seems to do the trick. Thanks!
A couple of stumbling blocks:
1. The javascript method AjaxRequest() has been renamed to ajaxRequest().
2. Before I merely created the style "GridRowOver_{SkinName} td" and the row mouseovers just worked. This was super slick! Now, unless I'm missing something, it seems I have to create javascript methods and ClientEvents, etc. Not nearly so friendly. Please consider going back to the old method.
Thanks again.