Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
247 views

Hello,

We are exploring using ASP.NET MVC spreadsheet control for our next project and i need to implement following:

#1 Saving complete JSON is an option but for say like 300 x 300 cells with each cell having some formatting, JSON is becoming huge and browser window become unresponsive. Please suggest any strategy to optimize it further.

#2 Insert column acts in a weird way if all columns have data, then on adding a column, data in last column is lost. Our requirement is such that number of columns should actually increase. Let say, we have 10 columns in spreadsheet, then we click a button titled "Add Column" then number of columns in spread sheet should become 11.

If this is not possible by insert column method, please suggest is it possible on client side to reinitialize spread sheet with updated number of columns and rows.

#3 How to disable row and column headers along with formula section ?

#4, do you have any roadmap and tentative date for implementation of this feature ? Demos on your site are updated with 2016 Q1 release beta, when can we expect be able to download the same ? Do you have a list of expected features in that release ? 

Thanks,
Puneet

T. Tsonev
Telerik team
 answered on 15 Jan 2016
1 answer
114 views

I replaced the old Telerik DLL with the latest and now enter becomes double spaced.    Why is it being wrapped in <p> now?

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

I can duplicate it with Chrome and IE11.

Lenny_shp
Top achievements
Rank 2
 answered on 15 Jan 2016
4 answers
170 views

Hello, I am using the RadAjaxLoadingPanel in a user control which is displayed in a web part in SharePoint. When the  'loading' image is displayed, a small 'x' is displayed above the image - see attached image. I have not set up skins in SharePoint yet. 1) How can I get rid of the small 'x'? 2) the image appears to be greyed out, but should be blue.

 

Here is the relevant markup:

<%@ Register Assembly="Telerik.Web.UI, Version=2015.3.1111.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Default" MinDisplayTime="500" Transparency="30" >
    <asp:Label id="LoadingLabel" runat="server" ForeColor="Red">Loading... </asp:Label>
    <asp:Image ID="LoadingImage" runat="server" ImageUrl="/_layouts/images/XXX.SharePoint.ADS/loading.gif" />
</telerik:RadAjaxLoadingPanel>
<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" LoadingPanelID="RadAjaxLoadingPanel1">
    <telerik:RadPanelBar ID="RadPanelBar1" runat="server" ExpandMode="FullExpandedItem" Width="900px" Height="116px">
        <Items>
            <telerik:RadPanelItem Text="Asset Search" Expanded="true" >
                <ContentTemplate>
                    <table style="width:100%; text-align:center">

Marcel
Top achievements
Rank 1
 answered on 15 Jan 2016
1 answer
282 views

I am using telerik:RadComboBox in asp.net while i binding a list from database containing items more than 80000 binding failed and error message on page is

"Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property."

how can handle more number of items with RadComboBox 

Thnaks & Regards 

Ivan Danchev
Telerik team
 answered on 15 Jan 2016
5 answers
581 views

Hi!  

    I have a radDropdownlist element inside a radGrid, I have to decide to enable/disable the radDropdownlist element base on it's selected value.  I have

searched and tried the solutions from the forums.  There are suggestions to place code in page_PreRender, ItemDataBound or ItemCreated events and check

e.item as GridDataItem or GridPagerItem and then findControl, but it could never find my dropdownlist control.

Any suggestions? What event should trigger the checking?

Thanks in advance!

Sharon

 

Konstantin Dikov
Telerik team
 answered on 15 Jan 2016
4 answers
79 views
2014.2.424.45

Cannot read property `_owner` of null

