
shikha bansal
Top achievements
Rank 1
shikha bansal
asked on 30 Sep 2009, 01:21 PM
Hi Telerik Team,
I have used the example mentioned on the link in the Telerik Documentation (http://www.telerik.com/help/aspnet-ajax/create-ajax-enabled-sharepoint-webpart-radcontrols.html) in my asp.net webpat for a SharePoint site.
The issue is that on the first click of the RadTreeView node, full page postback occurs. On further clicks it actually works fine.
Please let me know a solution asap.
With Regards,
Shikha
I have used the example mentioned on the link in the Telerik Documentation (http://www.telerik.com/help/aspnet-ajax/create-ajax-enabled-sharepoint-webpart-radcontrols.html) in my asp.net webpat for a SharePoint site.
The issue is that on the first click of the RadTreeView node, full page postback occurs. On further clicks it actually works fine.
Please let me know a solution asap.
With Regards,
Shikha
5 Answers, 1 is accepted
0

Shawn Sullivan
Top achievements
Rank 1
answered on 22 Oct 2009, 02:13 PM
I am having the same issue but with an ajaxified RadGrid. The first event it handles causes a full page postback and any further handled events behave as expected with a partial postback.
0

shikha bansal
Top achievements
Rank 1
answered on 22 Oct 2009, 02:24 PM
Hi Shawn ,
Try adding the following code in OnInit after adding SciptManager tag.
Try adding the following code in OnInit after adding SciptManager tag.
////force controls to bind for ajaxification to avoid late ajaxification. This is to avoid full page postback for the first time a control is clicked.
ControlCollection controlsColctn = this.Controls;
It has worked for me. See if it works for you.
All the very best.
Regards,
Shikha
0

Håvard Meling
Top achievements
Rank 1
answered on 14 Jan 2010, 12:05 PM
ControlCollection controlsColctn = this.Controls; in OnInit did the trick. Now I just have to solve why the CSS is applied incorrect after partial update.
0

Gilad Globen
Top achievements
Rank 1
answered on 12 Oct 2010, 05:03 PM
I am having this issue and nothing I did so far solved it.
Could someone please post a simple example of a working code?
Could someone please post a simple example of a working code?
0
Hi Avi Haimovich,
Could you, please, explain in a bit more detail specifically for you problem?
Also, please, post some code reproducing the problem (simple page - markup and code-behind).
Hope that soon we will resolve the problem you experience!
Regards,
Nikolay Tsenkov
the Telerik team
Could you, please, explain in a bit more detail specifically for you problem?
Also, please, post some code reproducing the problem (simple page - markup and code-behind).
Hope that soon we will resolve the problem you experience!
Regards,
Nikolay Tsenkov
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