Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
131 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
84 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
157 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
157 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
558 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
166 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
46 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
664 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
261 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
1 answer
262 views

Hi team,

I have a DataTable, which is used to bind my Radgrid. In my grid I have a Template column which creates a Link button . 

If I click the link button , I am getting my corresponding Datatable row index in itemCommand() by  "e.Item.DataSetIndex"  perfectily.

 

If I filtered my grid and click the link button, I am getting wrong Datatable row ID by  "e.Item.DataSetIndex". !

Please help , How can I get correct Datatable row id in filtered mode (itemCommand())?

 

Ramesh.

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