if(d!=null&&this._canDragDrop&&!this._owner._owner._isResize){var j=this._owner._owner.ClientSettings.PostBackFunction;

The error didn't happen in 2014.1
Konstantin Dikov
Telerik team
 answered on 15 Jan 2016
2 answers
245 views

I have two dynamically populated listboxes, and I need to be able to drag and drop multiple items back and forth.  All events must be handled server-side in C#.  Using the Dropped event in the codebehind, I was able to get close to what I wanted, but I cannot drop on the actual listbox, only the padding on its surrounding div.  I am aware of the documentation regarding dropping only on HTML elements, not on the actual RadListBox.  So how can I achieve the desired functionality?

 

I use version 2015.1.401.45.

Ivan Danchev
Telerik team
 answered on 15 Jan 2016
3 answers
173 views

I have a RadEditor as can be seen below.

The default font seems to be Arial and size 14. Then I paste some plain text in the editor and yet when I check the txtDescription.Content property the text does not have any font name/size details.

If I were to change the font/size to anything other than the default values the .Content property contains <span font:... etc which is what I need.

How can I get this CSS formatting included even with the default font name and size?

 

<telerik:RadEditor ID="txtDescription" runat="server" Skin="Metro" Width="900px" EditModes="Design"
                               ContentAreaMode="Div" NewLineMode="Br" NewLineBr="true" EnableAjaxSkinRendering="False" Height="200px" OnClientLoad="RadEditorLoad">
                                <Tools>
                                    <telerik:EditorToolGroup Tag="MainToolbar">
                                        <telerik:EditorTool Name="SelectAll" ShortCut="CTRL+A / CMD+A" />
                                        <telerik:EditorTool Name="Cut" ShortCut="CTRL+X / CMD+X" />
                                        <telerik:EditorTool Name="Copy" ShortCut="CTRL+C / CMD+C" />
                                        <telerik:EditorTool Name="Paste" ShortCut="CTRL+V / CMD+V" />
                                        <telerik:EditorToolStrip Name="PasteStrip">
                                            <telerik:EditorTool Name="PasteFromWord" />
                                            <telerik:EditorTool Name="PasteFromWordNoFontsNoSizes" />
                                            <telerik:EditorTool Name="PastePlainText" />
                                        </telerik:EditorToolStrip>
                                        <telerik:EditorSeparator />
                                        <telerik:EditorSplitButton Name="Undo">
                                        </telerik:EditorSplitButton>
                                        <telerik:EditorSplitButton Name="Redo">
                                        </telerik:EditorSplitButton>
                                    </telerik:EditorToolGroup>
                                    <telerik:EditorToolGroup>
                                        <telerik:EditorTool Name="Superscript" />
                                        <telerik:EditorTool Name="Subscript" />
                                        <telerik:EditorTool Name="InsertParagraph" />
                                        <telerik:EditorTool Name="InsertGroupbox" />
                                        <telerik:EditorTool Name="InsertHorizontalRule" />
                                        <telerik:EditorTool Name="InsertDate" />
                                        <telerik:EditorTool Name="InsertTime" />
                                        <telerik:EditorSeparator />
                                    </telerik:EditorToolGroup>
                                    <telerik:EditorToolGroup>
                                        <telerik:EditorDropDown Name="FormatBlock">
                                        </telerik:EditorDropDown>
                                        <telerik:EditorDropDown Name="FontName">
                                        </telerik:EditorDropDown>
                                        <telerik:EditorDropDown Name="RealFontSize">
                                        </telerik:EditorDropDown>
                                    </telerik:EditorToolGroup>
                                    <telerik:EditorToolGroup>
                                        <telerik:EditorTool Name="AbsolutePosition" />
                                        <telerik:EditorSeparator />
                                        <telerik:EditorTool Name="Bold" ShortCut="CTRL+B / CMD+B" />
                                        <telerik:EditorTool Name="Italic" ShortCut="CTRL+I / CMD+I" />
                                        <telerik:EditorTool Name="Underline" ShortCut="CTRL+U / CMD+U" />
                                        <telerik:EditorTool Name="StrikeThrough" />
                                        <telerik:EditorSeparator />
                                        <telerik:EditorTool Name="JustifyLeft" />
                                        <telerik:EditorTool Name="JustifyCenter" />
                                        <telerik:EditorTool Name="JustifyRight" />
                                        <telerik:EditorTool Name="JustifyFull" />
                                        <telerik:EditorTool Name="JustifyNone" />
                                        <telerik:EditorSeparator />
                                        <telerik:EditorTool Name="Indent" />
                                        <telerik:EditorTool Name="Outdent" />
                                        <telerik:EditorSeparator />
                                        <telerik:EditorTool Name="InsertOrderedList" />
                                        <telerik:EditorTool Name="InsertUnorderedList" />
                                        <telerik:EditorSeparator />
                                    </telerik:EditorToolGroup>
                                    <telerik:EditorToolGroup>
                                        <telerik:EditorSplitButton Name="ForeColor">
                                        </telerik:EditorSplitButton>
                                        <telerik:EditorSplitButton Name="BackColor">
                                        </telerik:EditorSplitButton>
                                        <telerik:EditorSplitButton Name="InsertSymbol">
                                        </telerik:EditorSplitButton>
                                        <telerik:EditorTool Name="ConvertToLower" />
                                        <telerik:EditorTool Name="ConvertToUpper" />
                                    </telerik:EditorToolGroup>
                                </Tools>
                                <Content>
                                </Content>
                                <TrackChangesSettings CanAcceptTrackChanges="False"></TrackChangesSettings>
                            </telerik:RadEditor>

Ianko
Telerik team
 answered on 15 Jan 2016
10 answers
516 views
Hello everyone,
i am trying to hide columns in a RadGrid through the OnColumnCreated-event in the code-behind.
The Radgrid is bound to the Data in the PageLoad by just assigning a DataTable as DataSource.
On the clientside the hidden columns should really just be hidden, so that i can access them through JavaScript because i want to react on OnRowClick and need the information.
var grid = sender;
var MasterTable = grid.get_masterTableView();
 
var row = MasterTable.get_dataItems()[args.get_itemIndexHierarchical()];
 
var value1= MasterTable.getCellByColumnUniqueName(row, "HiddenRow1").innerHTML;
var value2= MasterTable.getCellByColumnUniqueName(row, "HiddenRow2").innerHTML;

The OnRowClick then does an async postback by using the RadAjaxManager and then i can handle everything in the code behind but i still need those values.
How can i hide columns and still get access them on the client side?
Or is there a way to use just the rownumber to get the Row and its values on the server side?
Maria Ilieva
Telerik team
 answered on 15 Jan 2016
3 answers
159 views

Is there an option to re order the telerik filter menu? We are using default filter functionality provided.

 Our client needs 'contains' option at the top of the filter menu. Also, is it possible to have some common code so that it can be used across our site. Because we are using more than 20 grids in our application and this change should reflect in all the grids.

 

Jayesh
Top achievements
Rank 1
 answered on 15 Jan 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?