What I think you're missing is, before you call Grid.SetColumn(lbl1, 0), you need to make lbl1 a child of grid1- in other words, call

temp.Children.Add(lbl1) |> ignore

before

Grid.SetColumn(lbl1, 0)

and do the same thing for txt2.

(And then you'll probably do the reverse when you add grid1 to grid, since it looks like you plan to add another Grid to the second row in grid. You have the child relationship set up, but no row is set.)

By on 2/17/2009 3:20 PM ()

Thank-you!

By on 2/18/2009 5:35 AM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper