Quantcast
Channel: Telerik Forums RSS
Viewing all 81499 articles
Browse latest View live

Any way to prevent the chart from refreshing/redrawing/repainting while I'm updating it?

$
0
0
Hi Steve,

Thank you for writing back.

If I understand correctly you would like to remove the flickering when drilling in within your RadChartView. This behavior is caused by our themes which define an AnimatedStateTransition setting for several RadProperties of the chart point element. 

In order to achieve your task you have two options:
  1. Disable and enable the animations in the handler of the Drill event: 
    private void radChartView1_Drill(object sender, DrillEventArgs e)
    {
        ThemeResolutionService.AllowAnimations = false;
     
        // Your logic for the drill navigation
        switch (e.Level)
        {
            case 0:
                break;
            case 1:
                break;
            case 2:
                break;
        }
     
       ThemeResolutionService.AllowAnimations = true;
    }
  2. Change the theme settings in the Visual Style Builder tool.

I am also sending you attached a modified ControlDefault theme as well as a short video showing where exactly these settings are located.

I hope this helps. Should you have further questions please do not hesitate to write back.


Regards,
Hristo Merdjanov
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.

Selection triggers multiple actions

$
0
0
Hi,

At the moment I have an autocomplete box which opens another tab. The autocompletebox list overlaps Tiles, when a selection is selected that overlaps a tile, it'll trigger the selection event AND the tile event. May I ask how do I set it up such that it'll only trigger selection event.

Telerik Exploratory Testing Extensions not working on Firefox

$
0
0
Hello, I'm using the trial of Test Studio and am having trouble testing on Firefox. When I go to manage the extensions, it says "Telerik Exploratory Testing Extension is incompatible with Firefox 33.0. I'll attach some screen shots.

Telerik Reporting REST Service with Pacific AppServer

$
0
0
Hello Mircea,

Telerik Reporting provides an HTML5 Viewer (Javascript, CSS, HTML client-side widget) served via dedicated REST service.

The HTML5 viewer can be added in any web application, because the Javascript widget does not require any assembly references. The viewer communicates via short requests with the server machine where reports are generated.

The Reporting REST service requires a Windows machine with installed .NET4+ full framework, because reports are processed and rendered on the machine where the service is running. For more details check Requirements.


In case the idea is to consume the data in reports, you can create a custom data access layer with a client for the generated data services. The retrieved records can be used in reports via ObjectDataSource. Please consider the example illustrated with OData service in Connecting Telerik Reporting to OData feeds.
To use ObjectDataSource in the Standalone Report Designer, the data access layer can be built in an assembly extending the designer tool - Extending Report Designer.

There are also OpenClientDataSource and SqlDataSource.components allowing you to connect data.


If you need more information, please elaborate on the scenario, the hosting environment, data that will be used and the purpose of reporting product.

Regards,
Stef
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items

RadWizard Step validationgroup

$
0
0

sender.set_activeIndex() seems to trigger validation as of 2016Q1. Like the OP, I have a RadWizard with 4 individually validated steps. I want to allow users to step backwards no matter what. I only want them to be able to step forward if the current page passes validation. Using RenderedSteps="All" and the above JavaScript OnClientButtonClicking, I still can't click either the Previous button or the entries for previous steps in the navigation bar. In both cases validation triggers and my 'required' messages appear but the active step does not change. I even tried manually triggering $find("RadWizardClientID").set_activeIndex(0); in the browser's JavaScript console only to have validation trigger and the active step remain the same. 

I've gotta say, compared to the standard ASP.NET Wizard, the RadWizard is a complete pain in the butt when it comes to validation. I can't for the life of me figure out when I'd want this thing to validate more than 1 step at a time, or when I'd want it to prevent me from accessing a previous step due to the current step's validation results.

TKChartAreaSeries with stack100 mode

$
0
0
Hi Michele,

