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

Ajaxifying the page user control button events

2 Answers 40 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
darshan thacker
Top achievements
Rank 1
darshan thacker asked on 16 Apr 2012, 03:34 PM
hello folks,

i have one simple page containig 3 link buttons. on which different placeholders are loaded dynamically at runtime (usercontrols). in that control view i have button Save on each page which redirects to other placeholder. But on button click i dont wants to get page refersh. what should i use ?

i tried with RadAjaxManager.Rediret(""); but this is refreshing my view. is there any other way ? ;)

example
same page with different view
button1 -> click redirects to placeholder2
button2 -> click redirects to placeholder1
button3 -> click redirects to placeholder2

Thank you in advance

2 Answers, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 19 Apr 2012, 09:16 AM
Hi Darshan ,

I'm not sure I completely understand your scenario and the excat functionality you need to achieve. Are you using RadTabStrip control with MultiPage to load the userControls into different PageViews. Please post your page markup and the related code-behind so we could be aware of your scenario and do our bets to provide proper solution.

Kind regards,
Maria Ilieva
the Telerik team
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 their blog feed now.
0
darshan thacker
Top achievements
Rank 1
answered on 19 Apr 2012, 02:28 PM
Hi,
 
as in the image i have three link button aligned as per CSS applied by client. and in the every link button click i am dynamically binding the controls at runtime. i had put  this thing in RadAjaxPanel and on ny link button click the page is ajaxifyed and dynamically loaded but inside the loaded controls i have buttons which directly moves to other link button view by response.redirect. so this makes page refresh. how to make each control ajaxifyed which have response redirect ? or any other way around for response redirect ?

Thank you.
Tags
Ajax
Asked by
darshan thacker
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
darshan thacker
Top achievements
Rank 1
Share this question
or