Hi,
I'm using SilverLight 4.0 with a RadDataPager bound to a RadDataGrid to display and edit some data. When the user edits data and then tries to move to a different page without saving, I've got an event handler for the PageIndexChanging event of the pager displaying a modal dialog with yes/no/cancel options appearing. If the user selects cancel, I simply set the eventargs' cancel property to true. This works fine, and the page does not change, but on the UI it will show the new page is selected, even though it is not.
For example, if the user is on page one, edits the data, clicks page two, selects cancel, then the control remains on page one (and the data is never changed, nor are the unsaved changes lost) but the pager elements on the UI show page two as selected.
Are there any fixes or workarounds for this issue? Thanks.
I'm using SilverLight 4.0 with a RadDataPager bound to a RadDataGrid to display and edit some data. When the user edits data and then tries to move to a different page without saving, I've got an event handler for the PageIndexChanging event of the pager displaying a modal dialog with yes/no/cancel options appearing. If the user selects cancel, I simply set the eventargs' cancel property to true. This works fine, and the page does not change, but on the UI it will show the new page is selected, even though it is not.
For example, if the user is on page one, edits the data, clicks page two, selects cancel, then the control remains on page one (and the data is never changed, nor are the unsaved changes lost) but the pager elements on the UI show page two as selected.
Are there any fixes or workarounds for this issue? Thanks.