Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
81 views

Hello,

I'm using a RadAjaxManager to perform an async request to the code behind. With Chrome, the page jumps to the top and then returns to the original scroll location. I'm kicking off the request via the change event of a Kendo UI DatePicker. The event calls the ajaxRequestWithTarget js function from the RadAjaxManager. Sometimes is takes 1 or 2 calendar date changes for this behavior to start. This behavior only happens with Chrome (42.0.2311.90 m). Below is an example.

Browser: Chrome (42.0.2311.90 m)

Dev Environment: Visual Studio 2013

Telerik Version: UI for ASP.NET AJAX Q1 2015

 

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Test.aspx.cs" Inherits="RadAjaxManagerIssue.Test" %><br><!DOCTYPE html><br><br><html xmlns="http://www.w3.org/1999/xhtml"><br>    <br><head runat="server"><br>    <title></title><br>    <script src="//code.jquery.com/jquery-1.9.1.min.js"></script><br>    <script src="http://cdn.kendostatic.com/2015.1.318/js/kendo.ui.core.min.js"></script><br>    <link href="http://cdn.kendostatic.com/2015.1.318/styles/kendo.common.min.css" rel="stylesheet" type="text/css" /><br>    <link href="http://cdn.kendostatic.com/2015.1.318/styles/kendo.default.min.css" rel="stylesheet" type="text/css"/><br></head><br><br><body>    <br>    <form id="form1" runat="server"><br>              <br>        <div><br>            <telerik:RadScriptManager   ID="rsm" runat="server"> </telerik:RadScriptManager><br>        <br>            <div style="padding-top: 1500px;"><br>                <input id="txtMonth" runat="server" /><br>                <asp:CustomValidator ID="valMonthPicker" ControlToValidate="txtMonth" ClientValidationFunction="IsValidDate" Text="*" runat="server"><br>                </asp:CustomValidator><br>                <input id="txtUpdatedControl" runat="server" />   <br>            </div><br>        </div><br>        <br>        <telerik:RadAjaxManager ID="ram" runat="server"><br>            <AjaxSettings><br>                <telerik:AjaxSetting AjaxControlID="txtMonth"><br>                    <UpdatedControls><br>                        <telerik:AjaxUpdatedControl ControlID="txtUpdatedControl" /><br>                    </UpdatedControls><br>                </telerik:AjaxSetting><br>            </AjaxSettings><br>        </telerik:RadAjaxManager><br>        <br>        <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server"><br>            <script type="text/javascript">              <br>                function InitiateAsyncRequest() {<br>                    $find('ram').ajaxRequestWithTarget('txtMonth', '');<br>                    return false;<br>                }<br><br>                function IsValidDate(source, args) {<br>                    var datePicker = $('#txtMonth').data('kendoDatePicker');<br>                    var date = datePicker.value();<br>                    var format = datePicker.format;<br>                    args.IsValid = kendo.parseDate(date, format);<br>                }<br><br>                $('#txtMonth').kendoDatePicker({<br>                    start: 'year',<br>                    depth: 'year',<br>                    format: 'MM/yyyy',<br>                    change: InitiateAsyncRequest<br>                });<br>            </script><br>        </telerik:RadCodeBlock><br>    </form><br></body><br></html>

Konstantin Dikov
Telerik team
 answered on 30 Apr 2015
1 answer
150 views
on RadHtmlChart - I have my legend on the right side - is it possible in any way to add header(s) to it? just the legend part.
Danail Vasilev
Telerik team
 answered on 30 Apr 2015
1 answer
144 views

Hi there,

How can I select a cell by using Javascript? I found a method to clear all selected cells but it seems there is not way to select / deselect a single cell on client side.

Please can you help me?

Thank you and regards,
Dan

Konstantin Dikov
Telerik team
 answered on 30 Apr 2015
3 answers
82 views

Hi,

I can't see the tool "InsertExternalVideo". I have no ToolsFile.xml

What am i missing?

 

 

Vessy
Telerik team
 answered on 30 Apr 2015
1 answer
149 views

