Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
173 views
How to get a time from Rad Time Picker with in  grid using java script function 
Kostadin
Telerik team
 answered on 31 Oct 2014
6 answers
440 views
I have several RadDropDownLists on the same page.  I would like to bring attention to one of them programmatically, for example by changing the background or foreground color.  What is the simplest correct way to make a minor style change to a single control?  I can do this successfully with a RadTextBox on the same page by setting its CssClass property.

I have tried setting the ForeColor, BackColor, and CssClass properties of my RadDropDownList, but the specificity of built-in styles for .RadDropDownList_Default .rddlInner seems to override any changes I can make.



Plamen
Telerik team
 answered on 31 Oct 2014
1 answer
81 views
Hello!

I have been using Telerik ASP NET AJAX controls and love them!

I developed a little webform where I have certain items inside a radlistbox and I can drag and drop those items inside a textbox.

In localhost, it works like a charm; but when I uploded the solution to my production webserver, the darg and drop function does not work.

I have not installed anything into my production server. Do I need to install the .exe file that included the controls into my server?

Thanks a lot and sorry for the dumb question!
Nencho
Telerik team
 answered on 31 Oct 2014
1 answer
230 views
I have seen Drag and Drop images in Rad Editor, it's looks good. Is there any controls like Drag and drop pdf pages into Rad Editor instead of images.

I want to open a pdf document with each pages in thumbnail view and drag and drop random pages to view the content.
Ianko
Telerik team
 answered on 31 Oct 2014
2 answers
204 views
Hi all, I got a question, right now I face some issue about the radcombobox when using embedded script = false,
Here is my registered script.

