Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
53 views
I have using RadFileExplorer In my project so I have to hide one of the folder from the list of the folder shown in the treeview when we load the file explorer like showing in the attach files .

Suppose the treeview list these folder "a" , "b", "c" so I want to hide the "c" folder when we load the radfileexplorer 
Joana
Telerik team
 answered on 02 May 2014
2 answers
111 views
I have a RadGrid and RadHTMLChart both using the same datasource.

One of the string values used for the NameField of the PieSeries of the chart and GridBoundColumn of the grid begins and ends with HTML escape characters "<" and ">".
The value shows up in the grid but not in the chart.

Business rules do not allow me to change the string so I need the "<" and ">" to display in the chart just as they do in the grid.
I have tried using both code &#60; and entity name &lt;

The string used is "&lt;not reported&gt;"
When viewing the source html it looks like the chart is converting the escape character to "<" and ">" and the page reads it as a tag rather than text.
<not reported=""></not>

I have attached a file to demonstrate the undesired end result.

How can I allow the escape characters to be rendered on the page correctly in the chart?
Marin Bratanov
Telerik team
 answered on 02 May 2014
3 answers
76 views
This is, in part, a continuation of my thread: http://www.telerik.com/forums/is-there-any-server-side-equivalent-of-the-endpane-expand-collapse-call

I am more than a little confused about the use of Ajax within a RadSplitter. 

The problem is this.  
    I have a form with a fairly complex RadSplitter containing RadPanes and RadSplitBars.  
   All important controls in the page are contained in RadPanes within the splitter.  
   What I need to do is to set the RadPane.Collapsed property of one RadPane to expose and hide a panel as needed. 
   I need to do this using the postback event of a RadComboBox within the splitter.

   Is this possible, and if so, how?

   
Maria Ilieva
Telerik team
 answered on 02 May 2014
0 answers
38 views
hai frnds..this is kendo grid code i want to load only 2  data in page 1 in kendo grid after while clicking to page 2 again another ie(next 2 data) want to load in grid this is because of increase loading speed.. i have no idea how to do it..pls anybody help me.....this is my code..    





    <script>
      var url = 'my service url here';

      var griddatasource = new kendo.data.DataSource({
        transport: {
          read: function (option) {

            $.ajax({
              url: url + '',
              dataType: 'json',       
              success: function (result) {
                option.success(JSON.parse(result.d));
                alert(result.d);        
              },
              error: function (result) {
                alert("error");

              }
            });
          }
        },

        serverFiltering: true,
        serverSorting: true,
        serverPaging: true,
        pageSize: 2,
        schema: {
          data: "data",
          total: "total",
        }

      });

      function grid() {
        $("#grid").kendoGrid({
          dataSource: griddatasource,
          groupable: true,
          //sortable: {
          //    mode: "multiple",
          //    allowUnsort: true
          //},
          sortable: true,
          selectable: true,
          filterable: true,
          reorderable: true,
          resizable: true,
          columnMenu: true,
          pageable: {
            refresh: true,
            pageSizes: true,
            buttonCount: 5
          }
        });
      }
      $(document).ready(function () {
        grid();
      });
tharani
Top achievements
Rank 1
 asked on 02 May 2014
0 answers
90 views
this is kendo grid code i want to load only 2  data in page 1 in kendo grid after while clicking to page 2 again another ie(next 2 data) want to load in grid this is because of increase loading speed.. i have no idea how to do it..pls anybody help me.....this is my code..    





    <script>
      var url = 'my service url here';

      var griddatasource = new kendo.data.DataSource({
        transport: {
          read: function (option) {

            $.ajax({
              url: url + '',
              dataType: 'json',       
              success: function (result) {
                option.success(JSON.parse(result.d));
                alert(result.d);        
              },
              error: function (result) {
                alert("error");

              }
            });
          }
        },

        serverFiltering: true,
        serverSorting: true,
        serverPaging: true,
        pageSize: 2,
        schema: {
          data: "data",
          total: "total",
        }

      });

      function grid() {
        $("#grid").kendoGrid({
          dataSource: griddatasource,
          groupable: true,
          //sortable: {
          //    mode: "multiple",
          //    allowUnsort: true
          //},
          sortable: true,
          selectable: true,
          filterable: true,
          reorderable: true,
          resizable: true,
          columnMenu: true,
          pageable: {
            refresh: true,
            pageSizes: true,
            buttonCount: 5
          }
        });
      }
      $(document).ready(function () {
        grid();
      });
