Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
AI Productivity Tools
UI/UX Tools
Debugging
Free Tools
Support and Learning
Productivity and Design Tools
<script>
function
OnClientLoad(sender, args) {
sender._dropDown.on({
"reflowed"
: sender._onReflowed }, sender);
}
Telerik.Web.UI.RadSearchBox.prototype._onReflowed =
() {
var
that =
this
;
$animationContainer = $(that._dropDown._animationContainer);
if
(that._enableScreenBoundaryDetection) {
availableSpace = that._dropDown._getAvailableSpace();
tableWidth = $(that._innerWrapElement).outerWidth();
dropDownWidth = $animationContainer.outerWidth();
overflow = dropDownWidth - (tableWidth + availableSpace.right);
(overflow > 0) {
left = parseInt($animationContainer.css(
"left"
), 10);
newLeft = Math.max(left - overflow, left - (dropDownWidth - tableWidth));
$animationContainer.css(
, newLeft);
</script>
<
telerik:RadSearchBox
runat
=
"server"
ID
"RadSearchBox1"
DataTextField
"ShipName"
EnableDirectionDetection
"true"
OnClientLoad
"OnClientLoad"
EnableScreenBoundaryDetection
DropDownSettings-Width
"500px"
DataValueField
"OrderID"
>
</