PDA

View Full Version : [CLOSED] Request Failure



jesperhp
Mar 14, 2014, 11:52 AM
Hi


I am getting error Request failure
Status Code: 200 and
Status Text: NoResponse

Actually I have window, and there is button to save the data, when I click the button to save the data then I get that error

Is there technical issue with ??

I have also attach the image
8331

Daniil
Mar 14, 2014, 12:31 PM
Hi @jesperhp,

Hard to say what is going wrong.

Please post the server method for saving. Also how do you call that server method from client?

jesperhp
Mar 17, 2014, 1:16 PM
Hi @jesperhp,

Hard to say what is going wrong.

Please post the server method for saving. Also how do you call that server method from client?



<ext:Button ID="btnUnitsEdit" Text="<%$Resources:HelpDeskWebApp,Edit%>" runat="server"
Icon="ApplicationEdit" Hidden="true">
<DirectEvents>
<Click Before="
alert('working');
var GridId = Units.UnitsGridId();
var Grid = Ext.getCmp(GridId);
if(true)
{
Units.setIdByIndex(Units.getIndex(),Grid);
var isLoaded = Units.isUnitDetailLoaded();
if (isLoaded)
{
Units.ShowDetailof(Units.getIndex(),Grid);
}
return !isLoaded;
}
else
{
var Status = User.getAlertMessage();
var result = User.getEditMessage();
Ext.Msg.alert(Status,result);
return false;
}" Json="true" Method="POST" Url="/DynamicWindow/LoadNewWindow" Success="
var i=Units.getIndex();
var code='Units.ShowDetailof('+i+',null)';
setTimeout(code,560);
" CleanRequest="true">
<ExtraParams>
<ext:Parameter Name="container_Id" Value="Units.UnitsDetailPanelId()" Mode="Raw">
</ext:Parameter>
<ext:Parameter Name="controlToRender_Id" Value="control_Dynamic_Units">
</ext:Parameter>
<ext:Parameter Name="viewName" Value="~/Views/Units/UnitsDetail.ascx">
</ext:Parameter>
</ExtraParams>
</Click>
</DirectEvents>
</ext:Button>

Please mark it close
the issue was when I call server side url the property Json= true
now I remove that property and it working fine
Thanks