tharani
Top achievements
Rank 1
 asked on 02 May 2014
5 answers
243 views
Hi,

I think I might just be a little confused but I cannot get the above combination to work.

I have a RadListBox. I have an Array of objects that I bind using the "DataSource" attribute. I set this programmatically. I also set the "DataTextField", the "DataValueField" and the call the "DataBind" method.

I have created a Filter field on the RadFilter in the designer and set the "FieldName" value to be the same as the "DataTextField" from the RadListBox. I then programmatically, after I have called the "DataBind" on the RadListBox, set the "DataSourceControlID" to the ID of the RadListBox.

This is done on a user control using .net 3.5. As soon as I test the page that contains the control, I get an "Object not set to an instance of an object" error, with the following stack trace:

​[NullReferenceException: Object reference not set to an instance of an object.]
   System.Object.GetType() +0
   Telerik.Web.UI.RadFilterDataSourceHelper.<.cctor>b__26(String eventName, MethodInfo eventHandler, RadFilter filterInstance, IDataSource dataSourceInstance) +76
   Telerik.Web.UI.RadFilter.AttachToDataSource() +210
   Telerik.Web.UI.RadFilter.OnLoad(EventArgs e) +723
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191

Any idea on this please, or exactly how I need to get the two to work together. I've looked at the documentation but is extremely helpful enough.

Regards,

Henry
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428
Shinu
Top achievements
Rank 2
 answered on 02 May 2014
2 answers
168 views
how i can change the visibilty of radwindow on OnClientClose event
Joana
Telerik team
 answered on 02 May 2014
5 answers
102 views
The problem can be seen in the Telerik demo editor:

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

Steps:

Using Chrome, go to the demo editor.
Click the "XHTML Validator" button in the editor toolbar.
Scroll to the bottom of the dialog.
Notice the two broken images at the bottom of the dialog.
Notice the three 404 errors logged in the Chrome dev console:

GET http://validator.w3.org/http://www.w3.org/QA/Tools/w3c-include.js   404 (Not Found)   Telerik.Web.UI.DialogHandler.aspx:4
GET http://validator.w3.org/http://www.w3.org/Icons/WWW/w3c_home_nb   404 (Not Found)   Telerik.Web.UI.DialogHandler.aspx:4
GET http://validator.w3.org/http://www.w3.org/QA/Tools/I_heart_validator   404 (Not Found)   Telerik.Web.UI.DialogHandler.aspx:4

Is there a workaround for this issue?

Thanks,
Trevor.

Joana
Telerik team
 answered on 02 May 2014
1 answer
47 views
Hello ,

    I using Radschedular in application which will operate through touch screen.
So I want to increase size of Next-prew arrow button as shown in attached image

please help me.
Plamen
Telerik team
 answered on 02 May 2014
1 answer
80 views
Hello,
Created an image gallery and it works - shows the pictures, thumbs and navigation works.  I chose the Metro skin and it doesn't display.
Here's what the code looks like:
​
In the Bin: Telerik.Web.UI.Skins.dll   and   Telerik.Web.UI.Skins.dll.refresh

In the aspx page:

​<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI"%><asp:Content ID="Content1" ContentPlaceHolderID="contentplaceholder2" Runat="Server">
    <form id="form1" runat="server">
    <telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server">
    </telerik:RadStyleSheetManager>
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        <Scripts>
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js">
            </asp:ScriptReference>
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js">
            </asp:ScriptReference>
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js">
            </asp:ScriptReference>
        </Scripts>
    </telerik:RadScriptManager>
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    </telerik:RadAjaxManager>
   
 <telerik:RadImageGallery ID="RadImageGallery1" runat="server"
   ImagesFolderPath="TakeKidsToWork/Images" Width="700px"
   Skin="Metro" EnableEmbeddedSkin="true">
   <ImageAreaSettings ShowDescriptionBox="False" />
   <ClientSettings>
   <AnimationSettings>
     <NextImagesAnimation Speed="200" />
     <PrevImagesAnimation Speed="200" />
   </AnimationSettings>
   </ClientSettings>
</telerik:RadImageGallery>

In the web.config
<appSettings>
      <add key="Telerik.EnableEmbeddedSkins" value="true" />
      <add key="Telerik.Menu.EnableEmbeddedBaseStylesheet" value="true" />
  </appSettings>

Any ideas?

Thanks
Jess
                  
Shinu
Top achievements
Rank 2
 answered on 02 May 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?