Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
123 views
Hello,

I am using Radtreeview and attempting to load radtree nodes to memcached.   I am receiving the following message:

Type 'Telerik.Web.UI.RadTreeNode' in Assembly 'Telerik.Web.UI, Version=2012.2.1002.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4' is not marked as serializable.

I read in related post that the fix would be in the 2012.2.1002.40 nightly build but I am still receiving the error after upgrading.

Thanks

Mike
Bozhidar
Telerik team
 answered on 06 Dec 2013
11 answers
255 views
Hi,
I have read the documentation of RadTree and i found out that the RadTree is 508 Compliance. 

http://www.telerik.com/help/aspnet/treeview/tree_accessibilitycompliance.html

Is RadScheduler also 508 Compliance?
Bozhidar
Telerik team
 answered on 06 Dec 2013
3 answers
123 views
I have a functionality where i am generating html from word document and saving it in database.
Then for some tokenization i am loading it into telerik text editor and doing some tokenization on the content in the editor.
I have read that if there is more then 100KB of content then editor might get slow.I have more then  that size of content some time.
So please suggest me how to optimized it to maximum level.My current mark up of the editor declaration is

<telerik:RadEditor runat="server" ID="RadEditor1" Height="515" Width="100%" Visible="True" EnableViewState="False" 
            ContentFilters="ConvertToXhtml, RemoveScripts,FixUlBoldItalic, IECleanAnchors, FixEnclosingP, MozEmStrong,IndentHTMLContent, OptimizeSpans">
        </telerik:RadEditor>
I have myself set enable viewstate to false to save some space at the moment
kamii47
Top achievements
Rank 1
 answered on 06 Dec 2013
14 answers
1.1K+ views
Hi,

I really need to enabled/disabled the RadComboBox via Javascript when the page is load. I need to do it so I can enable / disable the combobox again when the user click another button via JavaScript. I dont want to postback.

I have put the following code in the Page_Init()

ClientScript.RegisterStartupScript(Page.GetType(),

"mykey", "ToggleRadcomboBox();", true);

The javascript is as follow
function ToggleRadcomboBox()
{
    var combo = $find("<%= RadComboBox1.ClientID %>");
    //the combo return null
    combo.set_enabled(false);
    return false;
}

The above code will return me with "null value",
but, when I used:
function ToggleRadcomboBox()
{
    var combo = document.getElementByID("<%= RadComboBox1.ClientID %>");
    // found combo, but unable to do anything
    // combo.set_enabled(false) does not work when using document.getElementByID
    combo.disabled = true;
    return false;
}

Could you please help me out ?

Thanks.
Princy
Top achievements
Rank 2
 answered on 06 Dec 2013
2 answers
137 views
In lightweight rendermode the context menu icons are missing.  I have confirmed this in the demo samples by setting the Context Menu demo to lightweight.  I have included screenshots
Milena
Telerik team
 answered on 06 Dec 2013
2 answers
304 views
I use the following RadButton on a couple of pages and it behave strangely on each page.

<style type="text/css">
    .rbBlue .rbText {
        color: blue;
    }
 
    .rbRed .rbText {
        color: red;
    }
</style>
 
       <telerik:RadButton ID="FillerNLF" runat="server" AutoPostBack="false" Text="NLF" ButtonType="ToggleButton" checked="false"
            ToggleType="CheckBox" Style="font-size: 14px; top: 30px; left: 4px; position: absolute;">
            <ToggleStates>
                <telerik:RadButtonToggleState PrimaryIconUrl="../Images/layer_transparent.jpeg" CssClass="rbBlue"  />
                <telerik:RadButtonToggleState PrimaryIconCssClass="rbOk" Selected="true" CssClass="rbRed" />
            </ToggleStates>
        </telerik:RadButton>


On page 1, I use this and the behavior is fine. When the checkbox is unchecked, the text is blue colored and it is a transparent icon shown. When the checkbox is checked, the green checkmark appears and color of the text is red. That is the proper behavior.

When I use the exact same button on another page, I am getting a square outline of the layer_transparent.jpeg file when it is unchecked. If I hover the mouse over the item, the square outline disappears and nothing is displayed, except the blue text. When the checkbox is checked, a green checkbox appears and the text is red. So, it is the unchecked behavior that is not working. It's for this page only. I noticed this as I am building the page and there is no logic in the codebehind.
Danail Vasilev
Telerik team
 answered on 06 Dec 2013
1 answer
254 views
Hi team,

              I am using rad tab strip(with three tabs) with control(say radgrid,comboobox,etc.,) when i switch tabs once the controls have been loaded they seem to reload when i switch back to a previous selected tab. How to maintain the previous values in the tab once i switch back to the previous tab.

Thanks,
Vijay



    
Shinu
Top achievements
Rank 2
 answered on 06 Dec 2013
1 answer
105 views
Hello. Telerik team.

I would like to know more detail.
Which Binary Image control support image format?
Shinu
Top achievements
Rank 2
 answered on 06 Dec 2013
1 answer
193 views
Is there a way to trigger a radgrid rebind from datasource update?
Basically I have a column to display info once the backend operation is done.
Princy
Top achievements
Rank 2
 answered on 06 Dec 2013
7 answers
456 views
I am using  EditMode="InPlace" and  AllowMultiRowEdit="True" to edit a RadGrid.  I am also using a non RadGrid button to save the RadGrid to a database.  Column1 in the RadGrid is read only.  I am using ExtractValuesFromItem(newValues, editedItem) to get the cell that was changed.  This works, but I don't know how to reference the value in the read only cell in column1 to see which row was edited.  I need this to update the database based on the read only information in Column1.  I will also be adding databound dropdown lists in the EditItem template so a solution that drastically changes the code below also needs to be able to handle that.  
 
protected void SaveButton_Click(object sender, EventArgs e)
   {
       foreach (GridItem item in RadGrid1.Items)
       {
           if (item.IsInEditMode)
           {
               GridEditableItem editedItem = (GridEditableItem)item;
               Hashtable newValues = new Hashtable();
               editedItem.OwnerTableView.ExtractValuesFromItem(newValues, editedItem);
 
               // I need to get the value in Column1 on the edited row. 
               string ReadOnlyCell = ["Column1"].toString();
 
               string ChangedCell = newValues["Column2"].ToString();
               // will update SQL here...
               editedItem.Edit = false;
           }
       }
       RadGrid1.Rebind();
   }

 

 

 

Asad
Top achievements
Rank 1
 answered on 06 Dec 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?