This is a migrated thread and some comments may be shown as answers.

RadGrid NeedDataSource Firing Without Cause

1 Answer 126 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jimmy Hill
Top achievements
Rank 1
Jimmy Hill asked on 12 Nov 2010, 07:45 PM
I am using a RadGrid with advanced data binding. I have an image in my grid that has two tooltip managers attached to it. The first one is attached to the onmouseover event and the second is attached to the onclick event. For the most part, things are working properly. Both tooltips appear when their respective events are fired. The content of both tooltips are user controls loaded via AJAX.

The Problem:

When I click the image and then immediately click it again (while the content is loading) or move my mouse off of it (or some combination of both), the RadGrids NeedDataSource event fires. This does not happen all the time, only when I click multiple times or move my mouse off the image while the tooltip content is loading (as users tent to do). The Rebind reason given in the GridNeedDataSourceEventArgs is InitialLoad.

This causes a number of issues. Mainly, when I attempt to update session value(s) in the NeedDataSource event, the value of the controls are not present.

Any ideas why the NeedDataSource event is being fired?

Edit: I'm using 4.0 framework with the latest Telerik controls.

1 Answer, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 18 Nov 2010, 12:26 PM
Hi Jimmy,

The described behavior is indeed strange and we are not aware of such problems now.
Can you open a formal support ticket or Bug Report adn send us a runnable sample to  debug it locally and find the cause of it.

Sincerely yours,
Iana
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Grid
Asked by
Jimmy Hill
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Share this question
or