Nov 30, 2012, 9:24 PM
[CLOSED] slider in a formpanel
Hi,
I had taken the demo of a slider and got it working in a panel.
Then I wanted to have the slider together with other controls in a formpanel.
I get an error because there is no value (runtime error javascript: if(value.length<1||(value===me.emptyText&&me.value ContainsPlaceholder)){return errors;})
When I add a Value I get another error:
a parser error: Can not create object of type System.Object based on the string representation for the Value property. (translated)
I am using Ext.net version 2.1, VS2010; IE10
Hans
I had taken the demo of a slider and got it working in a panel.
Then I wanted to have the slider together with other controls in a formpanel.
I get an error because there is no value (runtime error javascript: if(value.length<1||(value===me.emptyText&&me.value ContainsPlaceholder)){return errors;})
When I add a Value I get another error:
a parser error: Can not create object of type System.Object based on the string representation for the Value property. (translated)
I am using Ext.net version 2.1, VS2010; IE10
<ext:FormPanel ID="formPnlThemeConstruction" runat="server" Header="false" >
<Items>
<ext:FieldContainer ID="FieldContainerTransparency"
runat="server"
FieldLabel="Transparantie"
AnchorHorizontal="100%"
Layout="HBoxLayout"
<Defaults>
<ext:Parameter Name="margins" Value="0 5 0 0" Mode="Value" />
</Defaults>
<Items>
<ext:Slider
ID="sliderTransparency"
runat="server"
Single="true"
Number="40"
MinValue="0"
MaxValue="100"
Width="240" Value="40" >
<Listeners>
<Change Fn="updateTransparency" />
</Listeners>
</ext:Slider>
<ext:TextField ID="txtSliderTransparency" runat="server" Text="0" Width="30"/>
</Items>
</ext:FieldContainer>
</Items>
</ext:FormPanel>
What could be the problem?Hans
Last edited by Daniil; Dec 04, 2012 at 8:51 AM.
Reason: [CLOSED]