This is a migrated thread and some comments may be shown as answers.

Filtering/Paging/Finding

2 Answers 44 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Scott
Top achievements
Rank 1
Scott asked on 23 Dec 2009, 04:39 AM
I have the following elements on a page: RadComboBox, RadGrid, and an Edit/Insert form. The RadComboBox is used to filter the RadGrid and items selected from the RadGrid populate the edit form. One of the items on the form is the filter value from the RadComboBox.

Scenario #1
Filter the RadGrid
Select an Item from the RadGrid
Edit the item so the Current filter no longer applies.

The result I want:
Reset the RadComboBox to the updated filter value from the form.
Select newly edit item in the RadGrid (Note: This NOT a problem until you add paging to the RadGrid)

Scenario #2
Using the insert form to add a new item

The result I want:
Set the RadComboBox to the newly inserted items filter value.
Select the newly created item in the RadGrid (Note: Again this is NOT a problem until you add paging to the RadGrid)

I guess my basic problem is how to find an item in a paged RadGrid when you don't know what page the item is on. Essentially I want to take an id find out what page it is on, set the correct page index, and select the correct row.

I hope that made sense.

Thanks,

Scott

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 24 Dec 2009, 05:49 AM
Hi,

Here is a code library thta you can took a look at. This will give you an idea on how to select an item when paging is enabled.
Select Last Inserted Row in the RadGrid with both Paging and Sorting enabled.

Do let me know if you need  more assistance.

Thanks,
Princy
0
Scott
Top achievements
Rank 1
answered on 28 Dec 2009, 05:57 PM
Princy,

Thanks for your help.

Scott
Tags
Grid
Asked by
Scott
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Scott
Top achievements
Rank 1
Share this question
or