Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
361 views
This blue shadow appear When I clicked somewhere on Grid. How to I remove this blue shadow from grid?
Viktor Tachev
Telerik team
 answered on 12 Jun 2015
5 answers
115 views

I have tried a few things but I am unable to get the background color to set on a rad ddl.  Here is the code I have that doesn't work:

Method 1

If (dr("ACTIVE")) = 0 Then
   ddlOperator.Items(ddlOperator.Items.Count - 1).Attributes.Add("style", "BACKGROUND-COLOR: Red")
End If

 

Method 2

Dim itemData As New DropDownListItem
itemData.Text = dr("NAME").ToString
itemData.Value = dr("BADGE").ToString

If (dr("ACTIVE")) = 0 Then
     itemData.Attributes.Add("style", "background-color: red")

end if

Mark
Top achievements
Rank 1
 answered on 12 Jun 2015
1 answer
82 views

I see that you can enable Smooth Streaming for the Silverlight version.  Can you enable Smooth Streaming for the ASP.NET AJAX version of RadMediaPlayer?

 

Thank You!

Konstantin Dikov
Telerik team
 answered on 12 Jun 2015
1 answer
145 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
87 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
161 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
158 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
119 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
82 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
145 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?