Product Bundles
DevCraft
All Telerik .NET and Kendo UI JavaScript components and AI Tools in one package.
Kendo UI
Bundle of AI Tools plus four JavaScript UI libraries built natively for jQuery, Angular, React and Vue.
Build JavaScript UI
Javascript
Telerik
Build modern .NET business apps
.Net Web
Cross-Platform
Desktop
Reporting and Documents
AI for Developers & IT
Ensure AI program success
AI Coding
AI Engineering
Additional Tools
Enhance the developer and designer experience
Testing & Mocking
Debugging
AI-Enhanced UI Tools
CMS
Free Tools
Support and Learning
Productivity and Design Tools
<telerik:RadImageEditor ID="theImageEditor" runat="server" ImageUrl="~/content/damage.jpg" OnClientCommandExecuted="modifyCommand"></telerik:RadImageEditor> </form> <script type="text/javascript"> function modifyCommand(imageEditor, args) { waitForCommand(imageEditor, args.get_commandName(), function (widget) { widget._constraintBtn.set_checked(false); //stop the aspect ration constraint widget.set_width(100); widget.set_height(100); widget._updateCropBoxFromControls(); }); } function waitForCommand(imageEditor, commandName, callback) { var timer = setInterval(function () { var widget = imageEditor.get_currentToolWidget(); if (widget && widget.get_name() == commandName) { clearInterval(timer); callback(widget); } }, 100); } </script>
<telerik:RadImageEditor ID=
"theImageEditor"
runat=
"server"
ImageUrl=
"~/content/damage.jpg"
OnClientCommandExecuted=
"modifyCommand"
></telerik:RadImageEditor>
</form>
<script type=
"text/javascript"
>
function
modifyCommand(imageEditor, args) {
waitForCommand(imageEditor, args.get_commandName(),
(widget) {
widget._constraintBtn.set_checked(
false
);
//stop the aspect ration constraint
widget.set_width(100);
widget.set_height(100);
widget._updateCropBoxFromControls();
});
}
waitForCommand(imageEditor, commandName, callback) {
var
timer = setInterval(
() {
widget = imageEditor.get_currentToolWidget();
if
(widget && widget.get_name() == commandName) {
clearInterval(timer);
callback(widget);
}, 100);
</script>
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.