Hello,
I can't remove token from their autocompletebox,when the token is too long (see the picture attached).
Here is my code :
<telerik:RadAutoCompleteBox runat="server" ID="radAutoCompleteBoxSelectionSite"
DropDownAutoWidth="Enabled" Filter="Contains" Visible="True" CausesValidation="False" AutoPostBack="True"
Width="100%" EmptyMessage="<%$ Resources:Language, SelectSite%>" InputType="Token"
OnEntryAdded="radAutoCompleteBoxSelectionSite_EntryAdded" TextSettings-SelectionMode="Single" OnClientLoad="onLoadAutoComplete" MinimumPrefixLength="0" >
</telerik:RadAutoCompleteBox>
And here is my script :
<script type="text/javascript">
function onLoadAutoComplete(sender, args) {
window.$telerik.$(sender.get_inputElement()).on('keypress', function (e) {
if (sender.get_entries().get_count() > 0) {
e.preventDefault();
}
});
}
</script>
I would like to stay in token mode and not in text mode. They still can delete the element with the keyboard but it's not enought clear. Is there any solution ?
Thanks

I think I'm doing something wrong here. I have a RadAsyncUpload control and a submit button on the page to cause the postback. All I want to do is prevent the postback if no file has been selected, or have the submit button disabled until a file is selected. If it makes any difference this is all inside of a RadWindow.
Here's the markup for the RadAsyncUpload
<div class="formRow" id="divAttachFile" runat="server" style="height: 60px;"> <div class="floatLeft"> <label for="asyncFlUpldAttachment"><span id="spnUploadFileMark" runat="server" class="validator">*</span> Upload File: </label> <telerik:RadAsyncUpload ID="RadAsyncUpload1" runat="server" MaxFileSize='<%$ AppSettings:MAXATTCHFILESIZE %>' MultipleFileSelection="Disabled" MaxFileInputsCount="1" AllowedFileExtensions='<%$ AppSettings:ATTCHFILEEXTNS %>' EnableInlineProgress="true" TemporaryFileExpiration="36000" OnClientValidationFailed="validationFailed" OnClientFileUploading="fileUploading" OnClientFileUploadFailed="fileUploadFailed" PostbackTriggers="lnkBtnAttachmentCancel" TabIndex="100"> </telerik:RadAsyncUpload> <span id="ErrorHolder" style="display: none" class="validator"></span> </div> </div>Here's the current JavaSrcipts, pretty much straight from your samples
<script type="text/javascript"> var pageIsValid = true; function validationFailed(sender, args) { $("#ErrorHolder").show(); var fileExtention = args.get_fileName().substring(args.get_fileName().lastIndexOf('.') + 1, args.get_fileName().length); if (args.get_fileName().lastIndexOf('.') != -1) {//this checks if the extension is correct if (sender.get_allowedFileExtensions().indexOf(fileExtention) == -1) { $("#ErrorHolder").html("Wrong Extension! Verify file."); } else { $("#ErrorHolder").html("The file size exceeds the limit"); } } else { $("#ErrorHolder").html("Wrong Extension! Verify file"); } sender.deleteFileInputAt(0); } function fileUploading(sender, args) { $("#ErrorHolder").hide(); } function fileUploadFailed(sender, args) { $("#ErrorHolder").show(); $("#ErrorHolder").html("File upload failed for:" + args.get_fileName()); sender.deleteFileInputAt(0); }</script>
Thanks
Rodney

What is the proper way to make a window 'responsive'. We are revamping our application to use the RadPageLayout on all our pages and that has been going well thus far. The only issue is the RadWindows we use for our 'popups'. When I use the same technique as for our main pages the boxes in the rad window are all about 2 pixels wide. What is the proper way to accomplish things so the popup will be size appropriate as well?
Thanks!!
Hello,
I have a Rad grid with combination of Bound & Template columns in it.
On page load I used Need Data Source handler to bind the rad grid.
Now in my case for page actions I am trying to bind the Rad grid from client side by calling Web Method via $.Ajax() function.
Here, bound columns gets populated correctly however, the text of label control in grid template column not showing.
I have tried many alternate ways to bind the template column at client side with no success.
Could someone please advise how should I display the text of label control in grid template column on client side binding?

<OBJECT codeBase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" classid=clsid:d27cdb6e-ae6d-11cf-96b8-444553540000 width=512> <param name='flashvars' value='file=http://122.165.16.58:91/CourseBuilder/Video/sample.flv' /><param name='movie' value='http://122.165.16.58:91/CourseBuilder/Video/player.swf' /><embed src='http://122.165.16.58:91/CourseBuilder/Video/player.swf' originalAttribute="src" originalPath='http://122.165.16.58:91/CourseBuilder/Video/player.swf' width='512' height='300' bgcolor='#FFFFFF' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' flashvars='file=http://122.165.16.58:91/CourseBuilder/Video/sample.flv' ></OBJECT>