001.<telerik:RadScriptManager ID="RadScriptManager1" runat="server" EnableScriptCombine="True">
002.     
003.        <Scripts>
004.            <%--<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
005.            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
006.            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />--%>
007.            <asp:ScriptReference Path="Scripts/json2.js" />
008.            <asp:ScriptReference Path="Scripts/Common/Core.js" />
009.            <asp:ScriptReference Path="Scripts/Common/jQuery.js" />
010.            <asp:ScriptReference Path="Scripts/Common/jQueryPlugins.js" />
011. 
012.               <%--radcombobox --%>
013.       <asp:ScriptReference Path="Scripts/Common/Core.js" />
014.            <asp:ScriptReference Path="Scripts/Common/jQuery.js" />
015.            <asp:ScriptReference Path="Scripts/Common/jQueryPlugins.js" />
016.            <asp:ScriptReference Path="Scripts/Common/Navigation/OverlayScript.js" />
017.            <asp:ScriptReference Path="Scripts/Common/Navigation/NavigationScripts.js" />
018.            <asp:ScriptReference Path="Scripts/Common/Animation/AnimationScripts.js" />
019.            <asp:ScriptReference Path="Scripts/ComboBox/RadComboBoxScripts.js" />
020.            <asp:ScriptReference Path="Scripts/Common/TouchScrollExtender.js" />
021. 
022.        <asp:ScriptReference Path="Scripts/json2.js" />
023.            <asp:ScriptReference Path="Scripts/Common/Core.js" />
024.            <asp:ScriptReference Path="Scripts/Common/jQuery.js" />
025.            <asp:ScriptReference Path="Scripts/Common/jQueryPlugins.js" />
026. 
027. 
028.              <asp:ScriptReference Path="Scripts/Common/Core.js" />
029.            <asp:ScriptReference Path="Scripts/Common/jQuery.js" />
030.            <asp:ScriptReference Path="Scripts/Common/jQueryPlugins.js" />
031.            <asp:ScriptReference Path="Scripts/Common/Navigation/OverlayScript.js" />
032.            <asp:ScriptReference Path="Scripts/Common/Navigation/NavigationScripts.js" />
033.            <asp:ScriptReference Path="Scripts/Menu/RadMenuScripts.js" />
034.             
035.            <asp:ScriptReference Path="Scripts/Menu/MenuItem/RadMenuItem.js" />
036.            <asp:ScriptReference Path="Scripts/Menu/MenuItem/MobileMenuItem.js" />
037.            <asp:ScriptReference Path="Scripts/Menu/Views/ClassicView.js" />
038.            <asp:ScriptReference Path="Scripts/Menu/Views/LiteView.js" />
039. 
040. 
041.            <%-- RadAsyncUpload--%>
042.             <asp:ScriptReference Path="Scripts/Common/Core.js" />
043.            <asp:ScriptReference Path="Scripts/Upload/RadProgressManager.js" />
044.            <asp:ScriptReference Path="Scripts/Common/jQuery.js" />
045.            <asp:ScriptReference Path="Scripts/Common/jQueryPlugins.js" />
046.            <asp:ScriptReference Path="Scripts/Upload/RadUpload.js" />
047.            <asp:ScriptReference Path="Scripts/AsyncUpload/RadAsyncUploadScripts.js" />
048.            <asp:ScriptReference Path="Scripts/Common/Popup/PopupScripts.js" />
049.            <asp:ScriptReference Path="Scripts/Upload/RadProgressArea.js" />
050. 
051.             <%--RadGrid --%>
052.                <asp:ScriptReference Path="Scripts/Common/Core.js" />
053.                <asp:ScriptReference Path="Scripts/Common/jQuery.js"  />
054.                <asp:ScriptReference Path="Scripts/Common/jQueryPlugins.js"  />
055.                <asp:ScriptReference Path="Scripts/Grid/RadGridScripts.js" />
056.                <asp:ScriptReference Path="Scripts/Grid/GridCellSelection.js" />
057.                <asp:ScriptReference Path="Scripts/Common/TouchScrollExtender.js" />
058. 
059.             
060. 
061.           
062. 
063.              <%--RadFormDecorator --%>
064.             <asp:ScriptReference Path="Scripts/Common/Core.js" />
065.            <asp:ScriptReference Path="Scripts/FormDecorator/RadFormDecorator.js" />
066.            <asp:ScriptReference Path="Scripts/Common/Popup/PopupScripts.js" />
067.             
068. 
069.             <%--RadAjaxManager,radajaxloadingpanel --%>
070.               <asp:ScriptReference Path="Scripts/Common/Core.js" />
071.                <asp:ScriptReference Path="Scripts/Ajax/Ajax.js" />
072.  
073.           
074. 
075.    <%--radwindowmanager --%>
076.            <asp:ScriptReference Path="Scripts/Common/Core.js" />
077.            <asp:ScriptReference Path="Scripts/Common/jQuery.js" />
078.            <asp:ScriptReference Path="Scripts/Common/jQueryPlugins.js" />
079.            <asp:ScriptReference Path="Scripts/Common/Widgets/Draggable.js" />
080.            <asp:ScriptReference Path="Scripts/Common/Widgets/Resizable.js" />
081.            <asp:ScriptReference Path="Scripts/Common/PopUp/PopUpScripts.js" />
082.            <asp:ScriptReference Path="Scripts/Common/Animation/AnimationScripts.js" />
083.            <asp:ScriptReference Path="Scripts/Window/RadWindowScripts.js" />
084.            <asp:ScriptReference Path="Scripts/Common/TouchScrollExtender.js" />
085.            <asp:ScriptReference Path="Scripts/Window/RadWindowManager.js" />
086. 
087.            <%--radbutton --%>
088.             <asp:ScriptReference Path="Scripts/Common/Core.js" />
089.            <asp:ScriptReference Path="Scripts/Common/jQuery.js"  />
090.            <asp:ScriptReference Path="Scripts/Common/jQueryPlugins.js"  />
091.            <asp:ScriptReference Path="Scripts/Button/RadButtonScripts.js" />
092. 
093. 
094.            <%--RadTextBox--%>
095.            <asp:ScriptReference Path="Scripts/Common/Core.js" />
096.            <asp:ScriptReference Path="Scripts/Input/TextBox/RadInputScript.js" />
097. 
098.           <%--RadToolTip--%>
099.             <asp:ScriptReference Path="Scripts/Common/Core.js" />
100.            <asp:ScriptReference Path="Scripts/Common/jQuery.js" />
101.            <asp:ScriptReference Path="Scripts/Common/jQueryPlugins.js" />
102.            <asp:ScriptReference Path="Scripts/Common/Animation/AnimationScripts.js" />
103.            <asp:ScriptReference Path="Scripts/Common/PopUp/PopUpScripts.js" />
104.            <asp:ScriptReference Path="Scripts/ToolTip/RadToolTipScripts.js" />
105.            <asp:ScriptReference Path="Scripts/Common/TouchScrollExtender.js" />
106.            <asp:ScriptReference Path="Scripts/ToolTip/Scripts/RadToolTipManager.js" />
107.      
108.           
109. 
110.             <%--RadTabStrip--%>
111.             <asp:ScriptReference Path="Scripts/Common/Core.js" />
112.            <asp:ScriptReference Path="Scripts/Common/jQuery.js" />
113.            <asp:ScriptReference Path="Scripts/Common/Scrolling/ScrollingScripts.js" />
114.            <asp:ScriptReference Path="Scripts/Common/Navigation/NavigationScripts.js" />
115.            <asp:ScriptReference Path="Scripts/TabStrip/RadTabStripScripts.js" />
116. 
117. 
118.             <%--RadMultiPage--%>
119.               <asp:ScriptReference Path="Scripts/Common/Core.js" />
120.            <asp:ScriptReference Path="Scripts/TabStrip/MultiPage/RadMultiPageScripts.js" />
121. 
122.             <%--RadNumericTextBox--%>
123.             <asp:ScriptReference Path="Scripts/Common/Core.js" />
124.            <asp:ScriptReference Path="Scripts/Input/TextBox/RadInputScript.js" />              
125.            <asp:ScriptReference Path="Scripts/Input/NumericTextBox/RadNumericInputScript.js" />
126. 
127. 
128.          <%--RadDatePicker--%>
129.                      
130.              <asp:ScriptReference Path="Scripts/Common/Core.js" />
131.    <asp:ScriptReference Path="Scripts/Common/jQuery.js" />
132.    <asp:ScriptReference Path="Scripts/Input/TextBox/RadInputScript.js" />              
133.    <asp:ScriptReference Path="Scripts/Input/DateInput/RadDateInputScript.js" />                   
134.    <asp:ScriptReference Path="Scripts/Calendar/RadCalendarCommonScript.js" />             
135.    <asp:ScriptReference Path="Scripts/Calendar/RadCalendarScript.js" />
136.    <asp:ScriptReference Path="Scripts/Calendar/RadDatePicker.js" />
137.    <asp:ScriptReference Path="Scripts/Calendar/RadDateTimePickerScript.js" />
138.    <asp:ScriptReference Path="Scripts/Calendar/RadTimeViewScripts.js" />
139.    <asp:ScriptReference Path="Scripts/Calendar/RadPickersPopupDirectionEnumeration.js" />
140. 
141. 
142. 
143. 
144. 
145.        </Scripts>
146. 
147.</telerik:RadScriptManager>

