Mar 23, 2012, 2:58 PM
Seems like I get a Javascript error when accessing the Website externally...
Hi,
I attached a screen shot which shows the error I receive when I try to access application externally coming through VPN into our intranet network., even when I close the "Request Failure" window and I click on the radio button which calls a javascript then calls a Direct Method as below:
.aspx
.js
Any help here. I'm Ext.NET v1.1.0.21129
I attached a screen shot which shows the error I receive when I try to access application externally coming through VPN into our intranet network., even when I close the "Request Failure" window and I click on the radio button which calls a javascript then calls a Direct Method as below:
.aspx
<ext:Container ID="Container1" runat="server" LabelAlign="Top" Layout="Form">
<Items>
<ext:RadioGroup ID="RadioGroup1" runat="server" AnchorHorizontal="40%">
<Items>
<ext:Radio ID="rdWeek" runat="server" BoxLabel="<b><font size=3>Week</b>" Checked="true"
GroupName="Time">
<Listeners>
<Check Fn="radioSelect" />
</Listeners>
</ext:Radio>
<ext:Radio ID="rdPeriod" runat="server" BoxLabel="<b><font size=3>Period</b>" Checked="false"
GroupName="Time">
</ext:Radio>
</Items>
</ext:RadioGroup>
</Items>
</ext:Container>
.js
var radioSelect = function() {
if (rdPeriod.getValue()) {
SelectBox2.setFieldLabel("<b>Calendar Period</b>");
SelectBox2.emptyText = "Select a Period";
SelectBox2.clearValue();
chkWeek.setValue(false);
Dashboard.LoadCalendarStore("Period");
}
else {
SelectBox2.setFieldLabel("<b>Calendar Week</b>");
SelectBox2.emptyText = "Select a Week";
SelectBox2.clearValue();
chkWeek.setValue(true);
Dashboard.LoadCalendarStore("Week");
}
selectHomePageValue();
}
.vb [DirectMethod(Namespace = "Dashboard")]
public void LoadCalendarStore(string weekOrPeriod)
{
Home.LoadCalendarPeriodOrWeekStore(weekOrPeriod);
}
The application runs fine when it's access inside our intranet, so I have no idea why I get this error and I can't debug it.Any help here. I'm Ext.NET v1.1.0.21129