Welcome Guest Search | Active Topics | Sign In | Register

Datagrid with FullRowMode="True" and event-control via ClientSideOnItemSelected Options
Felix Weinraub
Posted: Friday, August 12, 2011 12:30:13 PM
Rank: Member
Groups: Member

Joined: 1/5/2009
Posts: 27
If I use the mouse hover over an item of the grid, the appearance of the mouse pointer changed from an arrow pointed to a line. Now I can select the item via mouse click.
When I leave the filled area within the cell of the selected item, the appearance of the mouse pointer changed from a line to an arrow pointed.
Now I cannot deselect/select the item via mouse click.

Might I have missed something?
Felix Weinraub
Posted: Friday, August 19, 2011 8:30:45 AM
Rank: Member
Groups: Member

Joined: 1/5/2009
Posts: 27
As a supplement to the problem because I believe that I am not understood:
System environment: WEB Datagrid with FullRowMode is set to True and event ClientSideOnItemSelected.
The WEB-Grid is identical to the structure of \Net20\Samples\CS\Demos\Grid\Features\Row Selection\demo.aspx

Clicking any cell in a row DOES NOT fire the ClientSideOnItemSelected event!

It only fires, when clicking in a filled area within the cell of the selected item and the appearance of the mouse pointer changed to a vertical line (edit mode).

Clicking in a unfilled area within the cell of the selected item, the appearance of the mouse pointer changed to a an arrow and the ClientSideOnItemSelected event does NOT fire ??!!

Any ideas? It is very important because the control is so not usable!




eo_support
Posted: Friday, August 19, 2011 8:47:55 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

Our demo page works fine. So something must be different in your code. Please try to isolate the problem into a test page. We will then run the page here and see if we can see the same problem. We will then go from there.

Thanks!
Felix Weinraub
Posted: Friday, August 19, 2011 9:47:32 AM
Rank: Member
Groups: Member

Joined: 1/5/2009
Posts: 27
When I reduce my code (without AjaxControlToolkit and other interfaces) so that only the grid remains, the control will work correct!
I suspect that the operation of the control is influenced by anything negative.

Thanks!
Felix Weinraub
Posted: Friday, August 19, 2011 10:25:33 AM
Rank: Member
Groups: Member

Joined: 1/5/2009
Posts: 27
The explanation is simple, the error too:
The control was included in a div-container that had a lower z-index as the container above.

Arrgh!!?
eo_support
Posted: Friday, August 19, 2011 10:34:55 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

Please always provide a full test page. We could guess but there are millions real life scenarios so we cannot ensure the scenario we guessed is exactly your scenario. So please provide a full test page that contains only code needed to demonstrate the problem and we will then go from there. That way not only it ensures that we are both looking at the same problem, but also gives us a way to verify whatever solution we come up for you will work for you.

Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.