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

Telerik Rad Ajax

1 Answer 59 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
kalyan gupta
Top achievements
Rank 1
kalyan gupta asked on 25 Oct 2010, 03:18 PM
Hi @

I have a Grid and a button  inside a Telerik Rad Ajax panel.

Onclick of tht button I want only the Grid portion to be updated.

Now when I click on the button which is inside the Ajax panel, and If i keep a break point at the page load. I see that complete page life cycle re occurs. Though the page flicker is not seen.

How to avoid this?? Am I missing any condition??

The same thing can be achieved with asp:updatePanel and asp:scriptmanager. Scriptmanager exposes a property IsInAsyncPostBack which is true when there is a Ajax postback.

Is there any such property with Telerik?

Please let me know.

Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 27 Oct 2010, 12:45 PM
Hello kalyan,

What ajax does is to turn regular postbacks into callbacks. However in both cases, postback or callback, the page lifecycle is executed the same way but only part f the page content is updated on the client.

When you are using RadAjax to ajaxify the page and ajax request is initiated, the ScriptManager IsInAsyncPostBack property should also return true. Furthermore the RadAjaxManager and RadAjaxPanel have the IsAjaxRequest property which is true in case some of the controls ajaxified with them initiated the request.

Greetings,
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
General Discussions
Asked by
kalyan gupta
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Share this question
or