The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Hi,
1. a small bug (3.2.1)
CurrentCell.MovePageDown - Up work opposite.
2. May be you can help me in a very
specific issue.
In a GridGontrolBase which activates
custom controls without real need of renderers. I activated them myself.
(at any case - Every cell has a staticRenderer).
One cell of them does not activate a control .
I handle it directly from Grid, drawing
images and accepting keyboard keys.
What is my problem .
if no other control was activated before then if I click it is activated
immediatelly with the frame and accepts
keyboard.
When another control is activated
and deactivated later (by me, without
raising any events ) in CurrentCell moving before continue to this cell, then the cell it does not
activating but it is the Current Cell.
I have tried everything to activated it
in CurrentCell.Moved.
I have tried and in another place
with MoveTo with different Options but in this case it is activating but it
does not accept the first keyboard key.
if you have any idea about this
I will appreciate it.
Thanks
Stefan
ADAdministrator Syncfusion Team May 30, 2005 04:49 PM UTC
Thank you for reporting the pageup/pagedown problem.
Try calling CurrentCell.ResetCurrentCellWithoutDeactivate in CurrentCellMoved to see if that will affect this problem.
STStefan TsalapatisMay 30, 2005 08:02 PM UTC
Thanks Clay
The ResetCurrentCellWithoutDeactivate
solved one part of the problem
( it accepted the keyboard but it did not draw the frame and it did not refresh the previous cell).
But I inspired and I found another solution:
In DrawCell
I check for CurrentCell.IsInMoveTo
and do the appropriate action.
It works excellent.
By the way I have two minor questions:
1. If I want (in special cases)
to force the drawing of cell by demand
( not in OnDraw or DrawCell )
I need the Graphics .
I create fromHwnd and release after.
Is it the right way ?
2. Is there any function to Draw the
Activation Frame of the current cell.
Thanks again
>Thank you for reporting the pageup/pagedown problem.
>
>Try calling CurrentCell.ResetCurrentCellWithoutDeactivate in CurrentCellMoved to see if that will affect this problem.
ADAdministrator Syncfusion Team May 30, 2005 08:39 PM UTC
1) Yes.
2) The currentcell frame is normally drawn by this virtual method in the cellrenderer class. OnOutlineCurrentCell. There is no helper method used that actually draws it though.