But when I try to use it in some pages, it prompted this error behind.

Uncaught TypeError: Cannot read property 'Classic' of undefined 


Example of my code:

1.<telerik:RadComboBox ID="MultiCheckComboLocation" runat="server" CheckBoxes="true"
2.                                            Width="80%"  ZIndex="1000000"
3.                                            ShowMoreResultsBox="true"
4.                                            EnableVirtualScrolling="true" CheckedItemsTexts="DisplayAllInInput" 
5.                                            EnableCheckAllItemsCheckBox="true" EnableEmbeddedScripts="False">
6.                                        </telerik:RadComboBox>

Can anybody guide me on this? Thanks
cheah
Top achievements
Rank 1
 answered on 31 Oct 2014
1 answer
246 views
Hi, 
We are using RadHTMLChart Bar series in reports. In Ipad/other devices it is working fine but in mobile (iphone) few of the series label got cut off. In the attached image, under Available series the label has to be 420-> but its been cut off. I have tried using (negative) Margin property nut couldn't get the desired result. I have used ClientTemplate also, if I use Div tag, the values are shown at the bottom of the chart. Can you give me a desired solution for this?? 

Note:
Here * I cannot use "InsideEnd" because this is hiding the value 4. 
* I cannot use Margin (negative) because negative margin is also applicable in 4. 
* Can you explain what tag to use in client template. 

Eg:#if(dataItem.count >10){# <text margin-left="-10px">#= dataItem.count #</text> #} else{# <text>#= dataItem.count#</text> #}#

Here text/div/span tag doesn't give me a desired result. 


Stamo Gochev
Telerik team
 answered on 31 Oct 2014
4 answers
298 views
RadGrid's filter button property 'CurrentFilterFunction'  showing previous selected value

I am have gone through the below steps and facing some issues :

(1) Page load first time -> CurrentFilterFunction shows 'NoFilter' -> works fine
(2) Enter text in TextBox -> Press tab -> CurrentFilterFunction shows 'Contains'-> works fine
(3) Enter text in TextBox-> press filter button -> select 'DoesNotContains' from drop down list -> CurrentFilterFunction shows 'Contains'(wrong value, it should shows
                                                                                                                                                                                                                                                  'DoesNotContains' )
(4) Enter text in TextBox -> press filter button -> select 'StartsWith' from drop down list -> CurrentFilterFunction shows 'DoesNotContains'(wrong value, , it should
                                                                                                                                                                                                                                             shows 'StartsWith')

