May 03, 2012, 6:48 PM
[CLOSED] PartialExtView and Icons
Hello,
When including a Gridpanel with an Icon in a PartialExtView response over AJAX the following exception is generated:
Timothy
When including a Gridpanel with an Icon in a PartialExtView response over AJAX the following exception is generated:
Server Error in '/' Application.
ItemTag validation (_tkn_8): Reference token (ext.net.global.icons) was not found.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Exception: ItemTag validation (_tkn_8): Reference token (ext.net.global.icons) was not found.
Source Error:
Line 89: new public static string Transform(string text)
Line 90: {
Line 91: return new ExtNetTransformer(ExtNetTransformer.PrepareText(text)).Transform();
Line 92: }
Line 93:
Source File: D:\SVN Projects\230473_CRA\Library\Required Dependencies\Ext.NET\Source\Ext.Net\Core\ExtNetTransformer.cs Line: 91
Stack Trace:
[Exception: ItemTag validation (_tkn_8): Reference token (ext.net.global.icons) was not found.]
Transformer.NET.ItemTag.Validate() +212
Transformer.NET.TextTransformer.Handle() +299
Transformer.NET.TextTransformer.Transform(List`1 tokensType, Dictionary`2 variables) +35
Ext.Net.ExtNetTransformer.Transform(String text) in D:\SVN Projects\230473_CRA\Library\Required Dependencies\Ext.NET\Source\Ext.Net\Core\ExtNetTransformer.cs:91
Ext.Net.MVC.PartialViewResult.RenderRazorView(ControllerContext context, RazorView razorView) in D:\SVN Projects\230473_CRA\Library\Required Dependencies\Ext.NET\Source\Ext.Net\MVC\PartialViewResult.cs:316
Ext.Net.MVC.PartialViewResult.ExecuteResult(ControllerContext context) in D:\SVN Projects\230473_CRA\Library\Required Dependencies\Ext.NET\Source\Ext.Net\MVC\PartialViewResult.cs:170
System.Web.Mvc.<>c__DisplayClass1c.<InvokeActionResultWithFilters>b__19() +33
System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +825460
System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +265
System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +825488
System.Web.Mvc.Controller.ExecuteCore() +159
System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) +335
System.Web.Mvc.<>c__DisplayClassb.<BeginProcessRequest>b__5() +62
System.Web.Mvc.Async.<>c__DisplayClass1.<MakeVoidDelegate>b__0() +20
System.Web.Mvc.<>c__DisplayClasse.<EndProcessRequest>b__d() +54
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +469
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +375
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
a.Add(Html.X().GridPanel()
.Icon(Icon.Group)
.Title("Users")
....
)
Cheers,Timothy
Last edited by Daniil; May 04, 2012 at 12:10 PM.
Reason: [CLOSED]