Hello everyone,
I have a question regarding radgridviews. If an object radgridview has focus and I press the pagedown key, the gridnavigator moves down to the last of the visible rows, or if it is already in the last of the visible rows it moves down as many rows as rows are visible. The same applies to the pageup key.
I have a radtextbox where I start to write something reseting a one second timer with every keypress, and when the timer goes off I launch a query with the content of the textbox. While in the textbox, if I press the left or right key I move between the characters in it. If I press the up or down key I use the gridnavigator of the gridview to move up or down one row. If I press the enter key, loads the content of the selected row in another form.
I searched the methods of the gridnavigator and couldn't find something to make that easily. Now the question is, is there an easy way to simulate the pageup or pagedown when the focus is in a component that it isn't the radgrid?. Or should I start making calculations like if the current rows divided by the visible rows the remainder is 0 use the gridnavigator to move the number of visible rows down or if it isn't 0 move x rows where x is the number of rows needed to reach the bottom?
I hope you can understand my question, thanks.