Hi,

 I'm using a 2012 Version of the Telerik DLL (2012.1.411.40 - v4.0.30319)  - due to comparability with an older integrated project (basically when I use the new DLL- combo boxes start looking really weird)

 I have a RadGrid with a TreeList Control in it. The TreeList is AJAX enabled. Everytime the TreeList does an AJAX call, if I leave my mouse on the control I get a Javascript: "Error: Unspecified Error" error. The error does not occur if I move my mouse off the control after clicking. Some sort of mouseover event is conflicting with the AJAX call and causing errors. 

 This is ONLY occurring in IE 11. Earlier versions of IE, no problem. Chrome, no problem.

 Attached find an image of the debugger with the javascript call stack, an image of the error itself.

 Anyone know what's causing this? Or had this happen before?

Code:

The Control .ascx

01.<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="StandAlone.ascx.cs" Inherits="DDW.DA2_Clients.StandAlone" %>
02.<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
03. 
04. 
05.<telerik:RadAjaxManager ID="RadAjaxManagerBoundaryDefinitions" runat="server" DefaultLoadingPanelID="RadAjaxLoadingPanelBoundaryDefinitions">
06.    <AjaxSettings>
07.        <telerik:AjaxSetting AjaxControlID="AreaJurTreeList">
08.            <UpdatedControls>
09.                <telerik:AjaxUpdatedControl ControlID="AreaJurTreeList" />
10.            </UpdatedControls>
11.        </telerik:AjaxSetting>
12.        <telerik:AjaxSetting AjaxControlID="AreaJurTreeListEdit">
13.            <UpdatedControls>
14.                <telerik:AjaxUpdatedControl ControlID="AreaJurTreeListEdit" />
15.            </UpdatedControls>
16.        </telerik:AjaxSetting>
17.    </AjaxSettings>
18.</telerik:RadAjaxManager>
19. 
20.<telerik:RadGrid ID="BoundaryDefinitionDetailsGrid" AutoGenerateColumns="false" OnNeedDataSource="BoundaryDefinitionDetailsGrid_NeedDataSource" Width="100%" runat="server"
21.                 ViewStateMode="Enabled" BorderStyle="None"
22.                 AllowPaging="false" GridLines="None" MasterTableView-GridLines="None">
23.    <MasterTableView BorderStyle="None" NoMasterRecordsText="No Boundary Definition match these attributes" ShowHeadersWhenNoRecords="false" EditMode="InPlace"
24.                     DataKeyNames="BoundaryDefinitionId, BoundaryName">
25.        <Columns>
26.            <telerik:GridTemplateColumn UniqueName="BoundaryDefDetailsCol">
27.                <ItemTemplate>
28.                    <h2>Boundary Definition Details</h2>
29.                    <div class="container">
30.                        <div class="text-inputs">
31.                            <div class="left-column-controls">
32.                                <asp:Label ID="BoundaryIdLabelEdit" runat="server" CssClass="DetailsLabel">Boundary ID:</asp:Label>
33.                                <telerik:RadTextBox ID="BoundaryIdTextboxEdit" runat="server" Width="100px" Enabled="true" Text="Sample Text Bound to something" />                              
34.                            </div>
35.                            <div class="right-column-controls">
36.                                <asp:Label ID="Label1" runat="server" CssClass="DetailsLabel">Boundary ID:</asp:Label>
37.                                <telerik:RadTextBox ID="RadTextBox1" runat="server" Width="100px" Enabled="true" Text="Sample Right Text Bound to something" />
38.                            </div>
39.                        </div>
40.                        <div id="areajurtreelist">
41.                            <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanelBoundaryDefinitions" runat="server" HorizontalAlign="Center" IsSticky="true" Style="position: static" Transparency="10">
42.                                <asp:Image ID="Image1" Style="border: 0px" alt="working..." runat="server" ImageUrl="~/Images/loading.gif" />
43.                            </telerik:RadAjaxLoadingPanel>
44.                            <telerik:RadTreeList ID="AreaJurTreeList" runat="server" OnNeedDataSource="AreaJurTreeList_NeedDataSource"
45.                                ParentDataKeyNames="Area" DataKeyNames="Code" AllowPaging="false" ClientSettings-Scrolling-AllowScroll="true"
46.                                AutoGenerateColumns="false" AllowSorting="true" OnItemDataBound="AreaJurTreeList_ItemDataBound" Height="500"
47.                                BorderColor="Gray" BorderStyle="Solid" BorderWidth="1px"
48.                                HeaderStyle-BorderColor="Gray" HeaderStyle-BorderWidth="1px" HeaderStyle-BorderStyle="Solid" >
49.                                <Columns>
50.                                    <telerik:TreeListBoundColumn DataField="Code" UniqueName="Code" HeaderText="Code" Visible="false" />          
51.                                    <telerik:TreeListBoundColumn DataField="Area" UniqueName="Area" HeaderText="Area ID" Visible="false" />           
52.                                        <telerik:TreeListTemplateColumn DataField="Description" UniqueName="Description" HeaderText="Description">
53.                                        <ItemTemplate>
54.                                            <asp:Label ID="AreaJurNameEdit" runat="server" Text='<%# Eval("Description")%>'>
55.                                            </asp:Label>
56.                                        </ItemTemplate>
57.                                    </telerik:TreeListTemplateColumn>
58.                                    <telerik:TreeListTemplateColumn>
59.                                        <ItemTemplate>
60.                                            <asp:CheckBox ID="CheckBoxEdit" runat="server" AutoPostBack="true" />
61.                                        </ItemTemplate>
62.                                    </telerik:TreeListTemplateColumn>       
63.                                </Columns>
64.                            </telerik:RadTreeList>
65.                        </div>
66.                    </div>
67.                </ItemTemplate>
68.            </telerik:GridTemplateColumn>
69.        </Columns>
70.    </MasterTableView>
71.</telerik:RadGrid>

 The Control Code Behind:

 

