Oct 08, 2012, 2:38 PM
[CLOSED] Illegal characters in path. - Razor view
Hi,
I am facing one critical bug unable to proceed further.
Message : Illegal characters in path.
Source : mscorlib
TargetSite : Void CheckInvalidPathChars(System.String)
Gettting exception in this part
I am facing one critical bug unable to proceed further.
@using Ext.Net.MVC
<!DOCTYPE html>
<html>
<head>
@Html.X().ResourcePlaceHolder(Ext.Net.ResourceMode.ScriptFiles)
<script type="text/javascript" src="@Url.Content("~/scripts/json2.js")" ></script>
<script src="@Url.Content("~/Scripts/jquery-1.5.1.js")" type="text/javascript"></script>
<script type="text/javascript" src="@Url.Content("~/Scripts/extTab.js")"></script>
</head>
<body>
<div>
@Html.X().ResourceManager()
@RenderBody()
<iframe frameborder="0" height="0" width="0" scrolling="no" src="@Url.Content("~/Home/GetAlerts")">
</iframe>
</div>
</body>
</html>
@using Ext.Net
@using Ext.Net.MVC
@using Merrill.Mll.UI.Component.Shared
@using Merrill.Mll.Domain
@{
Layout = "~/Views/Shared/_ExtLayoutOther.cshtml";
string JobsId = ViewBag.JobsId != null && !string.IsNullOrEmpty(ViewBag.JobsId) ? ViewBag.JobsId : string.Empty;
Ext.Net.Panel jobinformationpanel = new Ext.Net.Panel();
jobinformationpanel.ID = "JobPanel";
jobinformationpanel.Title = "Job Information";
jobinformationpanel.Loader = new Ext.Net.ComponentLoader() { ID = "CustomerPanel", Url = Url.Content("~/Job/EditBillingJobInfo/" + JobsId), AutoLoad = true, Mode = Ext.Net.LoadMode.Frame };
jobinformationpanel.Loader.LoadMask.ShowMask = true;
jobinformationpanel.Loader.LoadMask.Msg = "Loading job Information...";
Ext.Net.Panel orderpanel = new Ext.Net.Panel();
orderpanel.ID = "OrderPanel";
orderpanel.Title = "Order";
orderpanel.Loader = new Ext.Net.ComponentLoader() { ID = "OrderPanel", Url = Url.Content("~/Job/ListOrders/" + JobsId), AutoLoad = true, Mode = Ext.Net.LoadMode.Frame };
orderpanel.Loader.LoadMask.ShowMask = true;
orderpanel.Loader.LoadMask.Msg = "Loading order Information...";
}
@(Html.X().Viewport()
.Layout("billingborder").Items(port =>
{
port.Add(
Html.X()
.TabPanel()
.ID("billingMasterPanel")
.Border(false)
.SetLoading(new LoadMask { ShowMask = false })
.Region(Ext.Net.Region.Center)
.Items(panel =>
{
panel.Add(
jobinformationpanel
);
panel.Add(
orderpanel
);
})
);
}))
Exception:Message : Illegal characters in path.
Source : mscorlib
TargetSite : Void CheckInvalidPathChars(System.String)
Gettting exception in this part
@(Html.X().Viewport()
.Layout("billingborder").Items(port =>
{
port.Add(
Html.X()
.TabPanel()
.ID("billingMasterPanel")
.Border(false)
.SetLoading(new LoadMask { ShowMask = false })
.Region(Ext.Net.Region.Center)
.Items(panel =>
{
panel.Add(
jobinformationpanel
);
panel.Add(
orderpanel
);
})
);
}))
Thanks in advance
Last edited by Daniil; Oct 12, 2012 at 6:06 AM.
Reason: [CLOSED]