Using of two grid's in a user control
-
Thursday, April 26, 2012 1:06 AM
Hi,
Can't i use two grid's in a usercontrol?
When i try to add a second grid in a usercontrol, its showing the following error:
"The Property content is set more than once"
Thanks.
All Replies
-
Thursday, April 26, 2012 1:15 AM
Hi Krishna,
try this. You just need to nest them inseide another grid
<Grid >
<Grid x:Name="grid1" />
<Grid x:Name="grid2" />
</Grid>
Hope it Helps

-
Thursday, April 26, 2012 1:51 AM
Can't i use two grid's in a usercontrol?
Yes you can add any number of grid insidea grid, Which third party control are you using, i know silverlight grid does not have content property.
let me know the details.
-
Friday, April 27, 2012 5:44 AM
Thank you guys for the reply.
I just created a silverlight application and tried to create two grid's in a usercontrol and it showed the error.
Thanks.
-
Friday, April 27, 2012 11:46 AM
I just created a silverlight application and tried to create two grid's in a usercontrol and it showed the error.
how is your issue going on and if possible post the code here.

