Telerik Forums
UI for ASP.NET AJAX Forum
8 answers
413 views

Hello,

I started using the Spreadsheet control and have a couple issues:

1) I am programatically creating a workbook on the server side and using it with a custom provider. When I disable cells on the server side, they are correctly not editable on the client side. However, attempting to modify read only cells generates Javascript error: 0x80070057 - JavaScript runtime error: Invalid argument. For example, this occurs when I highlight a cell, press some number keys, and then hit enter.

 

2) The "auto-complete" feature - the icon on the bottom right of the selected range that allows automatic data generation/copying cannot by selected on IE11. This tool also allows modification of data contained in read only cells. Ideally, I would like to disable this feature, but I cannot find an option to.

 

3) Is it possible to copy data to from another spreadsheet application such as Excel to the RadSpreadsheet, but copy text only? I can copy from Excel now, but it keeps source formatting.

 

4) Is there a onClientCellModified method that I can listen to? I would like to implement some simple client side logic, similar to what a "Macro" would accomplish.

 

Thanks for any help.

Bozhidar
Telerik team
 answered on 08 Mar 2016
2 answers
127 views

Hello,

 

I am trying to figure something out and not having any luck.

 

I am trying to add a Custom Editor Tool to my RadEditor. I have gotten most of what I want to work (on the Ribbon, on multiple tabs, in its own section) but I cannot get the Text to show up. Instead, I just get the default off-cent quote-i image.  I do not want an image to display; instead, I'd like the button's text to display.  

 

On the EditorTool ...

I've set:  ShowText = true;

And:     ShowIcon = false;

I've provided a Text property value. I've cleared out the ImageUrl and ImageUrlLarge values (String.Empty and null). But I can't figure out how to make the button show its Text and not its Image.

Can't figure out what I'm doing wrong.  Should I be using a different control (EditorTool)? Can I do it via the XML file?

CRAIG
Top achievements
Rank 1
 answered on 07 Mar 2016
2 answers
501 views

hi 

where I can download Telerik UI controls for ASP.NET AJAX Q2 2014 SP1 (version 2014.2.724 )

 

Tank's

Edgar
Top achievements
Rank 1
 answered on 07 Mar 2016
8 answers
697 views