01.using System;
02.using System.Collections.Generic;
03.using System.Linq;
04.using System.Web;
05.using System.Web.UI;
06.using System.Web.UI.WebControls;
07.using DDW.Core;
08.using DDW.ServiceReference;
09.using Telerik.Web.UI;
10. 
11.namespace DDW.DA2_Clients
12.{
13.    public partial class StandAlone : System.Web.UI.UserControl
14.    {
15.        DDW.ServiceReference.ServiceDDWClient Svc;
16.        protected void Page_Load(object sender, EventArgs e)
17.        {
18. 
19.        }
20.        protected void AreaJurTreeList_NeedDataSource(object sender, TreeListNeedDataSourceEventArgs e)
21.        {
22. 
23.            //may not need, handled at Grid Level
24.            var RadTreeList = sender as RadTreeList;
25.            RadTreeList.DataSource = GetAttributes();
26. 
27.        }
28.        private List<Jurisdiction> GetAttributes()
29.        {
30.            Svc = new ServiceDDWClient();
31. 
32.            List<Jurisdiction> AreaJurs = new List<Jurisdiction>();
33.            List<AssessmentArea> Areas;
34.            try
35.            {
36.                Areas = Svc.GetAreasListWithFN();
37. 
38.                foreach (AssessmentArea Ass in Areas)
39.                {
40.                    Jurisdiction Temp = new Jurisdiction();
41.                    Temp.Code = Ass.Code;
42.                    Temp.Description = Ass.LongDescription;
43.                    Temp.Area = null;
44. 
45.                    //Safe to use this roll year? Will it always be current in Prod?
46.                    Temp.RollYear = Ass.RollYear.ToString();
47.                    Temp.ShortName = null;
48. 
49.                    AreaJurs.Add(Temp);
50.                    List<Jurisdiction> TempJurs;
51. 
52.                    //Get all jurs for the area and add them to the list as well.
53.                    TempJurs = Svc.GetJurisdictionsListGivenArea(Ass.Code, Ass.RollYear.ToString());
54. 
55.                    AreaJurs.AddRange(TempJurs);
56. 
57.                }
58.            }
59.            catch (Exception ex)
60.            {
61.                Svc.Abort();
62.                throw new Exception("An Error has occured retrieving the list of Areas: Fault Execption Details from the Web Service: " + ex.ToString());
63.            }
64.            finally
65.            {
66.                Svc.Close();
67.            }
68. 
69.            return AreaJurs;
70.        }
71.        protected void AreaJurTreeList_ItemDataBound(object sender, TreeListItemDataBoundEventArgs e)
72.        {
73.        }
74.        protected void BoundaryDefinitionDetailsGrid_NeedDataSource(object sender, GridNeedDataSourceEventArgs e)
75.        {
76.            Svc = new ServiceDDWClient();
77.            BoundaryDefinitionDetailsGrid.DataSource = GetBoundaryDefinition();
78. 
79.        }
80.        private List<BoundaryDefinition> GetBoundaryDefinition()
81.        {
82.            List<BoundaryDefinition> ListOfDefs = new List<BoundaryDefinition>();
83.            BoundaryDefinition test = new BoundaryDefinition("BoundDefId", "Port Clements (Village of)", 203, "Fee Paying", true, DateTime.Now, DateTime.Today, "Fergasun");
84.            ListOfDefs.Add(test);
85.            return ListOfDefs;
86.        }
87.    }
88.}

 

 Thanks,

