Click here to Skip to main content
15,903,388 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Binding a DataSet to a ListBox in a WPF XBAP application Pin
Dharmesh4U16-Mar-09 4:12
Dharmesh4U16-Mar-09 4:12 
AnswerRe: Binding a DataSet to a ListBox in a WPF XBAP application Pin
RugbyLeague16-Mar-09 4:41
RugbyLeague16-Mar-09 4:41 
QuestionAny body helpme Pin
anishkannan13-Mar-09 19:49
anishkannan13-Mar-09 19:49 
AnswerRe: Any body helpme Pin
ABitSmart13-Mar-09 23:59
ABitSmart13-Mar-09 23:59 
AnswerRe: Any body helpme Pin
Mark Salsbery14-Mar-09 7:05
Mark Salsbery14-Mar-09 7:05 
QuestionWPF Custom Control with a Combo Box Pin
scarfinv13-Mar-09 18:05
scarfinv13-Mar-09 18:05 
AnswerRe: WPF Custom Control with a Combo Box Pin
ABitSmart14-Mar-09 1:41
ABitSmart14-Mar-09 1:41 
GeneralRe: WPF Custom Control with a Combo Box Pin
scarfinv14-Mar-09 5:03
scarfinv14-Mar-09 5:03 
I tried that, but I get this error:

'DataTrigger' object cannot be added to 'ComboBox'. Operation is not valid while ItemSource is in use. Access and modify elements with ItemsControl.ItemSource instead.

This is likely because my current Control Template combobox section looks as follows:

<ComboBox ItemsSource="{Binding Path=DistrictList,RelativeSource={RelativeSource TemplatedParent}}"></ComboBox>

So, I understand what you're suggesting, but I'm not quite sure how I should be coding the xaml to achieve that?

Also, for my own understanding, I'd appreciate an explanation from someone as to why setting the IsEditable property in my CodeBehind doesn't work.
GeneralRe: WPF Custom Control with a Combo Box Pin
scarfinv16-Mar-09 7:43
scarfinv16-Mar-09 7:43 
QuestionConnecting to SQL Server database in XBAP application [modified] Pin
Neeraj Kr13-Mar-09 5:10
Neeraj Kr13-Mar-09 5:10 
AnswerRe: Connecting to SQL Server database in XBAP application Pin
ABitSmart13-Mar-09 6:12
ABitSmart13-Mar-09 6:12 
GeneralRe: Connecting to SQL Server database in XBAP application Pin
Neeraj Kr13-Mar-09 7:14
Neeraj Kr13-Mar-09 7:14 
GeneralRe: Connecting to SQL Server database in XBAP application Pin
ABitSmart13-Mar-09 7:17
ABitSmart13-Mar-09 7:17 
GeneralRe: Connecting to SQL Server database in XBAP application Pin
Neeraj Kr13-Mar-09 7:34
Neeraj Kr13-Mar-09 7:34 
AnswerRe: Connecting to SQL Server database in XBAP application Pin
Eslam Afifi13-Mar-09 6:17
Eslam Afifi13-Mar-09 6:17 
GeneralRe: Connecting to SQL Server database in XBAP application Pin
Neeraj Kr13-Mar-09 7:12
Neeraj Kr13-Mar-09 7:12 
QuestionRe: Connecting to SQL Server database in XBAP application Pin
Eslam Afifi13-Mar-09 8:40
Eslam Afifi13-Mar-09 8:40 
AnswerRe: Connecting to SQL Server database in XBAP application Pin
Neeraj Kr13-Mar-09 8:44
Neeraj Kr13-Mar-09 8:44 
QuestionRe: Connecting to SQL Server database in XBAP application Pin
Eslam Afifi13-Mar-09 8:48
Eslam Afifi13-Mar-09 8:48 
QuestionDouble Animation Hell Pin
emptythetill13-Mar-09 2:55
emptythetill13-Mar-09 2:55 
AnswerRe: Double Animation Hell Pin
Insincere Dave13-Mar-09 8:06
Insincere Dave13-Mar-09 8:06 
GeneralRe: Double Animation Hell Pin
emptythetill14-Mar-09 5:21
emptythetill14-Mar-09 5:21 
QuestionHow to load only needed images? Pin
S.a.n.4.e.s12-Mar-09 7:35
S.a.n.4.e.s12-Mar-09 7:35 
AnswerRe: How to load only needed images? Pin
Eslam Afifi12-Mar-09 12:27
Eslam Afifi12-Mar-09 12:27 
GeneralRe: How to load only needed images? Pin
S.a.n.4.e.s12-Mar-09 19:18
S.a.n.4.e.s12-Mar-09 19:18 

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.