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

Hello,

I will wish to clarify the following  properties :
- StorageClass
- ServerSideEncryptionMethod 
- CannedACL
 I do not see how, thank you for your help.

 Vincent

Hristo Valyavicharski
Telerik team
 answered on 09 Oct 2015
1 answer
203 views

Hi

 Is there a way to set the size of the exported PDF boxes in the org chart?

 I have quite a large org chart to export and it would be really useful if I could increase the size of certain boxes (for example, where a manager has many subordinates, I'd like the make the manager's box larger).

Is this possible?

 

Ivan Danchev
Telerik team
 answered on 09 Oct 2015
1 answer
97 views

I was trying to create an iframe in RadEditor, I encountered some javascript error. Even I can reproduce on RadEditor demo site.

Please see my video: http://screencast.com/t/LMiX8qm2 

 

Is it a known issue or if there is any solution?

 

Thanks a lot.

Ianko
Telerik team
 answered on 09 Oct 2015
9 answers
103 views
Does the DropdownList have a "Label" property like the ComboBox does?
Eyup
Telerik team
 answered on 09 Oct 2015
1 answer
60 views

Hello,

I want row selection when Shift + U​p or Down arrow key is press in RadGrid but not working in IE 11 specifically. My Telerik dll is 2011.1.519.35.

My Code is as follows

<telerik:RadGrid ID="dgHistory" runat="server" AutoGenerateColumns="false" onkeydown="CheckShiftKey(this,event)"
    AllowSorting="false" AllowMultiRowSelection="True" GridLines="None" Height="0px">
    <PagerStyle AlwaysVisible="false" />
    <SelectedItemStyle CssClass="ToothChartSelected" />
    <ItemStyle HorizontalAlign="Left" VerticalAlign="Top" />
    <AlternatingItemStyle HorizontalAlign="Left" VerticalAlign="Top" />
    <MasterTableView DataKeyNames="ChartHistoryID">
        <HeaderStyle CssClass="ChartingRadGridColumnHeader" />
        <ItemStyle CssClass="ChartingRadGridRow" VerticalAlign="Top" />
        <Columns>
            <telerik:GridBoundColumn DataField="RType" HeaderText="Type" Display="false"
                UniqueName="RecordType" HeaderStyle-Width="80px">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="RID" HeaderText="ID" Display="false" UniqueName="RecordID"
                HeaderStyle-Width="50px">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="ID" HeaderText="OID" Display="false" UniqueName="OID">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="DDate" HeaderText="Date" UniqueName="DisplayDate"
                HeaderStyle-Width="55px" DataFormatString="{0:MM/dd/yy}">
            </telerik:GridBoundColumn>
       
        </Columns>
    </MasterTableView>
    <ClientSettings EnableRowHoverStyle="true" EnableAlternatingItems="false" AllowKeyboardNavigation="true">
        <Selecting AllowRowSelect="true" EnableDragToSelectRows="true" />
        <Resizing AllowColumnResize="true" ResizeGridOnColumnResize="true" EnableRealTimeResize="true" />
        <ClientEvents OnRowDataBound="function(s,e){ RowDataBound(s,e);}"  OnKeyPress="CheckShiftKey"
            OnRowContextMenu="OnContextMenu" OnRowClick="OnLeftClick" OnGridCreated="function(s,e){ BindGridHotkeys(s,e); SetHistoryGridHeight(s, e); tc$.historyGridCo=s;}"
            OnRowSelected="RowSelected" OnRowDblClick="onrowdblclick" />
        <Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="True">
        </Scrolling>
    </ClientSettings>
</telerik:RadGrid>​

and  client side script is

  function CheckShiftKey(sender, args) {
        var keyCode = args.get_keyCode();

        if (args.get_isShiftPressed()) {
            if (keyCode == 38 || keyCode == 40) {
                if (sender._activeRow != null) {
                    var nextRow = sender._getNextActiveRow(sender._activeRow, keyCode);
                    if (!nextRow) return;
                    var nextItem = $find(nextRow.id);
                    var currentItem = $find(sender._activeRow.id);
                    if (nextItem.get_selected()) {
                        currentItem.set_selected(false);
                    }
                }
            }
        }
    }

 

Thanks,

Prajwal Thakur

Pavlina
Telerik team
 answered on 08 Oct 2015
1 answer
111 views

Hi everyone,

We're in the market for a new tool for creating online help/documentation for our web application. Anybody have any suggestions?

Thanks,

Tom

Pavlina
Telerik team
 answered on 08 Oct 2015
1 answer
323 views
Dear,
I'm look for a way to export HTML to DOCX programmatically. We are saving content of the RadEditor in the database. Then we need to export this content to DOCX.
Thanks in advance,
Irf.
David
Top achievements
Rank 1
Iron
Veteran
Iron
 answered on 08 Oct 2015
1 answer
138 views

I am encountering an issue when combining RadMenu with LightWeight Rendering on a page with a RadGrid using Classic Rendering.   ​ Enabling Filtering on the Grid causes the submenu items on the RadMenu to appear incorrectly.  

 

I am using 2015.3.930.40   

 

If I render both controls with LightWeight rendering or render both controls with Classic rendering everything appears correctly.  It only appears incorrectly when Filtering is enabled on the grid.    

