Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
169 views
Hello,

I am trying to configure the SP RadScheduler webpart but I cannot get the date in the header to display dd/mm/yyyy in Week view. I have checked all the timezone and regional settings for the site and these are English (United Kingdom) and GMT. Yet the date in the Week view header still displays mm/dd/yyyy. How can this be corrected?

In addition, I don't want Saturday or Sunday to display and I want to prevent users changing the view (needs to be Week view only). Although it is possible to configure in the ASP.NET RadScheduler, these settings are not available in the SP webpart version. How can I get the same functionality in the SP webpart version of RadScheduler?

Thanks,
Jonathan

Boyan Dimitrov
Telerik team
 answered on 02 May 2014
1 answer
109 views
Hi,

My RoomType dropdownlist change event fire on first time page load but after come back from other tabs event not fire already. Is it because of RadAjaxManager <telerik:AjaxUpdatedControl ControlID="pnlRoomType" /> ? Can anyone give me some suggestion how to solve this problems? I would like to publish my code and screenshot. I appreciate any help.
In Script

<script type="text/javascript" id='GlobalValueSetup'>
           
            $telerik.$(function () {
                var txtRemarks = $telerik.$('#ctl00_ContentPlaceHolderMain_txtRemark').val();
                if (txtRemarks !== '') {
                    alert(txtRemarks);
                }
                $telerik.$('#<%=ddlRoomType.ClientID %>').unbind('change').bind('change', OnddlRoomTypeSelectedIndexChange);
            });  
function OnddlRoomTypeSelectedIndexChange() {
    var ddlRoomType = $telerik.$('#' + GlobalObjectControls.DllRoomTypeID);
    if (isDonotMoveChecked == false) {
        ChangeRoomType(GlobalObjectControls.RoomTypeKey, ddlRoomType.val(), '', null, null);
    }
    else {
        ddlRoomType.val(GlobalObjectControls.RoomTypeKey);
        alert('Do not move has been set');
    }
}
        </script>
    </telerik:RadCodeBlock>



In .ASPX

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" EnablePageHeadUpdate="false">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="RadAjaxManager1">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="grdGrpRoomTypeIno" />
                        <telerik:AjaxUpdatedControl ControlID="pnlRoomType" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="radTabStripSelection">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="radTabStripSelection" />               <telerik:AjaxUpdatedControl ControlID="pnlRoomType" />                          
                                        
                    </UpdatedControls>
                </telerik:AjaxSetting>    
                
            </AjaxSettings>
            <ClientEvents OnRequestStart ="$telerik.$.blockUI" OnResponseEnd="$telerik.$.unblockUI" />
        </telerik:RadAjaxManager>

<div id="pnlRoomType" runat="server" class="divRow">
                                                <asp:DropDownList ID="ddlRoomType" runat="server" Width="75%" Font-Size="11px">
                                                </asp:DropDownList>
                                                <input id="btnRoomType" name="btnRoomType" value="..." onclick="return popupRoomType();"
                                                       type="button" class="divbtn" style="width: 15%" />
                                            </div>
Hristo Valyavicharski
Telerik team
 answered on 02 May 2014
1 answer
1.2K+ views
Hello, 
After updating telerik framework for ASP.NET AJAX Q1 to version 2014.1.403.40, my application just throwing a lot of "$telerik is not defined".
One think i want to mention is that i use (like in previous versions) <add key="Telerik.EnableEmbeddedScripts" value="false"/> and i compressed all js files in one only named Telerik.js. 
WebConfig attached, ErrorsImage attached, Aspx files with RadScriptManager and ScriptManager attached.

Hope you will point me in the right direction,
Thanks!



























Marin Bratanov
Telerik team
 answered on 02 May 2014
1 answer
405 views
Hi
which is the best method to compare the values of two columns?
Princy
Top achievements
Rank 2
 answered on 02 May 2014
1 answer
94 views
Has anyone else had this issue?  I have setup an RadImageGallery control to display images in the images folder of my application.  However, I have noticed that it displays .jpegs, .bmp, .gif, etc just fine but NOT .png images.   It does not throw an error or anything, simply skips over them and goes onto the next image.  This normally would not be a huge problem, but my workplace is an Apple shop.  Everyone has macbooks, mac minis, and more importantly iPhones that we use to take pics of production related items.  So I need ImageGallery to display .png images also.  Below is how I have setup my control, i have no server side code at the moment.

thanks for your help..

Doug


  <telerik:RadSplitter ID="RadSplitter1" Runat="server" Width="500px"  style="margin-left: 949px" Height="500px">
                    <telerik:RadPane ID="radpane1" runat="server" Height="500px" Width="500px">
                        <telerik:RadImageGallery ID="rigSFRpics" ImagesFolderPath = "../images" 
                            runat="server" Height="500px">
                        </telerik:RadImageGallery>
                    </telerik:RadPane>
 </telerik:RadSplitter>
Maria Ilieva
Telerik team
 answered on 02 May 2014
1 answer
76 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
132 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 "&lt;" and "&gt;".
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
107 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
52 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
114 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?