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

Fiilter Complete Event

3 Answers 63 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 2
Chris asked on 09 Jan 2009, 02:01 PM
Hi I have a RadGrid with a number of email addresses in it. In the databound event i then create a semi-colon delimited list for a TextBox on the page to allow the user to copy and paste directly to outlook. I have just enabled the filtering and I can't see anyway to trigger the list creation method after the filter has been applied.

Can you please let me know how I can detect the the filter has been applied.

Thanks

Chris


3 Answers, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 12 Jan 2009, 07:57 AM
Hello Chris,

In this case, you can move the logic to the PreRender event handler of the control. There, you can iterate through all the items in the grid (RadGrid1.MasterTableView.Items), get all relevant cells, and alter their contents.
I hope this helps.

Sincerely yours,
Yavor
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Chris
Top achievements
Rank 2
answered on 12 Jan 2009, 03:48 PM
Hi Yavor,
               thanks for your help. Putting the list generator in the PreRender deos work. The one thing i forgot to mention was that the grid is ajaxified and to that end I had to add a settign to the Ajax manager to say that the grid updates the rest of the controls, after that all working very nicely.

Thanks

Chris
0
Yavor
Telerik team
answered on 13 Jan 2009, 09:59 AM
Hi Chris,

I assume the setup is functioning as per your requirements now. Having the proper Ajax settings in place ensure that the elements are updated on the client as needed.
Good luck with your work!

Kind regards,
Yavor
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
Chris
Top achievements
Rank 2
Answers by
Yavor
Telerik team
Chris
Top achievements
Rank 2
Share this question
or