Craig

Viktor Tachev
Telerik team
 answered on 30 Apr 2015
5 answers
136 views
Hi, I have a RadWindowManager defined like this:
 
           <telerik:RadWindowManager VisibleStatusbar="false" VisibleTitlebar="false" BorderStyle="Double" BorderWidth="100" BorderColor="Red"
                                      EnableShadow="false" Behaviors="Close, Move" ID="RadWindowManager" DestroyOnClose="true" ShowContentDuringLoad="true"
                                      RestrictionZoneID ="RestrictionZone" Opacity="85" runat="server" KeepInScreenBounds="true" Modal="true" OnClientClose="ClientClose">
                <Windows>
                    <telerik:RadWindow runat="server" ID="RadWindowUser" Width="400" Height="500" />
                    <telerik:RadWindow runat="server" ID="RadWindowPCN" Width="600" Height="500" />
                </Windows>
            </telerik:RadWindowManager>

...and I'm invoking the two windows separately like this:

            function ShowUserWindow(userId)
            {
                var manager = window.radopen("UserAudit.aspx?id=" + userId, "RadWindowUser");
                return false;
            }
            function ShowPCNWindow(representationId)
            {
                var manager = window.radopen("PCNAudit.aspx?id=" + representationId, "RadWindowPCN");
                return false;
            }

The first time either of the windows is shown it's all fine, with the width and height being correct. But if I then close the window and show the same one again, the width and height are both 300. Any idea what I'm doing wrong here? Thanks.


















Daniel
Top achievements
Rank 1
 answered on 30 Apr 2015
3 answers
361 views

I'm trying to make a simple CSS class for my users to pick to turn on borders on a table.  Basically, an easy way for general users to emulate the old border="1" on a table before that was frowned upon.  I have found instructions on how to set up a CSS class for the table layout and call it by adding TableLayoutCssFile to my RadEditor declaration.  Then, I found another forum article from somebody who wanted to hide chunks of options on the Table Properties tab of the Table Wizard.  I've gone through the steps found at http://demos.telerik.com/aspnet-ajax/editor/examples/externaldialogspath/defaultcs.aspx.  I have been able to hide the whole CSS Class Layout section that appears on the right.  My class does show up in the drop down list under CSS Class Layout.  When I pick it, the four options (Heading Row, Last Row, First Column, Last Column) become available under the "Apply special formats to" heading.  None of the tables we're going to be creating are going to have that level of detail, so I would like to just disable those four checkboxes so as not to confuse my users.   I've attached a screen capture and circled the section I'm talking about.

