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

RadAjaxManagerProxy & PostBack

3 Answers 78 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Basel Nimer
Top achievements
Rank 2
Basel Nimer asked on 13 Jun 2010, 07:02 AM
First of all,
every time i think i understand how RadAjaxManager and RadAjaxManagerProxy works, i find that it does not work as i understood it.
that's why i am here now.

I have a master page, that hold a header user control in it. this header user control has a login user control with a login link that opens a modal tooltip with a dynamically created user control with a user name and password fields.

i put a radajaxmanager in the master page, then a proxy in the header user control, the login user control, and the login dialog user control.

But still, when i click login the page refreshes!!!!

i tried to track this down, but as i said, i am not sure what is wrong and if it is me, or something else.

can you help please? why the login button causes a post back? and how can i trace this? and know what is causing the post back?

 

3 Answers, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 16 Jun 2010, 03:13 PM
Hello Basel,

When you click the login button, are you redirected to another page, e.g. does the page Url changes?
Note that ajax is used for partial page updates when you are on the asme page. But for another page to load, full postback is required.

All the best,
Iana
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Basel Nimer
Top achievements
Rank 2
answered on 16 Jun 2010, 03:51 PM
Hello Lana, thank you for reply.

in the page, the only time i redirect to another page is when uploading a file (because i have to, since old telerik "Q2,2009" didnt support Ajax upload), but this is not related.

Anyhow, the Login button does not redirect to another page, it verifies the login, and then submits a cookie, and updates another control (parent control) with the user name and some other information, the parent control is also ajaxified.

0
Iana Tsolova
Telerik team
answered on 17 Jun 2010, 09:16 AM
Hi Basel,

Can you try preparing a sample project of your scenario and the unexpected behavior of RadAjax?
I will check it out and see what could have gone wrong with it.

All the best,
Iana
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Ajax
Asked by
Basel Nimer
Top achievements
Rank 2
Answers by
Iana Tsolova
Telerik team
Basel Nimer
Top achievements
Rank 2
Share this question
or