Hi to all,
I have a radgrid, rad textbox and 2 radbutton(next and prev)
my scenario is the radgrid are populated with data and set the property of "single row selection on client"
ex.
filename
apple
Cherry.
tuna
dog
bottle
when the user select the 2nd row of radgrid and click the radbutton "next", the value of 3rd row will pass to the radtextbox and automatically the 3rd row will be selected and highlighted.
if the user click the radbutton "Prev" , the value of 1st row will pass to the radtextbox and automatically the 1st row will be selected and highlighted.
*Note: if there's "NO" selected row and click the next button the first row must be the return value and automatically the first row will be selected and highlighted. if it reached the end of the record it will just prompt message "end"
and vise versa of previous button.
I want to solve this via JavaScript....
please help
I have a radgrid, rad textbox and 2 radbutton(next and prev)
my scenario is the radgrid are populated with data and set the property of "single row selection on client"
ex.
filename
apple
Cherry.
tuna
dog
bottle
when the user select the 2nd row of radgrid and click the radbutton "next", the value of 3rd row will pass to the radtextbox and automatically the 3rd row will be selected and highlighted.
if the user click the radbutton "Prev" , the value of 1st row will pass to the radtextbox and automatically the 1st row will be selected and highlighted.
*Note: if there's "NO" selected row and click the next button the first row must be the return value and automatically the first row will be selected and highlighted. if it reached the end of the record it will just prompt message "end"
and vise versa of previous button.
I want to solve this via JavaScript....
please help