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

Creation RadPersistenceManagerProxy dinamically

1 Answer 52 Views
Persistence Framework
This is a migrated thread and some comments may be shown as answers.
DEDALUS
Top achievements
Rank 1
DEDALUS asked on 21 Apr 2016, 09:26 AM

Hi,

After some workaround about creating RadPersistenceManagerProxy dinamically and checking some examples from the website I canĀ“t find any information about this.

This is the scenario. I have class CustomGrid that inherits from RadGrid. Within this class I tried without success to create a RadPersistenceManagerProxy so I would have it for every page. I tried to do it in the page code, in the class itself and in different events without succes.

Is there any way to do it?

I would like to have this feature so I would not have to create it manually in every page.

Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 26 Apr 2016, 08:50 AM
Hi Dedalus,

Please keep in mind that creating custom controls is beyond our support scope even if they are inherited directly from Telerik UI controls. If you happen to come across the need to implement something like this, you can use UserControls.

As for creating the controls dynamically, you can try to do that during the Page_Init event handler. For testing purpose, you can create the persistence manager declaratively in the aspx mark-up and see whether everything works as expected.

Regards,
Eyup
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
Persistence Framework
Asked by
DEDALUS
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or