Aug 08, 2013, 4:39 PM
[CLOSED] Ext.NET.SelfRedringPage
Hi Support,
I get and HTTP Exception in Ext.NET.SelfRedringPage when I basically try and run your Card Example in MVC any ideas?
Thanks,
Ashley
I get and HTTP Exception in Ext.NET.SelfRedringPage when I basically try and run your Card Example in MVC any ideas?
@(Html.X().Panel().ID("Wizard").Layout(LayoutType.Card).Width(980).Height(500).BodyPadding(10).Border(true).ActiveIndex(0).Items(
Html.X().Panel().ID("Panel1").Border(false).Header(false).Html(@"<p>What is the purpose of your application?</p>
<ul>
<li><b>New</b> (Please note proof of valid citizenship required)</li>
<li><b>Renew</b></li>
<li><b>Change</b> (Add driving, title change etc.)</li>
<li><b>Company Change</b> (Company name change or department name change)</li>
<li><b>Name Change</b> (Supporting documents required)</li>
<li><b>Replacement</b> (Lost, stolen or destroyed)</li>
</ul>").Items(
Html.X().RadioFor(m=>m.boolPurposeNew).FieldLabel("New").Border(false).ID("purpose").UncheckedValue("false").Checked(true),
Html.X().RadioFor(m=>m.boolPurposeRenew).FieldLabel("Renew").Border(false).ID("purpose").UncheckedValue("false"),
Html.X().RadioFor(m=>m.boolPurposeChange).FieldLabel("Change").Border(false).ID("purpose").UncheckedValue("false"),
Html.X().RadioFor(m=>m.boolPurposeCompanyChange).FieldLabel("Company Change").Border(false).ID("purpose").UncheckedValue("false"),
Html.X().RadioFor(m=>m.boolPurposeChangeName).FieldLabel("Change Name").Border(false).ID("purpose").UncheckedValue("false"),
Html.X().RadioFor(m=>m.boolPurposeReplacement).FieldLabel("Replacement").Border(false).ID("purpose").UncheckedValue("false"))
.Buttons(
Html.X().Button().ID("btnPrev").Text("Pervious").Disabled(true).Icon(Icon.PreviousGreen)
.DirectEvents(de => {
de.Click.Url = Url.Action("Prev_Click");
de.Click.ExtraParams.Add(new Parameter("index", "#{Wizard}.items.indexOf(#{Wizard}.layout.activeItem)", ParameterMode.Raw));
}),
Html.X().Button().ID("btnNext").Text("Next").Icon(Icon.NextGreen)
.DirectEvents(de => {
de.Click.Url = Url.Action("Next_Click");
de.Click.ExtraParams.Add(new Parameter("index", "#{Wizard}.items.indexOf(#{Wizard}.layout.activeItem)", ParameterMode.Raw));
}))))
As normal I must have missed a comma?Thanks,
Ashley
Last edited by Daniil; Aug 15, 2013 at 10:35 AM.
Reason: [CLOSED]