Pavlina
Telerik team
 answered on 08 Oct 2015
3 answers
255 views

I am attempting to create a stacked bar chart based on a SQL data source.

The first attachment (before) shows the basic chart, with the values also show on the left for reference. (in a RadGrid)

 I then add the second series to the chart definition and get what you see in the second attachment (after)

Note that the scale has changed significantly and it no longer matches the range of values. In this case "future shows" is a fixed value of 5, so the maximum series value for year 2010 would be 33 (28 + 5). As you can see, the scale numbers have no relation to the actual stacked values.

 Also note in the code to follow, the two series are presented in the wrong order. For the year 2010, available shows = 28 and future shows = 5 (per the data source) But what is presented on the chart is a short blue bar and a taller green bar (value 28) is exactly the opposite of what the legend indicates.

<telerik:RadHtmlChart runat="server" ID="Year_Chart" DataSourceID="Year_Summary_Data" Width="452px" Height="400px" OnClientSeriesClicked="OnYearSeriesClick" Skin="BlackMetroTouch">
    <ChartTitle Text="Shows by Year">
        <Appearance Visible="True"></Appearance>
    </ChartTitle>
 
    <Legend>
        <Appearance Position="Bottom" Visible="True"></Appearance>
    </Legend>
 
    <PlotArea>
        <CommonTooltipsAppearance Shared="true" Visible="false">
            <SharedTemplate>
                <div>#= year #</div>
            </SharedTemplate>
        </CommonTooltipsAppearance>
        <XAxis DataLabelsField="year">
            <TitleAppearance Text="Year" Visible="false"></TitleAppearance>
            <LabelsAppearance RotationAngle="75" />
            <MajorGridLines Visible="false"></MajorGridLines>
            <MinorGridLines Visible="false"></MinorGridLines>
        </XAxis>
        <YAxis>
            <MajorGridLines Visible="true" Color="#ffc5bf" Width="1"></MajorGridLines>
            <MinorGridLines Visible="false"></MinorGridLines>
        </YAxis>
        <Series>
            <telerik:ColumnSeries Stacked="True" Name="Available Shows" DataFieldY="shows">
                <LabelsAppearance Visible="True"></LabelsAppearance>
            </telerik:ColumnSeries>
           <telerik:ColumnSeries Stacked="True" Name="Future Shows" DataFieldY="future">
                <LabelsAppearance Visible="False"></LabelsAppearance>
            </telerik:ColumnSeries>
        </Series>
 
    </PlotArea>
</telerik:RadHtmlChart>

Tomica
Top achievements
Rank 2
 answered on 08 Oct 2015
1 answer
270 views

I get a failure from OnClientFileUploadFailed when I allow zip files, and MaxFileSize is set.  If I remove MaxFileSize zip files upload correctly, but I would like to have both.  Is there a workaround for this?

 

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="mu.aspx.cs" Inherits="CODAUploads.mu" %>
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
 
<!DOCTYPE html>
 
<head runat="server">
     <meta charset="utf-8" />
      <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title><%: Page.Title %></title>
        <link rel="stylesheet" href="~/content/bootstrap.css"/>   
</head>
<body>
    <form id="form1" runat="server">
    <div>
 
        <telerik:RadScriptManager runat="server" ID="rsm"></telerik:RadScriptManager>
 
 
 
<asp:Panel ID="pnlUpload" runat="server">
    <telerik:RadAsyncUpload runat="server" ID="AsyncUpload1" OnClientFileUploaded="OnClientFileUploaded" OnClientFileUploadFailed="badfiletype" OnClientValidationFailed="badfiletype"
        AllowedFileExtensions="zip,xlsx,xls,pdf,doc,docx" MaxFileSize="2048576" OnFileUploaded="AsyncUpload1_FileUploaded" Skin="Bootstrap" UploadedFilesRendering="BelowFileInput">
        </telerik:RadAsyncUpload>
 
     <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
        <script type="text/javascript">
            var uploadedFilesCount = 0;
            var isEditMode;
            function validateRadUpload(source, e) {
 
                if (isEditMode == null || isEditMode == undefined) {
                    e.IsValid = false;
 
                    if (uploadedFilesCount > 0) {
                        e.IsValid = true;
                    }
                }
                isEditMode = null;
            }
 
            function badfiletype(sender, eventArgs) {
                alert("This file type is not accepted");
            }
 
 
            function OnClientFileUploaded(sender, eventArgs) {
                uploadedFilesCount++;
            }          
              
        </script>
    </telerik:RadCodeBlock>
                         <span class="allowed-attachments">Select files to upload (<%= String.Join( ",", AsyncUpload1.AllowedFileExtensions ) %>)
                        </span>
                    
                       <label>Attached files:</label>
                        <asp:Repeater runat="server" ID="AttachmentRepeater" EnableViewState="false">
                            <ItemTemplate>
                                <span class="attachment icon-<%#Eval("FileExtension")%>">
                                    <%# Eval("FileName") %>
                                (<%# Eval("ContentLength") %>kb);
                                </span>
                            </ItemTemplate>
                        </asp:Repeater>
 
 
</asp:Panel>
 
    </div>
    </form>
</body>
</html>
Code below

Joel
Top achievements
Rank 2
 answered on 08 Oct 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?