I tried reproducing this behavior in my project but I wasn't able to observe it. In order to provide you with a proper solution in short terms could you please send us the isolated problem in a sample project. This way we can stay focused on the issue and it's cause.
Thank  you for your understanding.
Looking forward to hearing from you.

Regards,
Sophi
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items

Handling Errors on Insert (Pop-up Edit form)

$
0
0
This no longer works. It still closes the popup. What can I do to prevent this now?

Rad Scheduler export

$
0
0

Hello team,

I am exporting the appointments from scheduler, when opening the appointments in outlook, the start and end time of the appointment is different from what it was saved in scheduler. ex - i am saving the new appointment in scheduler start time - 9:00 am end time - 10:00 am but in outlook the appointment's start time is around 3 pm and end time 4:pm. Same in your export demo.

 

Please help

thanks in advance.


WebForms ReportViewer and SessionState serialization

$
0
0
Hello Jeff,

With the old ASP.NET WebForms ReportViewer and out-proc session state mode, the data source has to be binary serializable:
As the data sources are kept in the session state, it is highly recommended to use the built-in Data Source Components. As a last resort you can use the NeedDataSource event to populate the report with data. Otherwise the session state will either become very large, especially when using large datasets or the data for the report will not be serialized at all if it cannot be binary serialized/deserialized (e.g. business objects, anonymous types, data adapters, etc.). You should restrain from setting an instance of your business object directly as a data source, as it would be serialized multiple times into the session.
Full details are available in Design Considerations for Out-proc Session State.


With the HTML5 Viewer, all modifications of the report should happen on the server. Thus data can be passed in the data items' NeedDataSource events - Using Report Events.
Or you can use a custom report resolver for the Reporting REST service, which allows you to resolve in code which report to be displayed and with what settings. Please consider the example in Changing a parameter's datasource connection string at runtime.


Regards,
Stef
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items

Any way to prevent the chart from refreshing/redrawing/repainting while I'm updating it?

$
0
0
I guess I should have clarified, I am not using your built-in drilldown capability as it was not going to work for me, I am manually removing and adding and modifying the colors and angle ranges on [many] existing series.

Using ClientExportManager inside ascx file

$
0
0
Hello Alex,

We do not support DotNetNuke but using the ClientExportManager from a UserControl is possible. I attached a sample page and a UserControl, which demonstrate exporting an OrgChart located in the main page with a ClientExportManager placed in a UserControl.

Regards,
Ivan Danchev
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.

Update only one serie

$
0
0
Hi! I have a bar serie graph and linear serie graph in a rad html chart, the user can modify the values of the liner serie graph its possible I update by code the values of only linear bar but the radhhtml chart updatse both the graph and linear bar is possible only update the linear serie graph?

Getting Kendo Editor to edit mode when a button is clicked

$
0
0

I have a Kendo Editor, defined as below:

@(Html.Kendo().Editor()
          .Name("RestrictionsEditor")
          .Tag("div")
          .Tools(tools => tools
                .Clear()
                .Bold().Italic().Underline().Strikethrough()
                .JustifyLeft().JustifyCenter().JustifyRight().JustifyFull()
                .CreateLink().Unlink()
                .InsertImage()
                .TableEditing()
                .FontColor().BackColor()
          )
          .Value(@<text><p> This editor is readonly and will get into edit mode only after 'Edit' button is clicked</p></text>))

 

I have editor as readonly initially and I am doing that as below:

   <script type="text/javascript">
                $(function ()

                  {

                          var editor = $("#RestrictionsEditor").data("kendoEditor"),
                          editorBody = $(editor.body);

                          // make readonly
                          editorBody.removeAttr("contenteditable").find("a").on("click.readonly", false);
                })
                 
   </script>

 

Now, I have been trying to get the editor to edit mode when a button is clicked.

I have defined my button as below right above my editor:

  <button class="btn-sm" id="edit">Edit</button>

 

And I am writing the Javascript as:

 <script type="text/javascript">
                $("#edit .btn").click(function () {
             
                var editor = $("#RestrictionsEditor").data("kendoEditor"),
                editorBody = $(editor.body);

                
                editorBody.attr("contenteditable", true).find("a").off("click.readonly");
                })
 </script>

 