Using UI for ASP.NET AJAX Q1 2016, with VS 2013. My situation is below:
 
 1a) Exporting SQL Data to users weekly basis into an Excel File via SSIS Package. Works Fine...
 
 1b) Super User add/edit's some Cell (Not row/column) data elements in that Excel File based on data from a 3rd Party.
 
 Now Super user want to Publish that Excel Data into Web just as read only to other user's.
 
 My intention:
 
 2a) How to hide toolbar, formula bar, Making Cells/Formula's read only and just show export to Excel Button using below Prototype.


 2b) Possible when exporting to Excel, instead of Save/Save as (in #2a),  allow open/save/cancel like below RadGrid Demo. 99% of the time, user will prefer to open the file prior to save it.

 

Thanks a lot.
 
 gc_0620
 

 

Ivan Danchev
Telerik team
 answered on 07 Mar 2016
3 answers
164 views

I open the RadWindow by the code.  Both OpenDownloadFile and OpenDownloadFile1 does not work.

The code is actually copied from my old code.  Now my version is 2015Q3.  Old code is working fine in old Telerik versions.

IE11 displays error: Object doesn't support property or method '_createDefaultTable'.

 

Regards

Alfred

 

 

 

01.<a href="javascript:void(0)" onclick="OpenDownloadFile();">Run JavaScript Code</a>
02. 
03.function OpenDownloadFile() {
04.     var wndManager = $find("<%=RadWindowManager1.ClientID%>");
05.     var oWnd = wndManager.open("Popup_DownloadFile.aspx", "RadWindow1");
06.     oWnd.center();
07. 
08.}
09. 
10.function OpenDownloadFile1() {
11.            var oWnd = radopen("Popup_DownloadFile.aspx?ID=" + FileID, null); // open radwindow        
12.            oWnd.set_title("Download File");
13.            oWnd.set_visibleStatusbar(false);
14.            oWnd.setSize(700, 1000);
15.            oWnd.moveTo(100, 50);
16.            window.scrollTo(100, 100)
17.             
18.        }

Alfred
Top achievements
Rank 1
 answered on 07 Mar 2016
1 answer
110 views

Hi there,

I came across an RadEditor inconsistent issue in IE, when I right click on the Editor, no context menu shows in IE, but I do get a context menu including cut, copy, paste in Firefox. I would like the Editor to show the context menu in both IE and Firefox. Is there anyone can help? Thanks a lot.

Following is my test code:

 

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="RadEditorTest.aspx.cs" Inherits="RadEditorTest" %>
<!DOCTYPE html>
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
        <telerik:RadEditor runat="server" ID="tb_taskinstructionRichEdit" EditModes="Design" Width="99%" Height="200px">
                <Tools>
                <telerik:EditorToolGroup >
                    <telerik:EditorTool Name="Bold"></telerik:EditorTool>
                    <telerik:EditorTool Name="Italic"></telerik:EditorTool>
                    <telerik:EditorTool Name="Underline"></telerik:EditorTool>
                    <telerik:EditorSeparator></telerik:EditorSeparator>
                    <telerik:EditorTool Name="ForeColor"></telerik:EditorTool>
                    <telerik:EditorTool Name="BackColor"></telerik:EditorTool>
                    <telerik:EditorSeparator></telerik:EditorSeparator>
                    <telerik:EditorTool Name="FontName"></telerik:EditorTool>
                    <telerik:EditorTool Name="RealFontSize"></telerik:EditorTool>
                    <telerik:EditorSeparator></telerik:EditorSeparator>
                    <telerik:EditorTool Name="Indent" />
                    <telerik:EditorTool Name="Outdent" />
                    <telerik:EditorTool Name="JustifyLeft" />
                    <telerik:EditorTool Name="JustifyCenter" />
                    <telerik:EditorTool Name="JustifyRight" />
                    <telerik:EditorTool Name="JustifyFull" />
                    <telerik:EditorTool Name="JustifyNone" />
                    <telerik:EditorTool Name="InsertOrderedList" />
                    <telerik:EditorTool Name="InsertUnOrderedList" />
                    <telerik:EditorTool Name="InsertLink" />
                    <telerik:EditorTool Name="InsertTableLight" />
                    <telerik:EditorSeparator></telerik:EditorSeparator>
                    <telerik:EditorTool Name="Redo" />
                    <telerik:EditorTool Name="Undo" />      
                </telerik:EditorToolGroup>
            </Tools>
        </telerik:RadEditor>
    </div>
    </form>
</body>
</html>

 

 

Vessy
Telerik team
 answered on 07 Mar 2016
3 answers
265 views

I have a problem when I disable the viewState for the RadScheduler.  I know it's not safe doing that but I want my page to be as light as possible. 

In the Page_load event, I load appointments from a database (on Init and Postback).  The problem I have is that I cannot retreive the new appointments in the scheduler after a postback.  If I check the Appointments collection, I don't have the new ones.

Can someone explain why I lost the new ones ?  I was thinking that it's on the LoadPostData that you retreive the new data from the control.  Do I miss something ?

    protected void Page_Load(object sender, EventArgs e)
    {
      // Check AppointmentCollection.  Always o element inside.
      AppointmentCollection appointments = RadScheduler1.Appointments;

      // Load Appointment
      DateTime now = DateTime.UtcNow;
      now = new DateTime(now.Year, now.Month, now.Day, now.Hour, 0, 0);
      List<AppointmentInfo> appointments = new List<AppointmentInfo>();

      appointments.Add(new AppointmentInfo("Programmer le scheduler", now, now.AddHours(1)));

      RadScheduler1.DataKeyField = "ID";
      RadScheduler1.DataSubjectField = "Subject";
      RadScheduler1.DataStartField = "Start";
      RadScheduler1.DataEndField = "End";
      RadScheduler1.DataSource = appointments;
    }

Nencho
Telerik team
 answered on 07 Mar 2016
16 answers
213 views

Hi, 

I'm not getting any loading panes loading when using the material skin.  Is there a known issue?  The below works when I set the skin on the loading panel as black but not when Material...

 

<html lang="en">
    <head runat="server">
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title>Login Page</title>
    </head>
  <body >
        <form id="uxLoginForm" runat="server">
            <telerik:RadScriptManager ID="uxRadScriptManager" runat="server"></telerik:RadScriptManager>
            <telerik:RadStyleSheetManager ID="uxRadStyleSheetManager" Runat="server"></telerik:RadStyleSheetManager>
            <div id="test" style="width:1000px;height:100px;background-color:red;">ddd</div>
            <telerik:RadAjaxManager ID="uxRadAjaxManager" runat="server" >
                <AjaxSettings>
                    <telerik:AjaxSetting AjaxControlID="test">
                        <UpdatedControls>
                            <telerik:AjaxUpdatedControl ControlID="test" LoadingPanelID="uxLoadingPanel" />
                        </UpdatedControls>
                        </telerik:AjaxSetting>
                </AjaxSettings>
            </telerik:RadAjaxManager>
            <telerik:RadAjaxLoadingPanel ID="uxLoadingPanel" Runat="server" Skin="Material" ></telerik:RadAjaxLoadingPanel>
        </form>           
        <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
            <script type="text/javascript">
                function pageLoad() {
                    currentLoadingPanel = $find("<%= uxLoadingPanel.ClientID %>");
                    currentLoadingPanel.show("test");
 
                };
            </script>
        </telerik:RadCodeBlock>
    </body>
</html>

 

Maria Ilieva
Telerik team
 answered on 07 Mar 2016
1 answer
153 views

Hi there;

If I have a GridGroupFooterItem (or HeaderItem), is there an easy way for me to tell what grouping level it belongs to?

J

Konstantin Dikov
Telerik team
 answered on 07 Mar 2016
1 answer
133 views

I am trying to integrate telerik controls into a web application that was recently upgraded from .net 1.1 to 4.5.  Needless to say the pages and configs contain all sorts of quirky legacy stuff . I have set up a test page in this webapplication.  On this page I am completely unable to get the RadNavigation control to run. I have it set up as in the Demo. No code behind. I always get a javascript error from the browser on the initial display of the page.

Unhandled exception at line 40, column 40 in http://aspnet-scripts.telerikstatic.com/ajaxz/2016.1.113/Navigation/RadNavigationScripts.js

0x800a138f - JavaScript runtime error: Unable to get property 'toLowerCase' of undefined or null reference

 

If I check fiddler I don't see a tolowercase call on this line.

Any help on this one. I'm guessing it's some sort of config issue since I'm not actually trying to do anything other than get a very very basic sample to run.

Thanks!

Ivan Danchev
Telerik team
 answered on 07 Mar 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?