can anyone please tell me the reason of this behavior and what is the solution of it. 

below is the code snippet :

<telerik:RadGrid ID="gvParameterLookup" runat="server" AllowSorting="true" CellSpacing="0"
                    CellPadding="2" GridLines="none" HeaderStyle-CssClass="dnnGridHeader" AllowFilteringByColumn="true"
                    AutoGenerateColumns="false" AllowAutomaticUpdates="false" AllowPaging="false"
                    EnableEmbeddedBaseStylesheet="false" EnableEmbeddedSkins="false" >
                    <groupingsettings casesensitive="false" />
                    <mastertableview allowfilteringbycolumn="true" allowpaging="false">                          
                    <Columns>                    
                        
                        <telerik:GridTemplateColumn DataField="Subsystem" SortExpression="Subsystem" CurrentFilterFunction="Contains" 
  UniqueName="Subsystem"  AutoPostBackOnFilter="True" HeaderText="Subsystem">
                            <HeaderStyle Font-Bold="true" />
                            <HeaderTemplate>Subsystem</HeaderTemplate>
                            <ItemTemplate><%# Eval("Subsystem")%></ItemTemplate>
                        </telerik:GridTemplateColumn>

                            </Columns>
                    </mastertableview>
                    <clientsettings enablepostbackonrowclick="false" />
                </telerik:RadGrid>
amit
Top achievements
Rank 1
 answered on 31 Oct 2014
0 answers
126 views
I have a textbox in a template column. I can't get the value using the same technique as for a bound column. What is the syntax for retrieving this value both in client-side JavaScript and server-side C#?

I would like to sum the values for all the textboxes in the column in codebehind TextChanged and also sum them clientside with Javascript.


....
 <telerik:GridTemplateColumn HeaderText="Amount Approved" UniqueName="AmtApproved" HeaderStyle-Width="55px"
                            ItemStyle-Width="55px" HeaderStyle-HorizontalAlign="Right" ItemStyle-HorizontalAlign="Right">
                            <ItemTemplate>
                                <asp:TextBox ID="AmountApproved" runat="server" Width="55px" OnTextChanged="AmountApproved_TextChanged"
                                    AutoPostBack="true" CssClass="numericAlign"></asp:TextBox>
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridClientSelectColumn UniqueName="ClientSelectColumn" HeaderStyle-HorizontalAlign="Right" ItemStyle-HorizontalAlign="Right">
                        </telerik:GridClientSelectColumn>
                    </Columns>
                </MasterTableView>
                <ClientSettings AllowKeyboardNavigation="true" EnableRowHoverStyle="true" EnablePostBackOnRowClick="true">
                    <ClientEvents OnRowSelected="handleTextBoxValue" OnRowDeselected="handleTextBoxValue" OnActiveRowChanged="sumAmtApproved" />
                    <Selecting AllowRowSelect="true" />
                </ClientSettings>
            </telerik:RadGrid>
Thomas Derenthal
Top achievements
Rank 1
 asked on 31 Oct 2014
1 answer
124 views
I've been trying to make the RadEditor DocumentManger control work with a UNC path. Admin on the forum gave me this link but it's only for the <Telerik:RadFileExplorer> control.

How do I override the file provider for <telerik:RadEditor><telerik:EditorTool name="DocumentManager">
Andrew
Top achievements
Rank 1
 answered on 30 Oct 2014
2 answers
210 views
Can anyone explain why I get the following error?

System.Web.HttpParseException (0x80004005): Type 'Telerik.Web.UI.Calendar.DatePickerClientEvents' does not have a public property named 'OnLoad'. ---> System.Web.HttpException (0x80004005): Type 'Telerik.Web.UI.Calendar.DatePickerClientEvents' does not have a public property named 'OnLoad'.

The Telerik documentation on this page http://www.telerik.com/help/aspnet-ajax/input-client-side-onload.html states the following:
  The OnLoad event is supported by all RadInput controls.

Here's my markup:
<telerik:RadDateTimePicker
      ID="m_dpTargetDate"
      runat="server">
         <ClientEvents OnLoad="m_dpEventBegin_Load" />
</telerik:RadDateTimePicker>

<script type="text/javascript">
var m_dpEventBegin = null;
function m_dpEventBegin_Load(sender, args) {
      m_dpEventBegin = sender;
}
</script>

I can get other client-side events to fire.

Any help would be greatly appreciated.
Kennon McCaa
Top achievements
Rank 1
 answered on 30 Oct 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?