When I run my code, the editor is in readonly mode initially and as soon as I click 'Edit' button it takes me back to the original page, out of the modal. Forgot to mention, Editor is inside of a tab in modal.

 

How can I achieve this behavior - Kendo Editor in readonly mode initially and after 'Edit' button is clicked, Editor gets in edit mode.

 

Thanks!

Getting Kendo Editor to edit mode when a button is clicked

$
0
0

I have a Kendo Editor defined as below:

      @(Html.Kendo().Editor()
      .Name("RestrictionsEditor")
      .Tag("div")
      .Tools(tools => tools
            .Clear()
            .Bold().Italic().Underline().Strikethrough()
            .JustifyLeft().JustifyCenter().JustifyRight().JustifyFull()
            .CreateLink().Unlink()
            .InsertImage()
            .TableEditing()
            .FontColor().BackColor()
      )
      .Value(@<text><p>This is readonly editor initially and only gets in edit mode after button is clicked</p></text>))
        

Below is how I am making the Editor as readonly:

           <script type="text/javascript">
                $(function () {
                    var editor = $("#RestrictionsEditor").data("kendoEditor"),
                    editorBody = $(editor.body);

                    // make readonly
                    editorBody.removeAttr("contenteditable").find("a").on("click.readonly", false);
                })
                   
            </script>

 

I want to get editor in 'Edit' mode only when a button is clicked. Below is how I am defining my button:

                         <button class="btn-sm" id="edit">Edit</button>

 

I have defined my button just before initializing Kendo Editor.

 

And below is how I am trying to get the editor to edit mode:

         <script type="text/javascript">
                $("#edit .btn").click(function () {

                var editor = $("#RestrictionsEditor").data("kendoEditor"),
                editorBody = $(editor.body);
                
                editorBody.attr("contenteditable", true).find("a").off("click.readonly");
                })
            </script>

 

Now, when I run application my editor is in read only and when I click 'Edit' button, editor doesn't gets in edit mode and instead as soon as I click button, I m directed to the original page. Forgot to mention, my editor is inside a tab, which is inside of a modal.

 

Can you tell  me where I am doing wrong and how can I acheive th

 

Thanks!

How to test kendo-multi-select using telerik testing framwork

$
0
0

I have a control that looks like this and I could not test this using telerik testing framework. 

 <select id="xxx" multiple="multiple" kendo-multi-select="vm.xxx" style="width: 100%;"
                            k-data-source="vm.xxxDS"
                            k-data-text-field="::'Text'"
                            k-data-value-field="::'xxxID'"
                            k-highlight-first="::false"
                            k-ng-model="vm.xxxId"
                            k-on-change="vm.xxxChange(kendoEvent)"
                            k-value-primitive="::true"></select>

AFAIK there is no translator for Kendo UI multi select. Any example you have will be appreciated.


Rad Grid forgets collapsed/expanded state when clickin on edit

$
0
0

Just to clarify, I have the same problem as the OP.  

1. In the current release , the RadGrid does not save it's expanded/collapsed state when the grid transitions from read mode to edit mode ?

2.Is the proposed solution here, still the best solution, as it's been quite a long time, and seems the Telerik control should do this already?

 

Thanks.

Typescript & kendo.mobile.application

$
0
0

I am starting a new project using the Kendo Mobile controls (release 2016 Q1 SP2), and I am using TypeScript.  When I attempt to instantiate my kendo.mobile.application, I am getting errors from TypeScript and the issue appears to be that the type definition file does not contain the correct definition.

Here is my simple TypeScript code:

varapp = newkendo.mobile.Application(document.body,
    {
        transition: 'slide',
        skin: 'nova',
        init: function() {
            //don't do this for android, causes issues with scrollView and swiping
            kendo.UserEvents.defaultThreshold(kendo.support.mobileOS.device === 'android'? 0 : 20);
    }
});

