

We are using RadPivotGrid and was working fine until we change the sessionState to SQLServer. And now getting the error:
Unable to serialize the session state. In 'StateServer' and 'SQLServer' mode, ASP.NET will serialize the session state objects, and as a result non-serializable objects or MarshalByRef objects are not permitted. The same restriction applies if similar serialization is done by the custom session state store in 'Custom' mode.
Stack Trace:
[SerializationException: Type 'Telerik.Web.UI.PivotGrid.Core.ViewModels.PivotViewModel' in Assembly 'Telerik.Web.UI, Version=2015.1.401.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4' is not marked as serializable.]
System.Runtime.Serialization.FormatterServices.InternalGetSerializableMembers(RuntimeType type) +14052545
System.Runtime.Serialization.FormatterServices.GetSerializableMembers(Type type, StreamingContext context) +408
System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitMemberInfo() +420
System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter, SerializationBinder binder) +532
System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.Serialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter, SerializationBinder binder) +270
System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck) +814
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph, Header[] headers, Boolean fCheck) +322
System.Web.Util.AltSerialization.WriteValueToStream(Object value, BinaryWriter writer) +1487
[HttpException (0x80004005): Unable to serialize the session state. In 'StateServer' and 'SQLServer' mode, ASP.NET will serialize the session state objects, and as a result non-serializable objects or MarshalByRef objects are not permitted. The same restriction applies if similar serialization is done by the custom session state store in 'Custom' mode.]
System.Web.Util.AltSerialization.WriteValueToStream(Object value, BinaryWriter writer) +2252815
System.Web.SessionState.SessionStateItemCollection.WriteValueToStreamWithAssert(Object value, BinaryWriter writer) +49
System.Web.SessionState.SessionStateItemCollection.Serialize(BinaryWriter writer) +729
System.Web.SessionState.SessionStateUtility.Serialize(SessionStateStoreData item, Stream stream) +336
System.Web.SessionState.SessionStateUtility.SerializeStoreData(SessionStateStoreData item, Int32 initialStreamSize, Byte[]& buf, Int32& length, Boolean compressionEnabled) +99
System.Web.SessionState.SqlSessionStateStore.SetAndReleaseItemExclusive(HttpContext context, String id, SessionStateStoreData item, Object lockId, Boolean newItem) +3538988
System.Web.SessionState.SessionStateModule.OnReleaseState(Object source, EventArgs eventArgs) +1021
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +165
Hi,
I have a diagramming application which uses a RadToolBar to set attributes such as Bold, Italic and Underline - pretty standard stuff.
The RadToolBarButton's need to serve a dual purpose:
I am using the check() method of the item to "highlight" it if the selected shape has that attribute set.
Unfortunately it seems that only 1 item can be checked at a time.
How do I go about checking/selecting/highlighting multiple toolbarbutton's?
Thanks in advance for any suggestion and code snippets.
Jim
Hai, i have a CommandItemTemplate at my grid, and i want to add CommandItem Refresh.
i've done it like this:
<MasterTableView AutoGenerateColumns="False" DataKeyNames="MemoID" ClientDataKeyNames="MemoID" Width="100%" CommandItemDisplay="Top" PageSize="5" NoMasterRecordsText="No Record Selected"> <CommandItemTemplate> <a href="#" onclick="return ShowInsertFormSender();">Add New Memo</a> </CommandItemTemplate> <CommandItemSettings ShowRefreshButton="true" /></MasterTableView>
but it doesn't show the Refresh Button. How to show it?
Thank you
​

Hi,
My wizard uses postback on ActiveStepChanged, whenever Next is clicked then the cancel button appears and disappears during the postback. If I ajax the control then this seems to work, is it unusual to do this?:
<telerik:AjaxSetting AjaxControlID="RadWizard1"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="RadWizard1" UpdatePanelHeight="100%" LoadingPanelID="ALP1" UpdatePanelCssClass="" /> </UpdatedControls></telerik:AjaxSetting>
The problem is that this only works when the wizard has only text, as soon as I have grid's etc. on wizard steps when I get ajax errors. Removing the code above makes the errors disappear.

Hi,
If the user clicks next, is there a way to cancel the move to the next tab in ActiveStepChange? or even just to set the active step back to the previous step.