LastFormValue

2 posts, 0 answers
  1. gowthami
    gowthami avatar
    5 posts
    Member since:
    Jun 2011

    Posted 30 Jul 2011 Link to this post

    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>
  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 03 Aug 2011 Link to this post

    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 >>

  3. DevCraft banner
Back to Top