Click here to Skip to main content
15,914,905 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Does Anyone Feel Like an Adventure? Pin
Abhinav S24-Jun-10 4:16
Abhinav S24-Jun-10 4:16 
GeneralRe: Does Anyone Feel Like an Adventure? Pin
#realJSOP24-Jun-10 6:36
professional#realJSOP24-Jun-10 6:36 
GeneralRe: Does Anyone Feel Like an Adventure? Pin
#realJSOP25-Jun-10 9:22
professional#realJSOP25-Jun-10 9:22 
GeneralRe: Does Anyone Feel Like an Adventure? Pin
Abhinav S25-Jun-10 17:20
Abhinav S25-Jun-10 17:20 
QuestionHow to : textbox got focus, label is be bigger Pin
milica121-Jun-10 23:35
milica121-Jun-10 23:35 
AnswerRe: How to : textbox got focus, label is be bigger Pin
Michael Eber22-Jun-10 6:06
Michael Eber22-Jun-10 6:06 
GeneralRe: How to : textbox got focus, label is be bigger Pin
milica122-Jun-10 21:04
milica122-Jun-10 21:04 
GeneralRe: How to : textbox got focus, label is be bigger Pin
Venkatesh Mookkan22-Jun-10 23:06
Venkatesh Mookkan22-Jun-10 23:06 
GeneralRe: How to : textbox got focus, label is be bigger Pin
Pete O'Hanlon23-Jun-10 1:29
mvePete O'Hanlon23-Jun-10 1:29 
Questionsilverlight, wcf and nhibernate Pin
ctlqt1221-Jun-10 21:43
ctlqt1221-Jun-10 21:43 
QuestionWPF: Drawing a line with animation Pin
Prasoon Chaudhary21-Jun-10 20:21
Prasoon Chaudhary21-Jun-10 20:21 
QuestionWCF Chart: how to have fixed axis labels with mutliple LineSeries objects Pin
Michael Eber21-Jun-10 13:25
Michael Eber21-Jun-10 13:25 
QuestionReferenced column not binding Pin
RB@Emphasys21-Jun-10 7:56
RB@Emphasys21-Jun-10 7:56 
QuestionGraph Control in WPF Pin
arun_pk20-Jun-10 23:45
arun_pk20-Jun-10 23:45 
AnswerRe: Graph Control in WPF Pin
Michael Eber22-Jun-10 6:10
Michael Eber22-Jun-10 6:10 
QuestionSilverlight Toolkit Charting Question [SOLVED] Pin
#realJSOP18-Jun-10 12:44
professional#realJSOP18-Jun-10 12:44 
QuestionWPF: Get offical height by auto-height Pin
tcs-198618-Jun-10 10:51
tcs-198618-Jun-10 10:51 
AnswerRe: WPF: Get offical height by auto-height Pin
Abhinav S19-Jun-10 6:56
Abhinav S19-Jun-10 6:56 
Questionsilverlight web text editor Pin
I_risho18-Jun-10 0:04
I_risho18-Jun-10 0:04 
AnswerRe: silverlight web text editor Pin
Abhinav S19-Jun-10 6:52
Abhinav S19-Jun-10 6:52 
QuestionDataGrid hides Elements Pin
danieln5516-Jun-10 23:54
danieln5516-Jun-10 23:54 
Hi together,

I use the DataGrid-Control to display the content of the ObservableCollection<Node> CriteriaNodes, where the class "Node" contains some properties such as Title, Description, Value, etc.

When I run the project, the ObservableCollection is filled with 13 Node-Objects and, afterward, the Binding is set with
MyNodeGrid.ItemsSource = CriteriaNodes;

The loaded DataGrid now shows only the column-headers of the Node-Objects. When I create new Nodes at runtime, they are added BELOW 13 lines of free space in the DataGrid! When I order alphabetically, I can see some of my initialized 13 Nodes in those new lines.

I don't understand this strange behavior and would be grateful for help. Below is the constructor of the Code-Behind-class.

Daniel


public partial class RetrievingControl : UserControl
{
    BusinessMain MyBusinessMain;

    public ObservableCollection<Node> CriteriaNodes { get; set; }
    public ObservableCollection<Node> AlternativeNodes { get; set; }
    public ObservableCollection<Node> StakeholderNodes { get; set; }

    public RetrievingControl(BusinessMain pBusinessMain)
    {
        MyBusinessMain = pBusinessMain;

        CriteriaNodes = MyBusinessMain.CurrentProject.CriteriaNodes;
        AlternativeNodes = MyBusinessMain.CurrentProject.AlternativeNodes;
        StakeholderNodes = MyBusinessMain.CurrentProject.StakeholderNodes;

        InitializeComponent();
        MyNodeGrid.ItemsSource = CriteriaNodes;
    }

.. and the XAML-Part:

...
xmlns:data="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data"
...
<data:DataGrid x:Name="MyNodeGrid" AutoGenerateColumns="True" </data:DataGrid> 
...         

Questionhow to resolve this pop up Error saying :'this._postBackSettings.async' is null or not an object. Pin
Ch.Gayatri Subudhi16-Jun-10 18:06
Ch.Gayatri Subudhi16-Jun-10 18:06 
AnswerRe: how to resolve this pop up Error saying :'this._postBackSettings.async' is null or not an object. Pin
Abhinav S16-Jun-10 18:23
Abhinav S16-Jun-10 18:23 
AnswerRe: how to resolve this pop up Error saying :'this._postBackSettings.async' is null or not an object. Pin
Ch.Gayatri Subudhi16-Jun-10 18:30
Ch.Gayatri Subudhi16-Jun-10 18:30 
QuestionReportDataSource name and value using WPF Pin
NCZIMM16-Jun-10 12:14
NCZIMM16-Jun-10 12:14 

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.