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

RadPersistenceManagerProxy ChildPages controls can't have same name

8 Answers 41 Views
Persistence Framework
This is a migrated thread and some comments may be shown as answers.
danparker276
Top achievements
Rank 2
danparker276 asked on 01 Aug 2013, 05:12 PM
This is probably the intended behavior, but if I have 2 grids on 2 different child pages with the same name (ID), then they will use the same settings.  If you're using RadGrid1 for all your grids in the child pages, this will screw things up.  I don't do that, but sometimes I uses the same name like gridOrders...  The easy solution and what I'm doing is to make the names unique.
I put the RadPersistenceManager on the master and use the proxy on the child pages.

I'm guessing that I just need to make the names unique and there probably isn't a fix you can do for this.

8 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 06 Aug 2013, 12:26 PM
Hello Dan,

I think this should be fixed so I logged it in feedback portal here. We will do our best to address the issue for a future version of the persistence framework. I also updated your Telerik points as a sign of gratitude for the bug report.

Regards,
Daniel
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
TonyG
Top achievements
Rank 1
answered on 07 Jan 2014, 09:07 PM
Sincere thanks for preventing me from falling into this issue Before it happened. I'm just about to implement persistence on grids in user controls loaded into tabs. The controls derive from a common base class, with variation depending on the tab being viewed, so my control names are identical.

 +1 on the change request.
0
Daniel
Telerik team
answered on 10 Jan 2014, 03:44 PM
Hello,

I would advice everyone interested in this item to vote for it in order to increase its priority.

Regards,
Daniel
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
moegal
Top achievements
Rank 1
answered on 01 Mar 2014, 08:05 PM
has this been fixed yet, I am having a problem with 2 grids on 2 different pages with different data. But persistence onnly works for one at a time.

Is there a work around?

Marty
0
Daniel
Telerik team
answered on 05 Mar 2014, 12:27 PM
Hello Marty,

This bug is not fixed yet but we will do our best to address it as soon as possible. The workaround would be to use different IDs.

Regards,
Daniel
Telerik

DevCraft Q1'14 is here! Join the free online conference to see how this release solves your top-5 .NET challenges. Reserve your seat now!

0
moegal
Top achievements
Rank 1
answered on 05 Mar 2014, 04:00 PM
i've changed the grid ID's but I am still having an issue, do I need to change every ID for each control in the grid?
0
Daniel
Telerik team
answered on 10 Mar 2014, 06:21 PM
Hello Marty,

I'd like to examine your setup, if possible. Can you please post a simplified code that shows your approach? I don't need the full code, only a high level overview.

Thanks,
Daniel
Telerik

DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

0
moegal
Top achievements
Rank 1
answered on 11 Mar 2014, 08:42 PM
Daniel,

Thanks, I will put something together.

Marty
Tags
Persistence Framework
Asked by
danparker276
Top achievements
Rank 2
Answers by
Daniel
Telerik team
TonyG
Top achievements
Rank 1
moegal
Top achievements
Rank 1
Share this question
or