Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
127 views

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

Peter Filipov
Telerik team
 answered on 12 Jun 2015
3 answers
69 views

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

Jota
Top achievements
Rank 1
 answered on 12 Jun 2015
1 answer
135 views
I'm trying to change the font size larger in my site map, but not having much luck. I've attached a screen shot of what I have now. I want "Cost", "DP", "PCIP", etc to have a larger font than the links under "Cost", like default.aspx, login.aspx, etc. "Cost" folder is a folder under the root.
Aneliya Petkova
Telerik team
 answered on 12 Jun 2015
4 answers
137 views

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(); 

}

Ivan Danchev
Telerik team
 answered on 12 Jun 2015
1 answer
103 views

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.

Konstantin Dikov
Telerik team
 answered on 12 Jun 2015
2 answers
75 views
I'm not quite sure how to handle onSearch on the server side. Under my scenario i'd like it to call to datasource when only a certain number of chars are entered or if the user presses search. When the user actually selects an item from the list, another action needs to occur. I don't understand how all of this is done from the OnSearch. 
DH
Top achievements
Rank 1
 answered on 11 Jun 2015
1 answer
109 views

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.

 

Chad
Top achievements
Rank 1
 answered on 11 Jun 2015
2 answers
129 views

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?

Matt
Top achievements
Rank 1
 answered on 11 Jun 2015
4 answers
497 views

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>

Marin Bratanov
Telerik team
 answered on 11 Jun 2015
14 answers
135 views
Can anyone shed some light on this error please - reporting works fine in the development environment - but on server no :(

The type initializer for 'Telerik.Reporting.Processing.ReportDocumentResolverFactory' threw an exception.
Object reference not set to an instance of an object.

at Telerik.Reporting.Processing.ReportDocumentResolver.Bind[T](ReportSource source, Func`2 func)
at Telerik.Reporting.Processing.ReportDocumentResolver.Resolve(ReportSource source)
at Telerik.ReportViewer.WebForms.ParametersPage.get_ReportDocument()
at Telerik.ReportViewer.WebForms.ParametersPage.get_ParamsManager()
at Telerik.ReportViewer.WebForms.ParametersPage.CreateChildControls()
at System.Web.UI.Control.EnsureChildControls()
at Telerik.ReportViewer.WebForms.ParametersPage.OnPreLoad(EventArgs e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 

if you need for info then feel free to ask :)
Thanks

Daniel
Stef
Telerik team
 answered on 11 Jun 2015
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?