Now, in the TableProperties.ascx file that I am editing and referencing via the ExternalDialogsPath property on the RadEditor declaration, I believe I found the relevant section starting around line 356.  I'm pasting it below.  Now, I can add display:none to either the td or the fieldset to hide the entire section, but I don't see where it is printing out the individual sections.  My guess is those script lines are doing the work, but I don't see any access point for me to get to the checkboxes.

<td rowspan="2" style="vertical-align: top;">
<fieldset style="height: 394px;width:375px;"  class="reTablePropertiesCssClass">
<legend>
<script type="text/javascript">document.write(localization["CssClass"]);</script>
<script type="text/javascript">document.write(localization["Layout"]);</script>
</legend>
<telerik:TableBorder id="TableBorder" runat="server"></telerik:TableBorder>
</fieldset>
</td>

Is there a way for me to disable those checkboxes under the CSS Class Layout drop down list?

Vessy
Telerik team
 answered on 30 Apr 2015
1 answer
192 views

Hello,

 

Another Lightweight problem was found in Q1 401 here:

With the RadNumericTextBox, RadDatePicker, RadTimePicker and the RadDateTimePicker the spin / drop down buttons are over the input area. So, if you type, in the radNumericTextbox, the digits you type are behind the spinbuttons. I was not able to do this with a simple CSS adjustment, because they all use the same classes, not a class for each control (riNumeric for i.e. is not avaiable, it is allways riTextBox)

I've created a workaround:

CSS:

<style type="text/css">
    html body .RadInput input.riEmpty,
    html body .RadInput textarea.riEmpty,
    html body input.RadInput_Empty {
        color: #B8B8CB !important;
    }
    .riContSpinButtons input.riTextBox {
        padding-right: 28px;
    }
    .ppRadDatePicker input.riTextBox,
    .ppRadTimePicker input.riTextBox {
        padding-right: 35px;
    }
    .ppRadDateTimePicker input.riTextBox {
        padding-right: 64px;
    }
</style>
 

ASP.NET:

<telerik:RadTextBox ID="RadTextBox1" EmptyMessage="Empty Msg" runat="server" ></telerik:RadTextBox><br /><br />
<telerik:RadNumericTextBox ID="RadNumericTextBox1" ButtonsPosition="Right" ShowSpinButtons="true" EmptyMessage="Empty Msg" IncrementSettings-Step="2" FocusedStyle-HorizontalAlign="Left" EnabledStyle-HorizontalAlign="Right" EmptyMessageStyle-HorizontalAlign="Right" HoveredStyle-HorizontalAlign="Left" NumberFormat-DecimalDigits="2" runat="server"></telerik:RadNumericTextBox><br /><br />
<telerik:RadDatePicker ID="RadDatePicker1" DateInput-EmptyMessage="Empty Msg" CssClass="ppRadDatePicker" runat="server"></telerik:RadDatePicker><br /><br />
<telerik:RadTimePicker ID="RadTimePicker1" DateInput-EmptyMessage="Empty Msg" CssClass="ppRadTimePicker" runat="server"></telerik:RadTimePicker><br /><br />
<telerik:RadDateTimePicker ID="RadDateTimePicker1" DateInput-EmptyMessage="Empty Msg" CssClass="ppRadDateTimePicker" runat="server"></telerik:RadDateTimePicker><br /><br />

I want to have the EmptyMessageStyle to have a somewhat smaller font, but when I do this, the control re-sizes to a reduces height and the buttons do not. Look at the attachment image. This is a pretty weird behavior... It would be to great benefit to all if the individual controls have at least 1 css-class for themselves, like riNumericTextBox, riDatePicker, riTimePicker, etc. 

for now, I do not see how I can accomplish this (smaller font for EmptyMessage)

NB: skin=silk. 

Regards

 

Erik

Galin
Telerik team
 answered on 30 Apr 2015
1 answer
110 views

Hello,

We have a RadAsyncUpload control in our application that uploads an excel file into the 

~\App_Data\RadUploadTemp directory on our local machine (localhost) works great.

 and our TEST Server (shared box) which has been recently migrated from  IIS 6.0 to IIS 7.5.  (Which does not work).  The permissions should all be in place on the new server.  Our Web.config had to be converted due to the server migration.

