I am using a multi slider with numbers property set to [0,3600]. Both handles of the slider are shown at 0, even though i have set one of them to be at 3600. Is there a max value constraint for that numbers property so that it can function properly?
Printable View
I am using a multi slider with numbers property set to [0,3600]. Both handles of the slider are shown at 0, even though i have set one of them to be at 3600. Is there a max value constraint for that numbers property so that it can function properly?
Hi @hikalkan,
Yes, it has MaxValue="100" by default. You should set up it prior to Numbers.
Example
Code:<%@ Page Language="C#" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<script runat="server">
protected void Page_Load(object sender, EventArgs e)
{
this.Form.Controls.Add(new Slider()
{
Width = 300,
MaxValue = 5000,
Numbers = new double[] { 0, 3600 },
});
}
</script>
<!DOCTYPE html>
<html>
<head runat="server">
<title>Ext.NET v2 Example</title>
</head>
<body>
<form runat="server">
<ext:ResourceManager runat="server" />
</form>
</body>
</html>