PDA

View Full Version : [CLOSED] PartialExtView and Icons



Timothy
May 03, 2012, 6:48 PM
Hello,

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(te xt)).Transform();
Line 92: }
Line 93:




Source File: D:\SVN Projects\230473_CRA\Library\Required Dependencies\Ext.NET\Source\Ext.Net\Core\ExtNetTra nsformer.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\ExtNetTra nsformer.cs:91
Ext.Net.MVC.PartialViewResult.RenderRazorView(Cont rollerContext context, RazorView razorView) in D:\SVN Projects\230473_CRA\Library\Required Dependencies\Ext.NET\Source\Ext.Net\MVC\PartialVie wResult.cs:316
Ext.Net.MVC.PartialViewResult.ExecuteResult(Contro llerContext context) in D:\SVN Projects\230473_CRA\Library\Required Dependencies\Ext.NET\Source\Ext.Net\MVC\PartialVie wResult.cs:170
System.Web.Mvc.<>c__DisplayClass1c.<InvokeActionResultWithFilters>b__19() +33
System.Web.Mvc.ControllerActionInvoker.InvokeActio nResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +825460
System.Web.Mvc.ControllerActionInvoker.InvokeActio nResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +265
System.Web.Mvc.ControllerActionInvoker.InvokeActio n(ControllerContext controllerContext, String actionName) +825488
System.Web.Mvc.Controller.ExecuteCore() +159
System.Web.Mvc.ControllerBase.Execute(RequestConte xt 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.Htt pApplication.IExecutionStep.Execute() +469
System.Web.HttpApplication.ExecuteStep(IExecutionS tep 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

Vladimir
May 03, 2012, 7:04 PM
Confirm, we are investigating

Vladimir
May 04, 2012, 9:11 AM
Hi,

Fixed in SVN. Please update and retest
Thanks for the report

Timothy
May 04, 2012, 1:39 PM
Confirmed. Thanks!

Cheers,
Timothy