Click here to Skip to main content
15,913,610 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: Creating a resize effect Pin
AspDotNetDev14-May-10 12:44
protectorAspDotNetDev14-May-10 12:44 
GeneralRe: Creating a resize effect Pin
WebMaster14-May-10 21:33
WebMaster14-May-10 21:33 
GeneralRe: Creating a resize effect Pin
WebMaster15-May-10 1:52
WebMaster15-May-10 1:52 
GeneralRe: Creating a resize effect Pin
AspDotNetDev17-May-10 17:06
protectorAspDotNetDev17-May-10 17:06 
QuestionIntercepting OrigionalSource Pin
Tristan Rhodes13-May-10 10:55
Tristan Rhodes13-May-10 10:55 
AnswerRe: Intercepting OrigionalSource Pin
Abhinav S13-May-10 18:41
Abhinav S13-May-10 18:41 
AnswerRe: Intercepting OrigionalSource Pin
#realJSOP14-May-10 1:56
professional#realJSOP14-May-10 1:56 
GeneralRe: Intercepting OrigionalSource Pin
Tristan Rhodes14-May-10 10:36
Tristan Rhodes14-May-10 10:36 
GeneralRe: Intercepting OrigionalSource Pin
#realJSOP15-May-10 4:07
professional#realJSOP15-May-10 4:07 
GeneralRe: Intercepting OrigionalSource Pin
Tristan Rhodes17-May-10 6:24
Tristan Rhodes17-May-10 6:24 
QuestionWPF Hyperlink Question Pin
Kevin Marois13-May-10 10:53
professionalKevin Marois13-May-10 10:53 
AnswerRe: WPF Hyperlink Question Pin
Venkatesh Mookkan13-May-10 19:53
Venkatesh Mookkan13-May-10 19:53 
GeneralRe: WPF Hyperlink Question Pin
Kevin Marois14-May-10 6:12
professionalKevin Marois14-May-10 6:12 
QuestionAdding hyperlink button column in silverlight grid from codebehind? Pin
mittalpa13-May-10 8:19
mittalpa13-May-10 8:19 
AnswerRe: Adding hyperlink button column in silverlight grid from codebehind? Pin
#realJSOP13-May-10 8:52
professional#realJSOP13-May-10 8:52 
QuestionSilverlight 4 Grid in Code. Access Row Background Pin
Paul Shearing13-May-10 6:45
Paul Shearing13-May-10 6:45 
AnswerRe: Silverlight 4 Grid in Code. Access Row Background Pin
Abhinav S13-May-10 18:51
Abhinav S13-May-10 18:51 
QuestionWPF Rotate transform issue Pin
Shane555513-May-10 5:20
Shane555513-May-10 5:20 
AnswerRe: WPF Rotate transform issue Pin
Insincere Dave13-May-10 6:07
Insincere Dave13-May-10 6:07 
GeneralRe: WPF Rotate transform issue Pin
Shane555513-May-10 6:15
Shane555513-May-10 6:15 
QuestionWPF for Pipe networks Pin
Dimitris Nemtsov13-May-10 3:21
Dimitris Nemtsov13-May-10 3:21 
QuestionTexBlock Size [SOLVED!] Pin
#realJSOP13-May-10 2:51
professional#realJSOP13-May-10 2:51 
QuestionWPF cascaded combo Pin
bindum3112-May-10 20:22
bindum3112-May-10 20:22 
Hi,
I am using LINQ to SQL and MVVM pattern in my application where i am retrieving
my data by the following query:

internal ObservableCollection<INVCategory> GetCategoryList()
{
     DataLoadOptions dataLoadOptions = new DataLoadOptions();
     dataLoadOptions.LoadWith<INVCategory>(t => t.INVSubCategories);
     this.Context.LoadOptions = dataLoadOptions;

     var categories = from category in this.Context.INVCategories
                      orderby category.CatgeoryId descending
                      select category;
     return new ObservableCollection<INVCategory>(categories.ToList());
}


And my XAML code for parent(Category) combo is:

<ComboBox Grid.Column="1" Grid.Row="0" HorizontalAlignment="Stretch"                           VerticalAlignment="Stretch" Margin="0,2,10,2" TabIndex="0" x:Name="categoryComboBox"      
ItemsSource="{Binding CategoryList}" IsEditable="True" DisplayMemberPath="CategoryName"  SelectedValuePath="CatgeoryId" SelectedItem="{Binding CategoryList, Mode=TwoWay}" SelectedValue="{Binding Path=CurrentEntity.CategoryId, Mode=TwoWay}" >
</ComboBox>


for child(Subcategory) combo i am using:

<ComboBox Grid.Column="1" Grid.Row="1" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="0,2,10,2" TabIndex="1"
ItemsSource="{Binding SelectedItem, ElementName=categoryComboBox, Mode=OneWay}" 
DisplayMemberPath="SubCategoryName" SelectedValuePath="SubCategoryId"
SelectedItem="{Binding INVSubCategories, Mode=TwoWay}">
</ComboBox>


But my child combo items is not populated during form loading as well as parent combo's
selection changed though my parent combo items are populated.
i can't figure out why my child combo is not functioning based on parent combo's
selected item ,please help me.
AnswerRe: WPF cascaded combo Pin
Venkatesh Mookkan12-May-10 22:41
Venkatesh Mookkan12-May-10 22:41 
GeneralRe: WPF cascaded combo Pin
bindum3112-May-10 23:30
bindum3112-May-10 23:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.