Just passing along a bug that I found with regards to tooltip positioning and IE 11 (I didn't check other versions of IE and it does not happen in Chrome or Firefox).
Details:
If your <body> element is scrollable (vis overflow: auto and a fixed width/height), once you scroll, the tooltip position will be off. The reason is buried deep with Telerik's script code.In PopupScripts.js, the _fixPositionInBounds function, called when the popup tooltip is being shown, the code calls _getViewportBounds, which is this:
getViewportBounds:function(){var e=$telerik.getClientBounds();
var f=document.documentElement;
var d=document.body;
e.scrollLeft=$telerik.isMobileSafari?window.pageXOffset:($telerik.getCorrectScrollLeft(f)||$telerik.getCorrectScrollLeft(d));
e.scrollTop=$telerik.isMobileSafari?window.pageYOffset:(f.scrollTop||d.scrollTop);
return e;
}
For IE, scrollTop for <body> will be non-0 when scrolled which causes Telerik's popup script to think the tooltip will be positioned off screen so it adjusts. Unfortunately, this adjustment puts the tooltip in the wrong place (vertically much lower than it should be).
The simple fix for me was to put a containing <div> as a child of <body> and use that <div> to scroll. After I did that all is well. It took me 2 days to figure this out, so posting this here :)
- Mike
Hello everyone.
In a multiuser, muticulture project, I have the necessity to save the grid settings.
I have the following use case:
- One User , with CurrentThread.CurrentCulture == "de-DE", wants to save the grid setting for a table with a column of type "GridDateTimeColumn".
- User filters for DateTime element. The FilterExpressionValue is something like that :
((CreatedDate >= DateTime.Parse(\"03.12.2015,00:00:00\")) AND (CreatedDate <= DateTime.Parse(\"19.12.2015,23:59:59\")))"
- User saves the grid settings
- User changes his culture to "en-US"
- User loads grid settings
The loaded FilterExpression doesn't work properly because RadGrid expects a DateTime in "en-US" format (MM/dd/yyyy) but get one in "de-DE" (dd.MM.yyyy).
There is the same problem with GridNumericColumn columns.
To solve it I performed the following solution.
I don't save/load directly the FilterExpression string, but on "Save" event i just save the CurrentFilterValue/CurrentFilterFunction for the single columns parsing GridDateTimeColumn and GridNumericColumn in "InvariantCulture" format.
On "Load" event I load the CurrentFilterValue/CurrentFilterFunction parsing it in culture dependent format, and I generate the FilterExpression joining the FilterExpressions (EvaluateFilterExpression() method) of the single columns.
I wanted to know if it is the best approchor or there are better solutions.
I have a hierarchy grid and am using templates for the edit forms. When there are existing records in the child table I am able to add a new record. If there are no records in the child table the template will not display when I try to add a new record.
Any suggestions?
I've read a number of other threads that relate to this, but the help article link seems to be outdated. I have an column that contains a and the text is not exporting.
I've tried ExportOnlyData="false", but that didn't work. Any ideas would be greatly appreciated.
<
telerik:GridTemplateColumn
HeaderText
=
"Source"
UniqueName
=
"SOURCEDESCRIPTION"
ShowFilterIcon
=
"false"
SortExpression
=
"SourceDescription"
CurrentFilterFunction
=
"Contains"
AutoPostBackOnFilter
=
"true"
>
<
ItemTemplate
>
<
asp:LinkButton
ID
=
"lnkSource"
runat
=
"server"
CausesValidation
=
"false"
CommandName
=
"VIEWACTIONITEM"
CommandArgument='<%# Eval("IssueId") %>' Text='<%# Eval("SourceDescription") %>' ToolTip="View Action Item"> </
asp:LinkButton
>
</
ItemTemplate
>
</telerik:GridTemplateColumn>
Hi,
is there a way to have the combobox or textbox act like a textbox with an embedded DDL.
The use case is to allow the user to type in the control like a textbox ... but
when they click into the textbox, a dropdownlist appears and allows them to select an item if they choose?
thanks
Hi
1. Does the current release support playing wav files in IE 11? ie does it fall back to a version of a player that will support it (object embed for example). I can't seem to get it to work at present so I suspect not (works in chrome)
2. If I want to play multiple files automatically what's the best way? I currently load into a playlist but it only auto plays the first. I want it to play them all sequentially without me having to manually start them
3. Is there a way to raise a server side event when the track has finished playing? I see there is a client event.
Many thanks
Tim
Hi,
I have a RadCombobox with Checkboxes and EnableLoadOnDemand features (Telerik Version 2015).
I am trying to use Filter for this RadCombobox but as soon as it filters the combobox values based on the search text, previous selection of the Combobox is not retained.
Please let us know if we can use Filter option of RadCombobox with checkboxes.
I would love to implement the Excel-like Filtering, however I have a few filter templates which disappear when the filterType is set to HeaderContext.
Is there a way to implement both?
I am attaching the Image of Grid, I can't get the Value of MenuName when i clicked to the Full Access, Readonly any check Box in the Grid.
I go thru so many forums but i still can't get the Value .
This this is done by using Javascript.
plz suggest me.