This is a migrated thread and some comments may be shown as answers.

LastFormValue

1 Answer 64 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
gowthami
Top achievements
Rank 1
gowthami asked on 30 Jul 2011, 03:12 PM
Hai ,

  Just i open new form fill th details like as customerName,AccountName .all are Combobox values. just i saved the form.
and i opened new form the last form account value automatically diaplayed(no need to click).


i dont know how to automatically displayed.
<TelerikCombo:RadComboBox  x:Name="Cmb_Account" Grid.Row="1" Grid.Column="3"
                                MinHeight="15" Height="19"
                            
                                VerticalAlignment="Top" TabIndex="1" IsEditable="True"
                                IsTextSearchEnabled="True"
                                SelectedValuePath="Previous Selected Value" 
                                 teleric:TextSearch.TextPath="AccountName"
                                  ItemsSource="{Binding Account}"
                              
                                  ItemTemplate="{StaticResource ComboBoxAccountTemplate }"
                                       InputMethod.IsInputMethodEnabled="True"
                                  SelectedItem="{Binding AccountId,Mode=TwoWay}"
                                  SelectedValue="{Binding CurrentReceivePayment.AccountID,Mode=TwoWay}"
                                 ClearSelectionButtonVisibility="Visible">
                          <TextBlock Text="{Binding AccountName}" Grid.Row="0" Grid.Column="0" Width="200" />
                          <TextBlock Text="{Binding AccountId}" Grid.Row="0" Grid.Column="1" Width="56" />
 
                          <TelerikCombo:RadComboBox.ItemsPanel>
                              <ItemsPanelTemplate>
                                  <VirtualizingStackPanel />
                              </ItemsPanelTemplate>
                          </TelerikCombo:RadComboBox.ItemsPanel>
 
                      </TelerikCombo:RadComboBox>

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 03 Aug 2011, 08:02 AM
Hi Gowthami,

Please check this help article which explains the basic properties exposed by the RadComboBox for working with selection.

All the best,
Yana
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Tags
ComboBox
Asked by
gowthami
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or