I updated to the latest release 2015.1.401.45 and the ClientExportManager seems to not work since the update. Embedded scripts are disabled for the whole application and I'm bundling the RadClientExportManager.js along with scripts of other controls. I'm getting an Javascript error saying "Uncaught TypeError: Cannot read property 'drawing' of undefined." I don't see any documentation on Disable Embedded Scripts regarding the script files required for the client export manager. The export used to work before the update to latest version. I also use some controls from the Kendo UI Core framework, but I don't think that it has affected it because the export was working along with the Kendo controls before the update of ASP.NET Ajax controls.
Any ideas why the export might not be working?
Following is the order in which the scripts are bundled.
'Scripts/telerik/Common/Core.js',
'Scripts/telerik/Ajax/Ajax.js',
'Scripts/telerik/Common/jQueryPlugins.js',
'Scripts/telerik/Common/Navigation/OverlayScript.js',
'Scripts/telerik/Common/Navigation/NavigationScripts.js',
'Scripts/telerik/Common/Animation/AnimationScripts.js',
'Scripts/telerik/Common/AnimationFramework/AnimationFramework.js',
'Scripts/telerik/ClientExportManager/RadClientExportManagerScripts.js',
'Scripts/kendo/kendo.core.min.js',
'Scripts/kendo/kendo.angular.min.js',
'Scripts/kendo/kendo.data.min.js',
'Scripts/kendo/kendo.popup.min.js',
'Scripts/kendo/kendo.list.min.js',
'Scripts/kendo/kendo.fx.min.js',
'Scripts/kendo/kendo.userevents.min.js',
'Scripts/kendo/kendo.draganddrop.min.js',
'Scripts/kendo/kendo.mobile.scroller.min.js',
'Scripts/kendo/kendo.dropdownlist.min.js'
Thanks,
Naveen Jones
Hi!!
I'm working with RadGrid in hierarchy mode. On DetailTable I have a CommadItemTemplate with an asp:button:
<DetailTables>
<CommandItemTemplate>
<asp:ImageButton ID=
"IbB_"
ImageUrl=
"../../Img/b_.gif"
CommandName=
"AContact"
runat=
"server" onClientClick="b_();"
/>
</CommandItemTemplate>
<...>
I need to get the Parent ID in client side (JS) how i can do?
Thanks
Whenever I try to click on cancel button 'during' a file upload, the ProgressArea doesn't disappear. Is there any way where I can either programatically disable/hide the cancel button during the upload or hide the ProgressArea after clicking on the cancel button.
I tried using the following code:
function onClientProgressUpdating()
{
$telerik.$(".ruCancel").hide();
}
function onClientFileUploaded()
{
$telerik.$(".ruCancel").show();
}
Hallo, sorry for my english.
I need to determine when control(panel) will be updated by radajaxmanager in theyrs onRequestStart. I need this to call kendo.destroy before postback to destroy existing kendo controls.
Problem is that objects, recieved from get_ajaxSettings have property with ClientID's of controls (InitControlID) and get_eventTarget returns uniqueId. Because of that, i cannot get controls that will be updated from settings collection for current request.
I've found _postbackControlClientID in ajax setting object, but that property contains invalid id, not like in InitControlID, but very similar.
Seems like there is no way to determine in onRequestStart event controls that will be updated.
So, that will be great if telerik developers add a function to onRequestStart eventArgs like get_currentAjaxSetting for situations like this.
Thanks.
I'm hoping someone has seen this before.
On one web server (and only one) the following exception is being generated when the grid data is exported to PDF:
"System.Exception: Unable to retrieve Unicode ranges. at Telerik.Pdf.Gdi.GdiUnicodeRanges.LoadRanges(GdiDeviceContent dc) at ... [more stack]
I've disassembled the Telerik assembly that contains the LoadRanges function and this function contains a call to a Windows API function, i.e.
int fontUnicodeRanges = NativeMethods.GetFontUnicodeRanges(dc.Handle, glyphSet);
if (fontUnicoderanges == 0)
{
[code]
}
else
{
throw new Exception("Unable to retrieve Unicode ranges.");
}
The NativeMethods.GetFontUnicodeRanges maps to the following gdi32.dll Windows API function:
internal static extern int getFontUnicodeRanges(IntPtr hdc, GlyphSet lpgs);
The return code from this function is 0 (ERROR). Does anyone know what might cause this particular situation when exporting to PDF from the Telerik grid? I'm using the default PDF export functionality of the grid.
How can I add an event handler via JavaScript in pageLoad to handle the keyPress event of a RadComboBox?
We create a series of ComboBox controls dynamically based on user preferences. We want to be able to accept user keystrokes and when they press the Enter key, fire the rrKeyPress event.
We're unable to define this in our code due to business constraints; it *MUST* be in JavaScript on pageLoad.
I've tried adding it using the code below, but it didn't work as expected:
// Loop through controls and attach
var
comboBox = document.getElementById(
'RadComboBox1'
);
comboBox.add_valueChanged(rrKeyPress);
Any suggestions?
I have a chart that uses a linqDataSource.
Some of the incoming data has no values.
I need to hide the ColumnSeries if that is true.. Value == 0 ? visible = false : visible = true;
Can someone point me to an article or such?
<telerik:ColumnSeries DataFieldY="Auctioned" Name="Auctioned">
<Appearance>
<FillStyle BackgroundColor="#8dd3c7"></FillStyle>
</Appearance>
<LabelsAppearance Visible="False" Position="Center">
</LabelsAppearance>
<TooltipsAppearance Visible="True">
<ClientTemplate>
Auctioned<br/>#=value#
</ClientTemplate>
</TooltipsAppearance>
</telerik:ColumnSeries>