When i check the log we get a 404 HTTP error.   File not Found, doesnt make sense to me, since i select the File i want to upload it looks like it picks it up and the progressbar starts to upload it.  Of Course it doesnt finish successfully, and we have another procedure that loads the data into an oracle table and that is unsuccessful.

Any ideas ??

 

 Here are the elements in the (old IIS6) Web.config page under   system.web and system.webServer

 <system.web>
<compilation debug="false" strict="false" explicit="true" targetFramework="4.0">
<assemblies>
<add assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="Microsoft.ReportViewer.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Web.Extensions.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="Microsoft.ReportViewer.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
</assemblies>
<buildProviders>
<add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
</buildProviders>
</compilation>
<pages controlRenderingCompatibilityVersion="4.0" clientIDMode="AutoID">
   <namespaces>
    <clear />
    <add namespace="System" />
    <add namespace="System.Collections" />
    <add namespace="System.Collections.Generic" />
    <add namespace="System.Collections.Specialized" />
    <add namespace="System.Configuration" />
    <add namespace="System.Text" />
    <add namespace="System.Text.RegularExpressions" />
    <add namespace="System.Linq" />
    <add namespace="System.Xml.Linq" />
    <add namespace="System.Web" />
    <add namespace="System.Web.Caching" />
    <add namespace="System.Web.SessionState" />
    <add namespace="System.Web.Security" />
    <add namespace="System.Web.Profile" />
    <add namespace="System.Web.UI" />
    <add namespace="System.Web.UI.WebControls" />
    <add namespace="System.Web.UI.WebControls.WebParts" />
    <add namespace="System.Web.UI.HtmlControls" />
   </namespaces>
   <controls>
    <add tagPrefix="asp" namespace="System.Web.UI.DataVisualization.Charting"
     assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
    <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" />  
  </controls>
  </pages>
<authentication mode="Windows"/>
<customErrors mode="Off"/>
<identity impersonate="true"/> 
 <sessionState timeout="20" mode="InProc"/>
<httpHandlers>
   <add path="Telerik.ReportViewer.axd" verb="*" type="Telerik.ReportViewer.WebForms.HttpHandler, Telerik.ReportViewer.WebForms, Version=8.0.14.225, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" validate="true"/>
      <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false"/>     
   <add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
    validate="false" />
    <add path="ChartImg.axd" verb="GET,HEAD,POST" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    validate="false" /> 
   <add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false" />
   <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" />
   <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" />
   <add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false" />
  </httpHandlers>
  <httpRuntime maxRequestLength="4194304" />
</system.web>
<!-- 
        The system.webServer section is required for running ASP.NET AJAX under Internet
        Information Services 7.0.  It is not necessary for previous version of IIS.
    -->
<system.webServer>
  <validation validateIntegratedModeConfiguration="false" />
  <handlers>
   <remove name="ChartImageHandler" />
   <remove name="ChartImage_axd" />
   <remove name="Telerik_Web_UI_SpellCheckHandler_axd" />
   <remove name="Telerik_Web_UI_DialogHandler_aspx" />
   <remove name="Telerik_RadUploadProgressHandler_ashx" />
   <remove name="Telerik_Web_UI_WebResource_axd" /><add name="Telerik.ReportViewer.axd_*" path="Telerik.ReportViewer.axd" verb="*" type="Telerik.ReportViewer.WebForms.HttpHandler, Telerik.ReportViewer.WebForms, Version=8.0.14.225, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" preCondition="integratedMode" />
   <add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode" />
   <add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode" />
   <add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode" />
   <add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode" />
   <add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode" />
   <add name="ReportViewerWebControlHandler" preCondition="integratedMode"
    verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
   <add name="ChartImageHandler" preCondition="integratedMode" verb="GET,HEAD,POST"
    path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
  </handlers>
 </system.webServer>

 

 Here are the elements in the (New ) Web.config page under   system.web and system.webServer

 

