Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
193 views
I was creating a Kendo grid that contains several column.  There is one numeric column called 'Length".  When I clicked on this column, I would expect it to invoke the editor, but unfortunately it crashed in kendo.all.js.  I have no idea what I did wrong.  I am hoping someone here could take a look at it and give me some advice on how to fix my code.

Here is a sample of my code:
http://jsbin.com/wikav/1/edit


Thanks in advance.





Chuen
Top achievements
Rank 1
 answered on 03 May 2014
2 answers
127 views
Hi,

I'd like to know if the Ribbonbar has any support for using sprites instead of images directly?  And if not if there were any plans to add support in a future release.

Thanks!
Richard
Richard
Top achievements
Rank 1
 answered on 02 May 2014
1 answer
78 views
Hi everybody,
i want to populate a ComboBox that exist on the EditFormTemplate of a detailTable base on the ParentItem DataKeyValue, when the user click on the btn add new record, so here's my code :

public void radGrid_ItemCommand(object sender, GridCommandEventArgs e)
        {
            if (e.CommandName == RadGrid.InitInsertCommandName)
            {
                if (e.Item.OwnerTableView.Name == "ChildGrid")
                {
                    GridDataItem parentItem = (GridDataItem)(e.Item.OwnerTableView.ParentItem);
                   
                    if (parentItem != null)
                    {
                        int itemId= Convert.ToInt32(parentItem.OwnerTableView.DataKeyValues[parentItem.ItemIndex]["Id"]);
                        //i want to get here the ComboBox control and the code (as i think) should look like this :
                        RadComboBox = e.item.findControl("comboId") as RadComboBox;
                    }

                }
                
            }
        }

thanks.
Said
Top achievements
Rank 1
 answered on 02 May 2014
3 answers
182 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
112 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
424 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
98 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
83 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
137 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?