Hello, I have some problems with the RadNumericTextBox.
If is set the value
var tbox = document.getElementById(elementId);if (tbox) { tbox.value = value;}| slotcount | count | pc_to_total | labelPerc |
| n°1 Slot | 24 | 6.25 | 6.25% |
| n°2 Slot | 3 | 7.81 | 7.81% |
| n°10 Slot | 1 | 10.42 | 10.42% |
| n°11 Slot | 1 | 13.28 | 13.28% |
| n°333 Slot | 1 | 100 | 100.00% |
ScriptManager scriptManager = ScriptManager.GetCurrent(this.Page);if (scriptManager != null) { Page.Form.Controls.Remove(scriptManager); }RadScriptManager radScriptManager = new RadScriptManager();this.Page.Form.Controls.AddAt(0, radScriptManager);
<telerik:RadSlider ID="RadSlider1" runat="server" Value="0" MinimumValue="0" MaximumValue="50" AutoPostBack="true" Height="60px" Width="500px" ItemType="Item" ShowDecreaseHandle="false" ShowIncreaseHandle="false" TrackPosition="TopLeft" Skin="Simple">
</telerik:RadSlider>
I populate a range of values in code behind as follows:
Dim myExcess As List(Of contractors.excess) = contractors.excess.GetByContractorID(Session("ContractorID"))
For Each Excess In myExcess
RadSlider1.Items.Add(New RadSliderItem(Excess.ExcessAmount, Excess.ExcessPercent))
Next
for this example, values witten are
Text = 100, value =0.1
Text = 200, value =0.2
etc. etc
The slider renders as expected, however, after clicking or dragging, the order of the items changes!
It was initially: 100,200,300,400,500
After a drag this may become 100,200,400,500,300
There is no other clientside or server side code so I am puzzled!
Same problem with IE and Chrome
Can anyone help please?