This question is locked. New answers and comments are not allowed.
Graeme Atkinson
Top achievements
Rank 1
Graeme Atkinson
asked on 24 Mar 2010, 06:13 AM
Hi,
I am creating a NumericTextBox in a TabStrip partial view. The box is displayed, but "spinners" are not.
If I create the same HumericTextBox on the same page outside the TabStrip all is well.
Anyone know of a solution to this/ seen this before?
Cheers,
Graeme
I am creating a NumericTextBox in a TabStrip partial view. The box is displayed, but "spinners" are not.
If I create the same HumericTextBox on the same page outside the TabStrip all is well.
Anyone know of a solution to this/ seen this before?
Cheers,
Graeme
3 Answers, 1 is accepted
0
Hello Graeme,
I suppose that you are loading the NumericTextBox component with LoadContentFrom method of the tabstrip.
To avoid this behavior you should register the numericTextBox javaScript file by hand. Here is the code snippet which shows what I mean:
Check this help topic for more information about components scripts.
Sincerely yours,
Georgi Krustev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
I suppose that you are loading the NumericTextBox component with LoadContentFrom method of the tabstrip.
To avoid this behavior you should register the numericTextBox javaScript file by hand. Here is the code snippet which shows what I mean:
<%= Html.Telerik().ScriptRegistrar() .DefaultGroup(group => group .Add("telerik.common.js") .Add("telerik.textbox.js")%>Check this help topic for more information about components scripts.
Sincerely yours,
Georgi Krustev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Graeme Atkinson
Top achievements
Rank 1
answered on 27 Mar 2010, 12:00 AM
Many thanks for your reply.
I am actually creating a PanelBar, inside which is a TabStrip(). I use LoadContentFrom to load the partial view in theTabStrip()
For the numeric input the "increase/decrease" icon is rendered in the top right of the TabStrip (i.e. nowhere near the actual text box field) and when clicked, closes the panelbar. I was actually loading the appropriate scripts explicitly in the partial view:
<script src="../../Scripts/telerik.textbox.min.js" type="text/javascript"></script>
...etc
Using the
May be that what I want to achieve - PanelBar containing a TabStrip rendering numeric textbox with spinners is not possible? I note that the DatePicker .ShowButton renders the icon at the correct location, but has the effect of closing the PanelBar when selected.
Cheers
Graeme
I am actually creating a PanelBar, inside which is a TabStrip(). I use LoadContentFrom to load the partial view in theTabStrip()
For the numeric input the "increase/decrease" icon is rendered in the top right of the TabStrip (i.e. nowhere near the actual text box field) and when clicked, closes the panelbar. I was actually loading the appropriate scripts explicitly in the partial view:
<script src="../../Scripts/telerik.textbox.min.js" type="text/javascript"></script>
...etc
Using the
Html.Telerik().ScriptRegistrar()as suggested I find the TabStrip functionality goes haywire - with tabs being rendered outsite the actual tab.May be that what I want to achieve - PanelBar containing a TabStrip rendering numeric textbox with spinners is not possible? I note that the DatePicker .ShowButton renders the icon at the correct location, but has the effect of closing the PanelBar when selected.
Cheers
Graeme
0
Hello Graeme Atkinson,
The scenario, which you described is currently not achievable, because our components uses CSS primitives. Hence when you try to nest some of our components some of the classes will be overridden, which will introduce the depicted issue.
Nevertheless, I will forward this issue to our developers for further consideration.
Sincerely yours,
Georgi Krustev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
The scenario, which you described is currently not achievable, because our components uses CSS primitives. Hence when you try to nest some of our components some of the classes will be overridden, which will introduce the depicted issue.
Nevertheless, I will forward this issue to our developers for further consideration.
Sincerely yours,
Georgi Krustev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.