This is a migrated thread and some comments may be shown as answers.

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

1 Answer 210 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Venky
Top achievements
Rank 2
Venky asked on 13 Sep 2012, 06:14 AM

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 

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 18 Sep 2012, 11:43 AM
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.
Tags
Editor
Asked by
Venky
Top achievements
Rank 2
Answers by
Pavlina
Telerik team
Share this question
or