473,387 Members | 1,532 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

XAML - WindowsFormsHost : Grid has invalid child

Hi,

I tried to add a wmp to XAML via WindowsFormsHost and when compiling,
i got an error message telling that "Grid has an invalid child". I did
use the namespaces etc. The same error occurs with the exemple
included in the windows vista sdk (HostingWfInWpf) !!! Is it a kind of
a bug ? I know this can be achieved in C#, but i want it done in
xaml...

Thanks for any help !
Feb 8 '07 #1
1 2624
"jide" <jd@e-novations.frwrote in message news:45**********************@news.free.fr...
Hi,

I tried to add a wmp to XAML via WindowsFormsHost and when compiling,
i got an error message telling that "Grid has an invalid child". I did
use the namespaces etc. The same error occurs with the exemple
included in the windows vista sdk (HostingWfInWpf) !!! Is it a kind of
a bug ? I know this can be achieved in C#, but i want it done in
xaml...

Thanks for any help !

Please post XAML, WPF, WCF and WF questions to the msdn forums:

http://forums.microsoft.com/MSDN/def...D=153&SiteID=1

Willy.

Feb 8 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: muesliflakes | last post by:
I have a Data Set with parent / child related tables and wish to show the parent rows in one data grid and the child rows in another data grid. The problem is that the parent datagrid has the...
4
by: Thilaka | last post by:
Hi guys, Recently i read some articles on Longhorn & XAML. & From what i learnt the future for developing UIs lies in XAML. Does this mean that I've got to learn XAML as developing UIs for web...
4
by: Robert Bravery | last post by:
Hi all, I have now correctly set up my dataset and two grids, so that the parent navigates the child. THe thing is that the child table is actually a lookup type table. It lists billing types for...
7
by: moondaddy | last post by:
I have WPF window and a grid. The grid has several columns and rows. How do I add an object to a specific row and column of the gird using c#? If I use: myGrid.Children.Add(dg); then dg...
2
by: tarinip | last post by:
Hi, How to call a javascript method from XAML. I am using C# . In the following example, When I click button1, I wish to call a method by name "SetValue(somevalue)" of TestIndex.html file....
0
by: yogarajan | last post by:
Hi all, I need to display two sets of records. The second one should come under the first set of records and also second one uses the first one's unique id. for example, First table values id ...
4
by: =?Utf-8?B?QkJN?= | last post by:
Hi, I have this xaml code that I'm trying to use in a Window... <ListBox xmlns:sys="clr-namespace:System;assembly=mscorlib" Grid.Column="2" Grid.RowSpan="2"> <Button>Click for a...
9
by: star-italia | last post by:
Hi, I have a big problem: I am developing a WPF application on Windows Vista SP1 Based on the .NET Framework 3.5 and WPF. In my application I use a WIndowsFormsHost to (of course) host a...
1
by: DeanB | last post by:
Please excuse my ignorance here as I have not used WPF for long, but what is the statement that tells what the "local:" identifier is that allows a window event to call a function in a .cs file? ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.