I just upgraded to version 2012.2.815.35 [this version seems missing from your version drop-down above]. Here's the error I'm getting as soon as I tries accessing a page after the upgrade. How do I re

2 posts, 0 answers
  1. Venky
    Venky avatar
    10 posts
    Member since:
    Sep 2012

    Posted 13 Sep 2012 Link to this post

    UniqueName cannot contain spaces

    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.ArgumentException: UniqueName cannot contain spaces

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [ArgumentException: UniqueName cannot contain spaces]
       Telerik.Web.UI.GridColumn.set_UniqueName(String value) +124
       UserControls_ucMatrixGrid.CreateDataTable(Int32 QuestionId) +3837
       Survey_Edit.CreateTelerikGridProgram(ReorderListItemEventArgs e, Int32 QuestionId, String ControlType) +205
       Survey_Edit.ReorderList1_ItemDataBound(Object sender, ReorderListItemEventArgs e) +1725
    
    [TargetInvocationException: Exception has been thrown by the target of an invocation.]
       System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) +0
       System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) +1255
       System.Delegate.DynamicInvokeImpl(Object[] args) +115
       AjaxControlToolkit.ReorderList.Invoke(Object key, EventArgs e) +114
       AjaxControlToolkit.ReorderList.CreateItem(Int32 index, Boolean dataBind, Object dataItem, ListItemType itemType, Boolean hasDragHandle) +505
       AjaxControlToolkit.ReorderList.CreateChildControls(IEnumerable dataSource, Boolean dataBinding) +626
       System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) +72
       AjaxControlToolkit.ReorderList.PerformDataBinding(IEnumerable data) +33
       System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) +147
       System.Web.UI.WebControls.DataBoundControl.PerformSelect() +261
       Survey_Edit.BindData_Question(String s, Int32 rebind, Int32 pagenum) +4836
       Survey_Edit.Page_Load(Object sender, EventArgs e) +21777
       System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
       System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +42
       System.Web.UI.Control.OnLoad(EventArgs e) +132
       System.Web.UI.Control.LoadRecursive() +66
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428
    


    Version Information: Microsoft .NET Framework Version:2.0.50727.3634; ASP.NET Version:2.0.50727.3634 
  2. Pavlina
    Admin
    Pavlina avatar
    6187 posts

    Posted 18 Sep 2012 Link to this post

    Hi Venky,

    We have prevented the UniqueName property of grid columns from containing spaces. The breaking change is documented in the release notes for version Q3 2011 of Telerik RadControls for ASP.NET AJAX.

    Kind regards,
    Pavlina
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top