<system.web>
    <globalization culture="en-CA" uiCulture="en-CA" />
    <!--<roleManager enabled="true" defaultProvider="WindowsProvider">
      <providers>
        <clear />
        <add name="WindowsProvider" type="System.Web.Security.WindowsTokenRoleProvider" />
      </providers>
    </roleManager>-->
    <httpHandlers>
      <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
      <add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false" />
      <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" />
      <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" />
      <add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler,Telerik.Web.UI" verb="*" validate="false" />
      <add type="Telerik.ReportViewer.WebForms.HttpHandler, Telerik.ReportViewer.WebForms, Version=8.1.14.618, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" path="Telerik.ReportViewer.axd" verb="*" validate="true" />
    </httpHandlers>
    <compilation debug="true" strict="false" explicit="true" targetFramework="4.0">
      <assemblies>
        <add assembly="Microsoft.Build.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
        <add assembly="System.Speech, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        <add assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="Microsoft.ReportViewer.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="Telerik.ReportViewer.WebForms, Version=8.1.14.618, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" />
        <add assembly="Telerik.Reporting, Version=8.1.14.618, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" />
      </assemblies>
    </compilation>
    <pages>
      <controls>
        <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" />
      </controls>
    </pages>
    <httpModules>
      <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI"/>
    </httpModules>

  </system.web>
  <system.webServer>
    <validation validateIntegratedModeConfiguration="false" />
    <handlers>
      <remove name="ChartImage_axd" />
      <remove name="Telerik_Web_UI_SpellCheckHandler_axd" />
      <remove name="Telerik_Web_UI_DialogHandler_aspx" />
      <remove name="Telerik_RadUploadProgressHandler_ashx" />
      <remove name="Telerik_Web_UI_WebResource_axd" />
      <add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode" />
      <add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode" />
      <add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode" />
      <add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode" />
      <add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode" />
      <add name="Telerik.ReportViewer.axd_*" type="Telerik.ReportViewer.WebForms.HttpHandler, Telerik.ReportViewer.WebForms, Version=8.1.14.618, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" path="Telerik.ReportViewer.axd" verb="*" preCondition="integratedMode" />
    </handlers>
    <modules runAllManagedModulesForAllRequests="true">
      <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI" preCondition="managedHandler"/>
    </modules>

  </system.webServer>

Here is the control on our aspx page.

 <telerik:RadAsyncUpload ID="RadAsyncUpload1" runat="server" 
            AllowedFileExtensions="xls" OnFileUploaded="RadAsyncUpload1_FileUploaded"
            MaxFileInputsCount="1" MaxFileSize="10485760" 
            TargetFolder="~/App_Data/" OnClientFileUploaded="OnClientFileUpload1" 
            onclientvalidationfailed="OnClientValidationFailed" 
            EnableFileInputSkinning="False" Width="480px">
        </telerik:RadAsyncUpload>

 

Thanks in advance for any light you can shed on this issue.

 

 

 

Hristo Valyavicharski
Telerik team
 answered on 30 Apr 2015
2 answers
246 views

Hi there,

Can I represent three-dimensional (i.e. x, y and z axis) data or higher on a single RadGrid?

I see that RadGrid has a hierarchical binding facility (http://demos.telerik.com/aspnet-ajax/grid/examples/data-binding/programmatic-hierarchy/defaultvb.aspx) for tables of data in a parent-child relationship.  I don't have that, though.  I just have a set of three-dimensional coordinates and a single value for each one: e.g., f(x,y,z) = value where x, y and z can each take the values {1, 2, ..., 10}.  At the moment I am simply displaying 10 different f(x,y) grids for each value of z; as you can appreciate, this is not ideal, particularly when I need to go higher than three dimensions.

I could probably cannibalise the hierarchical binding demo somehow to show it on one grid; the hierarchical functionality clearly wasn't designed with this in mind, though.  Is there a better way?

All answers gratefully received!

Ed

Konstantin Dikov
Telerik team
 answered on 30 Apr 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?