Problema con AJAX e UpdatePanel di asp.net

Ricky977

Nuovo Utente
22 Mag 2009
3
0
0
Ciao a tutti,

ho un grande problema con un updatepanel:
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<fieldset class="Lung50">
<legend class="principale"> TOP Selezionabile
<asp:DropDownList ID="ddlTopSelezionabile" runat="server" class="Lung25" AutoPostBack="true" OnSelectedIndexChanged="ddlTopSelezionabile_SelectedIndexChanged"></asp:DropDownList
<dxtc:ASPxPageControl ID="ASPxPageControl6" runat="server" ActiveTabImage-Width="10%" TabPosition="Right" TabStyle-Wrap="True">
<TabPages>
<dxtc:TabPage Text="Numero Ref. con top 01" Visible="true">
<ContentCollection>
<dxw:ContentControl ID="ContentControl3" runat="server">
<dxwgv:ASPxGridView ID="grid6"
runat="server"
Width="100%"
SkinID="DevGridViewSkin"
SettingsPager-Visible="false"
SettingsPager-Mode="ShowAllRecords"
SettingsBehavior-ColumnResizeMode="Control"
>
<Columns>
<dxwgv:GridViewDataColumn FieldName="ID_REPARTO" Caption="Reparto" VisibleIndex="1" SortOrder="Ascending"> </dxwgv:GridViewDataColumn>
</Columns>
<Settings ShowGroupPanel="True" />
</dxwgv:ASPxGridView>
</dxw:ContentControl>
</ContentCollection>
</dxtc:TabPage>
</TabPages>
</dxtc:ASPxPageControl>
</fieldset>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="ddlTopSelezionabile" EventName="SelectedIndexChanged" />
</Triggers>
</asp:UpdatePanel>

in realtà esegue un normalissimo postback e genera questo messaggio di errore:

ASP.NET Ajax client-side framework failed to load.

...............non so piu cosa fare....
 

Ricky977

Nuovo Utente
22 Mag 2009
3
0
0
ho semplicemente aggiunto questo codice nel web.config:

<remove verb="*" path="*.asmx"/>
<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>