in my kendo have applied get effect . if add attribute, get margin-top applied
<input data-role="numerictextbox"
data-format="c"
data-min="0"
data-max="100"
data-bind="visible: isVisible,
enabled: isEnabled,
value: selectedNumber,
events: { change: onChange }"
style="width: 180px,margin-top:90px;">
<input data-role="numerictextbox"
data-format="c"
data-min="0"
data-max="100"
data-bind="visible: isVisible,
enabled: isEnabled,
value: selectedNumber,
events: { change: onChange }"
style="width: 180px,margin-top:90px;">
5 Answers, 1 is accepted
0
Hi Neeraj,
Generally speaking, the Kendo UI NumericTextBox is a widget created by more than one element. Thus, the margin should be assigned to the wrapper(the parent element). Having said that, this could be achieved with CSS code similar to:
I hope this helps.
Regards,
Preslav
Progress Telerik
Generally speaking, the Kendo UI NumericTextBox is a widget created by more than one element. Thus, the margin should be assigned to the wrapper(the parent element). Having said that, this could be achieved with CSS code similar to:
<style>
.k-widget.k-numerictextbox{
margin-top
:
90px
;
}
</style>
I hope this helps.
Regards,
Preslav
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Neeraj
Top achievements
Rank 1
Veteran
answered on 10 Oct 2017, 05:02 AM
and how can disable or make numeric box in ?
0
Hello Neeraj,
Please excuse me but unfortunately, I am not understanding the requirements from your last post.
Having said that, could you please elaborate on them? I look forward to your reply.
Regards,
Preslav
Progress Telerik
Please excuse me but unfortunately, I am not understanding the requirements from your last post.
Having said that, could you please elaborate on them? I look forward to your reply.
Regards,
Preslav
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Neeraj
Top achievements
Rank 1
Veteran
answered on 11 Oct 2017, 05:05 AM
Hello, want to make to be read-only. I want to edit values in that numeric textBox. How to do in ?
0
Hi Neeraj,
Based on your post I assume that your project requires having a readonly Kendo NumericTextBox. Please correct me if I am wrong.
To achieve that use the readonly method:
Regards,
Preslav
Progress Telerik
Based on your post I assume that your project requires having a readonly Kendo NumericTextBox. Please correct me if I am wrong.
To achieve that use the readonly method:
For example, check this Dojo: https://dojo.telerik.com/AREGIr
If the above is not the case, could you please share more information. For example, send us a screencast that demonstrates the desired functionality.Regards,
Preslav
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.