Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
160 views
Hello,
I'm experiencing a problem when trying to save/load RadScheduler control to/from Viewstate.
There is an error:


[SerializationException: Type 'Telerik.Web.UI.RadScheduler' in 'Telerik.Web.UI, Version=2009.2.701.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4' not marked as serializable.]
   System.Runtime.Serialization.FormatterServices.InternalGetSerializableMembers(RuntimeType type) +7733643
   System.Runtime.Serialization.FormatterServices.GetSerializableMembers(Type type, StreamingContext context) +258
   System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitMemberInfo() +111
   System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter) +161
   System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.Serialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter) +51
   System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck) +410
   System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph, Header[] headers, Boolean fCheck) +134
   System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph) +13
   System.Web.UI.ObjectStateFormatter.SerializeValue(SerializerBinaryWriter writer, Object value) +845

[ArgumentException: Error serializing 'Telerik.Web.UI.RadScheduler'.]
   System.Web.UI.ObjectStateFormatter.SerializeValue(SerializerBinaryWriter writer, Object value) +3395
   System.Web.UI.ObjectStateFormatter.Serialize(Stream outputStream, Object stateGraph) +110
   System.Web.UI.ObjectStateFormatter.Serialize(Object stateGraph) +57
   System.Web.UI.ObjectStateFormatter.System.Web.UI.IStateFormatter.Serialize(Object state) +4
   System.Web.UI.Util.SerializeWithAssert(IStateFormatter formatter, Object stateGraph) +37
   System.Web.UI.HiddenFieldPageStatePersister.Save() +79
   System.Web.UI.Page.SavePageStateToPersistenceMedium(Object state) +105
   System.Web.UI.Page.SaveAllState() +236
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1099


Any ideas would be appreciated

Marek Witczak
thaya
Top achievements
Rank 1
 answered on 20 Oct 2011
1 answer
31 views
Hi,
I am having an issue getting the RadProgressArea to display when using a FB Post from a Canvas IFrame application.

I have a Facebook Canvas application that I wish to use to upload large image files with. The latest SDK from FB is 5.2. It offers
an event handler to provide progress feedback to enable update of a progress bar. The handler UploadProgressChanged provides
progress information back from the Post or PostAsync. I am using this handler to set the RadProgressBar primary/secondary variables.

The progress bar does not display at all.

I know that the event handler is being called and I also am able to get the progress bar to display when I just use a simple loop/count/sleep block as per the demo.

I notice from older posts that there has been an issue with Facebook and the RadProgressArea. Is there still issues/incompatibilites
between FB and the RadProgressArea.

Thanks in advance for your help
Baz
Peter Filipov
Telerik team
 answered on 20 Oct 2011
4 answers
113 views
Let's say that I have this text here exactly as it is typed into HTML view, I have only bolded the attribute value to distinguish the change that the Editor made automatically, the bolding is not in the original test:

<p name=pStySM1T008_TT>Enroll now,<br>PLUS use the special offer inside before January 14th!<br><br></p>

Now, the instant that I switch from HTML to Design and back to HTML, the text has changed to this:

<p name="pStySM1T008_TT">Enroll now,<br>PLUS use the special offer inside before January 14th!<br><br></p>

I have also made sure that this is reproducible in the Telerik Content Filters Demo here: http://demos.telerik.com/aspnet-ajax/editor/examples/builtincontentfilters/defaultcs.aspx

My first thought was to remove the ConvertToXhtml filter, but I have tried disabling all filters, as well as enabling various combinations of filters and I am still unable to prevent the quotes from automatically appearing around my attribute values. I absolutely do not want the Editor to make assumptions about how to treat or reformat my content.
Rumen
Telerik team
 answered on 20 Oct 2011
1 answer
76 views
Hi,

I need to get an array of the root nodes of my tree view, but when i try, the tree view is a divElement and the nodes indefined.
This is my code:
JS:
function deshabilitarNodos(treeView, args) {
    alert("Llegue");
    var tree = <%=RadTreeView2.ClientID %>
    alert (tree);
    var nodosPrincipales= tree.Nodes;
    alert(nodosPrincipales);  // This is indefined
}

