2
Answers

why text box is not accepting like LXLCLASS10 IN VB.NET

Mubarak Khan

Mubarak Khan

7y
181
1
Hii,
Everyone please help me i am doing some changes old project inventry management system
 
whenever i am giving input in textbox like lxlclass10.but it is not accepting,it is accepting lxlclass1 why i dont know
 
but i did maxlength=20 
 
Answers (2)
0
aadi kumary
NA 12 10.9k 10y


Hi,

is their any way to display AlternationIndex ?


Below is my code this displaying 0 only ...




<ListBox x:Name="listBox" AlternationCount="3">

 

        <ListBox.ItemTemplate >

                <DataTemplate >

                    <Canvas Margin="0,20,0,0">

                        <StackPanel Orientation="Vertical">

<TextBlock VerticalAlignment="Top" Text="{Binding Name }" FontSize="16" FontWeight="Bold" Margin="30,20,0,0"  Foreground="Black" />

 <TextBlock Text="{Binding RelativeSource={RelativeSource Mode=TemplatedParent},

                                      Path=(ItemsControl.AlternationIndex)}" />

 

                        </StackPanel>

                    </Canvas>

                </DataTemplate>

            </ListBox.ItemTemplate>

        </ListBox>

0
Khan Abrar Ahmed
NA 5.8k 200k 10y
Hi, check the image path
<Image Source="Images\Tiles\Folder-n-design(right).png" Name="imgLoadRight" Margin="0,10,0,0" Loaded="imgLoad_Loaded_1" Visibility="Collapsed" />
<Image Source="Images\Tiles\Folder-n-design(center).png" Name="imgLoadCenter" Margin="0,100,0,0" Loaded="imgLoad_Loaded_1" Visibility="Collapsed" />