Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
138 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
104 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
111 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
130 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
499 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
136 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
0 answers
32 views

I am facing problem with RadEditor toolbar in IE .

When I host my website
and open my page first time, toolbar Icons disappear  in IE only. In chrome it’s
working fine.

When I refresh my page again they
appears . This problem is happen when
I run this application first time.

 

Also track change not not working properly.


My Rad control product
version is 2013.2.717.40(Q2 2013)

Sujit
Top achievements
Rank 1
 asked on 11 Jun 2015
6 answers
566 views
Hi Support,

I've an application using RadEditor control.

I've a scenario where I've to "set the cursor position" or "set text selection range" in javascript.

How can achieve this functionality? Are there any methods provided for this functionality?

Awaiting sooner reply


Regards
Nickybeit
Ianko
Telerik team
 answered on 11 Jun 2015
1 answer
214 views

Hi all,

 

I am using dependent radcomboboxes. On select of any item in combobox1, combobox2 is populated.

I am facing an issue that the vertical scroll bar appears in the dependent dropdown in a very sudden manner. Eg if number of items is 1, scroll bar appears, if it is more than one it doesnot appear. Please help me remove this scroll bar. I want scroll bar only when the dropdowns height crosses a certain limit.

 P S : I have already tried setting MaxHeight property and also

html {
overflow: hidden;
}

 

Regards,

Anurag

Aneliya Petkova
Telerik team
 answered on 11 Jun 2015
Narrow your results
Selected tags
Tags
+124 more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?