This code works fine when I run it in JavaScript, but after trying it in TypeScript and I getting compiler errors - it's complaining about the "skin" and "init" options.  The errors are shown in the attached images (skin.png and init.png).  The skin configuration option is shown in the Kendo docs (http://docs.telerik.com/kendo-ui/api/javascript/mobile/application#configuration-skin), so is it just a matter of the type definition file being incorrect?  Or is there something else I need to do?

Also, looking over the type definition file, it appears that the ApplicationOptions parameter used when initializing the application object is missing quite a few items that are listed in the Kendo documentation (http://docs.telerik.com/kendo-ui/api/javascript/mobile/application) - things like browserHistory, hashBang, modelScope, useNativeScrolling, etc. So this seems like more than just a minor oversight, which leads me to my other question...is TypeScript fully supported for Kendo Mobile?  Just want to make sure I'm going down the "sanctioned" path before I get too far into my project.

IE11 intermittent Yellow Dot and freeze

$
0
0

We have had problems with RadAsyncUpload in IE11 where it will give a yellow dot and freezes when uploading files.  This has been happening since our users started using IE11 (on Windows 8.1).  Previously they used 10 without issue.

This does not happen if we direct them to Chrome.  The only way around it we have found is to turn off the FileApi Module for IE.  We do utilize drag and drop so when that module is disable that functionality is lost.  I am using the latest version of the controls 2016 Q1.

I also tried to emulate IE10, but that does NOT solve the issue.  We run with ie=edge meta tag.

The problem is intermittent and I have not been able to reproduce it myself.  I have seen some similar threads on problems like this including this one: http://www.telerik.com/forums/radasyncupload-1fc6f6296712

Is there any kind of known issue or workaround?  It is difficult to troubleshoot given the intermittent nature.

<telerik:RadAsyncUpload  Skin="Default"OnClientFilesUploaded="saverecord"ID="faupload"runat="server"
        MultipleFileSelection="Automatic"TargetFolder="\\xxxxxx\xxxxxx"
        Width="221px"PostbackTriggers="bSave,bSave2" 
        DropZones="#DropZone2">
    </telerik:RadAsyncUpload>

Hidden work book shows when view in spreadsheet

$
0
0
Hi Chetan,

Thanks for your interest in RadSpreadsheet.

The control doesn't currently support hiding and unhiding of sheets, but the feature is logged in our backlog for future consideration. You can track its status and vote in order to increase the priority of the functionality from our public portal: Implement hiding and unhiding of sheets.

Regards,
Petya
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.

EditForm CSS adding garbage to grid

$
0
0

Greetings!

I'm having an issue with a RadGrid using an EditFormTemplate; whenever I click my edit button on an item of this rad grid, the item goes into edit mode fine and my controls appear below them item. However, when the CSS for the row being in edit mode gets applied, it adds some peculiar artifacts to my grid. I get a blue line about 15 lines of text from the top of the item being edited. It's worth pointing out that the varchars being exposed by this grid are very large, which might have something to do with the issue; it only occurs when modifying an exceptionally long list of codes.

Please find attached screenshots of the problem behavior.

Screenshots include a before and after [edit button clicked] of the item in question, and the behavior exhibited.

It sort of hangs there, strangely in the middle of the original radgrid item. These elements don't appear to be actual controls; they seem to be part of a repeating background being applied by the CSS for an edit form item.

Here's my markup for the grid in question:

<telerik:RadGridID="rgCrosswalkView"AutoGenerateColumns="false"runat="server">                                       
    <MasterTableViewDataKeyNames="CrosswalkID, CrosswalkGroupID, CPTs, ICDs">
        <CommandItemTemplate>
            <divclass="row">
                <divclass="col-sm-12">
                    <asp:LinkButtonrunat="server"ID="btAddCrosswalkGroup"CssClass="btn btn-sm btn-primary"CommandName="InitInsert"Style="color: white;">
                        <iclass="glyphicon glyphicon-plus-sign"></i>Add Crosswalk Group
                    </asp:LinkButton>
                </div>
            </div>
        </CommandItemTemplate>
        <Columns>
            <telerik:GridBoundColumnHeaderText="CPTs"DataField="CPTs"ItemStyle-VerticalAlign="Top"HeaderStyle-Width="25%"></telerik:GridBoundColumn>
            <telerik:GridBoundColumnHeaderText="ICDs"DataField="ICDs"ItemStyle-VerticalAlign="Top"HeaderStyle-Width="55%"></telerik:GridBoundColumn>
            <telerik:GridCheckBoxColumnReadOnly="true"HeaderText="ICD10?"DataField="IsICD10"ItemStyle-VerticalAlign="Top"></telerik:GridCheckBoxColumn>
            <telerik:GridTemplateColumnItemStyle-VerticalAlign="Top">
                <ItemTemplate>
                    <asp:LinkButtonrunat="server"ID="btEditCrosswalkPairs"CommandName="Edit">
                        <iclass="glyphicon glyphicon-pencil"></i>
                    </asp:LinkButton>   
                </ItemTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumnItemStyle-VerticalAlign="Top">
                <ItemTemplate>
                    <asp:LinkButtonID="btRemoveCrosswalkPairs"runat="server"CommandName="Delete"OnClientClick="return confirm('Really delete this crosswalk group?');"CssClass="btn btn-sm btn-default"><iclass="glyphicon glyphicon-remove-circle"></i></asp:LinkButton>
                </ItemTemplate>
            </telerik:GridTemplateColumn>
        </Columns>
        <EditFormSettingsEditFormType="Template">                               
            <FormTemplate>
                <divclass="row">
                    <divclass="col-sm-3">
                        CPTs:<asp:TextboxID="tbCPT"runat="server"TextMode="MultiLine"Rows="20"style="resize: none;"Width="100%"></asp:Textbox><br/>
                    </div>
                    <divclass="col-sm-9">                                                               
                        ICDs:<asp:TextBoxID="tbICD"runat="server"TextMode="MultiLine"Rows="20"style="resize: none;"Width="100%"></asp:TextBox><br/>
                        <asp:CheckBoxID="cbICD10"runat="server"Checked="true"Text="ICD10?"/>
                    </div>
                </div>
                <divclass="row">
                    <divclass="col-sm-2">
                        <asp:LinkButtonCssClass="btn btn-xs btn-primary"ID="btUpdateGroup"CommandName="Update"runat="server"Text="Update"></asp:LinkButton>
                        <asp:LinkButtonCssClass="btn btn-xs btn-primary"ID="btInsertGroup"CommandName="PerformInsert"runat="server"Text="Insert"></asp:LinkButton>                                                               
                    </div>
                    <divclass="col-sm-2">
                        <asp:LinkButtonCssClass="btn btn-xs btn-default"ID="btCancelGroup"CommandName="Cancel"runat="server"Text="Cancel"></asp:LinkButton>
                    </div>
                    <divclass="col-sm-8">
                          
                    </div>
                </div
            </FormTemplate>
        </EditFormSettings>
    </MasterTableView>
</telerik:RadGrid>

And here is the CSS which appears to be giving me trouble, pulled from dev console. The offending line is commented out. Disabling that attribute makes the coloration of the edit form item go back to default, but removes the garbage repeating x.

.rgEditRow {
    /* background: rgba(205,205,205,0.75) 0 -4900px repeat-x url('WebResource.axd?d=ifcjPV8aj2vMt9az-6wWmwZqcD65tft-V-aE6ooNIutn9jwr_s82sxYh…9mFxF_3cAUoYtM8o9U5-M7wLDeK47M_h5TDjLXEugyZbr0sNXz01&t=635932205533629626'); */
    color: #000;
}

I can probably override it by "cancelling" the class in some way, but would honestly prefer it perform the coloration as it intends to, without the garbage.

Any assistance would be appreciated.

Viewing all 81499 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>