or
function GridMouseUp(sender, e) { setTimeout(function () { var grid = $find(window.gridId); if (grid != null && grid.get_masterTableView().get_selectedItems().length > 0) { __doPostBack(window.gridUniqueId); } }, 0);}
<telerik:RadComboBox runat="server" ID="rcbClients" Height="100px" EnableLoadOnDemand="true" ShowMoreResultsBox="true" EnableVirtualScrolling="true" AllowCustomText="false" EmptyMessage="Type lastname ..."> <WebServiceSettings Path="Service1.svc" Method="LoadClients" /> </telerik:RadComboBox> <asp:CustomValidator ID="cvClients" runat="server" ClientValidationFunction="validateCombo" SetFocusOnError="true" ErrorMessage="Please select a client from Dropdown" ControlToValidate = "rcbClients" >* </asp:CustomValidator>function validateCombo(source, args) { args.IsValid = false; var combo = $find(source.controltovalidate); var text = combo.get_text(); var value = combo.get_value(); if (text.length < 1) { args.IsValid = false; } else { var node = combo.findItemByText(text); if (node) { value = node.get_value(); if (value.length > 0) { args.IsValid = true; } } else { args.IsValid = false; } }}this is the style i use in the form
.ruBrowse
{
background-image: url(/Images/newbutton.gif);
background-position: 0 -46px !important;
width: 150px !important;
}
<
telerik:RadAsyncUpload ID="AsyncUpload1" runat="server"
AllowedFileExtensions="jpeg,jpg,gif,png,bmp" MaxFileInputsCount="1"
OnClientFileUploaded="fileUploaded" OnClientValidationFailed="validationFailed"
OnFileUploaded="AsyncUpload1_FileUploaded" Width="273px" Height="16px">
<Localization Select="Kies diploma /certificaat" />
</telerik:RadAsyncUpload>