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

partial updated panel

3 Answers 58 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 1
Kevin asked on 26 Aug 2008, 02:44 AM
Hi i have this situation where i can't seem to get the back to the way the original ajax was implemented.

previously, when i ajaxed a panel, the panel didn't ajax itself. Now with the new ASP.NET AJAX, the panel does ajax itself. I read several articles that this is the natural behaviour since an ajaxified panel was wrapped around the panel that i set to ajax.  However, this is my scenario...

I have a panel A with three buttons. I also have another panel B with a radstrip and multipage with a lot of pageviews where each pageview  has many other asp.net controls. Now if i tell panel A to ajax panel B, panel B ajaxifies itself.
I dont want this behavior because let's say i click a button in a pageview, the whole panel B is updated.  Since i have a lot of grids and formviews, i don't want the whole panel to be updated. what i want is to click a button in a pageview and have only the grid that specify to be updated. Is there anyway around this?

Kevin

3 Answers, 1 is accepted

Sort by
0
Kevin Babcock
Top achievements
Rank 1
answered on 26 Aug 2008, 01:12 PM
Hello Kevin,

Have you ever tried using the RadAjaxManager? It was designed specifically for this purpose. While the RadAjaxPanel is a great solution for Ajax-ifying the content it contains, the RadAjaxManager allows you to specify which controls on the page update other controls on the page. So it would be very simple to set up a scenario where a button in a separate Panel updates a Grid in your RadMultiPage.

Check out this link for an online demo using the RadAjaxManager and this link for the help documentation.

I hope this helps. If you have any further questions, I'd be happy to answer them for you.

Sincerely,
Kevin Babcock
0
Kevin
Top achievements
Rank 1
answered on 26 Aug 2008, 09:35 PM
Hi Kevin Babcock,

I'm using the radajaxamanager to do this but i don't like the new behavior. ajaxmanager sets panel A to update panel B. B is ajaxifying itself--> therefore if i click anything inside B, everything in it gets updated.

B is the panel that has the radtabstrip and multipage with pageviews. i want panel A with three buttons to update Panel B so i can disable,enable radtabstrip, load pageview at will. I don't want let's say when i click the pager in a grid inside a pageview which is inside panel B, then everything inside Panle B is updated instead of just the grid. The load time for this undesired behavior is very long.

Thanks,
Kevin
0
Kevin Babcock
Top achievements
Rank 1
answered on 27 Aug 2008, 07:21 PM
Kevin,

Would you mind posting the markup for your page so I can take a look at it and help you out further?

Thanks,
Kevin Babcock
Tags
Ajax
Asked by
Kevin
Top achievements
Rank 1
Answers by
Kevin Babcock
Top achievements
Rank 1
Kevin
Top achievements
Rank 1
Share this question
or