ASP:
<telerik:RadTreeView ID="RadTreeView2" runat="server" Width="300px" 
            Height="900px" DataFieldID="Id" DataFieldParentID="Padre" 
            ImageUrlField ="Imagen" DataSourceID="ObjectDataSource1" 
            DataTextField="Nombre" DataValueField="Id" OnClientNodeExpanding="deshabilitarNodos" >


            <DataBindings>
                <telerik:RadTreeNodeBinding ImageUrlField="Imagen" Expanded="false" />
            </DataBindings>
        </telerik:RadTreeView>


        <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
            SelectMethod="cargarSegmentos" TypeName="PL.Util.cliente">
        </asp:ObjectDataSource>

Thanks.
Princy
Top achievements
Rank 2
 answered on 20 Oct 2011
2 answers
99 views
Hi!

I can add AppointmentContextMenus rows programmatically like this:

foreach (Resource resourceUser in RadScheduler1.Resources.GetResourcesByType("Employee"))
{
    string availEmployee = resourceUser.Text;
    RadMenuItem resourceItem = new RadMenuItem(availEmployee);
    resourceItem.Attributes["Key"] = resourceUser.Key.ToString();
    resourceItem.Value = "CommandAddAppointment";
    resourceItem.ImageUrl = "/i/Toolbar/Custom/personal.png";
    RadScheduler1.AppointmentContextMenus[0].Items.Add(resourceItem);
}

How can I put them into a submenu?
See my attached picture (a screen dump from Telerik Context Menu Demo), I want my list of employees to end up inside the "Categorize" menurow.

I'm using v.2011.2.915.40

Sincerely, Thomas
Thomas
Top achievements
Rank 1
 answered on 20 Oct 2011
2 answers
337 views
hi,
I added multiple file and I unable to get full file path in server side using RadAsyncUpload.
Its one of my urgent requirement Please help me on this.


Thanks & Regards
Manikandan Kumar
Dimitar Terziev
Telerik team
 answered on 20 Oct 2011
1 answer
106 views
Hello,

I have small question...

I have 4 appointments, all at the same time (from-, to-, hours), one slot.

What is the key to sorting these appointments in RadSchedulers or how I can it set up?

Thanks!
Lukasz Kalbarczyk
Top achievements
Rank 1
 answered on 20 Oct 2011
3 answers
123 views
As the thread title suggest when I have the AutoResizeHeight="true" property set on a RadEditor field and press the toggle full screen mode with content's height that exceeds the height of the screen, the scroll on the RadEditor does not appear.
If i do not have this property set the full screen works correctly. I can also replicate this on the online demo here

http://demos.telerik.com/aspnet-ajax/editor/examples/autoresizeheight/defaultcs.aspx

Any assistance would be appreciated.

 

Rumen
Telerik team
 answered on 20 Oct 2011
10 answers
156 views
Hello,
when I click on button "Nuovo"  and then on checkbox "Attiva", nothing happens.
 
URL
http://www.swistel.ch/gestione/liste_distribuzione.aspx
 
DLL VERSION
14.1.2010
 
I would like to use my dll version without making an upgrade.
 
Thank you
 
Alberto
AB
Top achievements
Rank 1
 answered on 20 Oct 2011
0 answers
117 views
Hi,

I have a problem with the tabindex property.
Attached a screen-shot of a sample form which is based on the demo http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/usercontroleditform/defaultcs.aspx (But with addional field that are not related to the RadGrid control and colored in Green).
I need set the tabindex attribute for all fields in the user control (Colored in Red), so clicking on the tab key in the keyboard won't move the cursor out of the user control.

By the way all fields out of the RadGrid control has thier own tabindex property, so I want to create a two tabindex groups:
1) Fields out of the RadGrid control.
2) Fields inside the user control edit form.

It is possible?
Please, I need your help in order to solve the a bove problem.

Regards,
Bader
Bader
Top achievements
Rank 1
 asked on 20 Oct 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?