Hi,
I am using validation in ultragrid before cell update and after cell update event.my grid is in edit mode.my problem is that:=
if i am editing a cell and click on scrollbar bar of ultragrid then the scrollbar is not working properly.i think its due for edit mode of ultragrid. in which event i am setting the exit edit mode of ultragrid.
If you are editing a cell in the WinGrid and you click on the scrollbar that should force you to exit edit mode. When I tested this I found that the scrolling did work. Are you doing something in the AfterExitEditMode event that is interfering with the working of the scroll bar? What do you mean when you say that the scrollbar is not working properly?
i am not using AfterExitEditMode event .but i solved my problem using check the element in mouseup event like
if
(element.ToString() != "Infragistics.Win.UltraWinScrollBar.ScrollThumbUIElement" && element.ToString()!="Infragistics.Win.UltraWinScrollBar.ScrollTrackSubAreaUIElement" && element.ToString()!="Infragistics.Win.UltraWinScrollBar.ScrollArrowUIElement"
)
this.ultraGrid.PerformAction(UltraGridAction.EnterEditMode, false, false
);
Thanks
{