If I mouse over my radeditor it says "Rich text editor with ID ....". I've included a screen shot.
How do I stop this from showing?
Thanks.
Hello,
We have a zip code entry text box that utilizes radmasktextbox to require entry of zipcode in us format. We'd like to support international postal code standards. I have created some JavaScript that in theory should switch the text box on client side to allow up to 10 of any characters when the nation isn't USA, but its simply not totally changing the text entry formatting. It can get to the point where it prints your characters in the box when you type, but when you blur it will strip out any chars that violate the old rules (US, 5+4).
Not permitting changing of the mask in clientside easily seems to be a fantastically big oversite. how does one do this?
code to change the mask:
funciton changeFormat(sender, args) { var unitedStates = ['US', 'USA', 'UNITED STATES', 'UNITED STATES OF AMERICA']; var i = 0; var mask = []; if (unitedStates.indexOf($find(countryControlId).get_value().toUpperCase()) < 0) { for (i = 0; i < 10; i++) { mask[mask.length] = new Telerik.Web.UI.RadFreeMaskPart(); } } else { for (i = 0; i < 5; i++) { mask[mask.length] = new Telerik.Web.UI.RadDigitMaskPart(); } mask[mask.length] = new Telerik.Web.UI.RadLiteralMaskPart('-'); for (i = 0; i < 4; i++) { mask[mask.length] = new Telerik.Web.UI.RadDigitMaskPart(); } } $find(zipControlId).set__initialDisplayMasks(mask); $find(zipControlId).set__initialMasks(mask); $find(zipControlId)._setDisplayMask(mask); $find(zipControlId)._setMask(mask); $find(zipControlId)._length = 0; $find(zipControlId).clear(); }
Hi I am trying to add html table to the context via c#.
I am getting the value without the table.
Can anyone help me out .
StringBuilder sb = new StringBuilder();Hi,
I am using .Netframework -4.8
with apppool-4.0 and upgraded telerik controls from Q32015.3.1111.35 to R32020.3.915(BIN 45).
We are performing a sorting , attached screenshot has the details .so once we click on data, source we get a processing window and sort function gets completed.
But after upgrade of telerik controls, when we try to click on data, source ,name tabs after completing sorting also processing window continuously running.
This issue is observed in Edge Browser with new(2020.3.915) and old Telerik controls(2015.3.1111.35) as well.
Attached errors observed in Console.
Can anyone please help on this issue?
Hi
So I have RadListBox implemented into my page and I need to add some additional on keyDown functionality
I attached on OnClientLoad a keydown event to the .rlbGroup class - it is getting into the function and doing the stuff that I am telling it to however there are some issues:
1. I am unable to remove the .rlbActive class from previously selected item
so RadListBox.get_items().get_item(0).removeClass('.rlbActive') is not an option
I tried using _activateItem() since I believe it is deactivating the current rlbActive in itself without success also. The DOM does not give me idea how to properly get rid of the active class at all.
Some assistance would be appreciated. It is an option to disable the rlbActive class completely - How can I do that without risking creating a bug in the control?
Any idea or even general information is welcome
Thanks
I am trying to disable the button that causes post back and starts the file upload. This is to avoid user hitting the button twice and causing the file to be uploaded again.
<telerik:RadAsyncUpload
RenderMode="Lightweight" runat="server"
ID="RadAsyncUpload1"
OnFileUploaded="serversideFileUploadedEvent"
OnClientFileSelected="OnFileSelected"
OnClientFileUploadRemoving="OnFileUploadRemoving"
PostbackTriggers="uploadbutton"
DropZones=".DropZone1"
HideFileInput="true" />
<asp:Button CssClass="btn btn-primary" runat="server" ID="uploadbutton" Text="Upload" />
I tried binding click event to the button for disabling the button on the client side but then the server side method does not fire.
Is there a way to disable the button or fire both client side and server side events?
Workflow:
1) Client clicks on RadWizard Finish button
2) JavaScript code in either OnClientButtonClicking or OnClientButtonClicked performs some asynchronous background processing => file upload
3) RadWizard waits for JavaScript code to complete its operation (callback or something else – we are waiting in the OnClientButtonClicking or/and OnClientButtonClicked event handlers)
4) After successful operation RadWizard continues with the postback => OnFinishButtonClick server side event is called and data is saved in the database
Is it possible to achieve above-described workflow (or something similar) in the JavaScript and RadWizard ASP.NET AJAX control?