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

[Solved] dropdownlist within radajaxpanel performing full page postback sometimes

4 Answers 253 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
FL-Developer
Top achievements
Rank 1
FL-Developer asked on 06 May 2007, 07:44 AM

Seems to do async half of the time, full the other half.

I'm not having the best luck with Prometheus so far.  Every (simple)scenario I have tested it in has failed in one way or another.

<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Height="75px"

Width="75px">

<asp:Image ID="Image1" runat="server" AlternateText="Loading..." ImageUrl="~/RadControls/Ajax/Skins/Default/Loading.gif" />

</telerik:RadAjaxLoadingPanel>

<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" LoadingPanelID="RadAjaxLoadingPanel1">

<label>Template</label>

<asp:DropDownList ID="ddTemplates" runat="server"

DataTextField="description" DataValueField="templateid"

OnSelectedIndexChanged="ddTemplates_Changed" AutoPostBack="true">

</asp:DropDownList>

<label>Template Slots</label>

<radG:RadGrid ID="rgTemplateSlots" runat="server" OnNeedDataSource="rgTemplateSlots_NeedDataSource">

<MasterTableView DataKeyNames="TemplateSlotId" AutoGenerateColumns="false">

<Columns>

<radG:GridEditCommandColumn ItemStyle-CssClass="img" ButtonType="ImageButton"

EditImageUrl="~/Images/Edit.gif">

</radG:GridEditCommandColumn>

<radG:GridBoundColumn HeaderText="Shortcut" DataField="Shortcut"></radG:GridBoundColumn>

</Columns>

<EditFormSettings EditFormType="Template" CaptionDataField="shortcut" CaptionFormatString="Editing {0}">

<FormStyle BackColor="White" />

<FormTemplate>

<radE:RadEditor ID="txtSlot" runat="server"

DocumentsFilters="*.pdf,*.doc"

ImagesFilters="*.gif,*.jpg,*.bmp,*.png"

Html='<%#Eval("Markup") %>'

</radE:RadEditor>

</FormTemplate>

</EditFormSettings>

</MasterTableView>

</radG:RadGrid>

</telerik:RadAjaxPanel>

4 Answers, 1 is accepted

Sort by
0
surfer
Top achievements
Rank 1
answered on 06 May 2007, 09:00 AM
A bit weird, since the Prmetheus AjaxManager/Panel is based on MS UpdatePanel, which is working fine with all telerik controls.

Can you try replacing the RadAjaxPanel control with asp:UpdatePanel and see if the same problems persists? If this is the case, then we will at least know the problem is related to how telerik controls interact with UpdatePanel and not directly to RadAjaxManager/Panel...
0
FL-Developer
Top achievements
Rank 1
answered on 06 May 2007, 04:13 PM
Sure, no problem.

I tested it, and the same markup within UpdatePanel works well, performing async postback every time.
0
Accepted
Jason Maronge
Top achievements
Rank 1
answered on 07 May 2007, 01:53 AM
Do you happen to have the following setting set in your web.config?

<pages enableEventValidation="false">

If so, I have a thread on this issue.  telerik is looking it to it.

Jason
0
FL-Developer
Top achievements
Rank 1
answered on 07 May 2007, 02:20 PM
Great find.  In fact I did not have this set at the web.config level, but I did have it set on the particular page in question.  Thanks.

Tags
Ajax
Asked by
FL-Developer
Top achievements
Rank 1
Answers by
surfer
Top achievements
Rank 1
FL-Developer
Top achievements
Rank 1
Jason Maronge
Top achievements
Rank 1
Share this question
or