Man, still NO luck............ I dont know now... !I still get nulls, I mean I am puttting Firstnam, lastname, title on the fields, and hit insert link button, but nothing get posted
And I am using yuor code sample. I am using VS 2010 Premium
Problem was Page.DataBind(); that I was calling on Page_Load event of Site.Master.cs , I called it cause I am using ResolveUrl on my aspx of Site.Master. So it was preventing bindings on child pages.
Marked as answer by .NetBoy on Nov 21, 2012 04:08 AM
.NetBoy
Member
439 Points
116 Posts
Re: ObjectDataSource on FormView
Nov 20, 2012 06:50 AM|LINK
Man, still NO luck............ I dont know now... !I still get nulls, I mean I am puttting Firstnam, lastname, title on the fields, and hit insert link button, but nothing get posted
And I am using yuor code sample. I am using VS 2010 Premium
bhekister@gmail.com
Decker Dong ...
All-Star
118619 Points
18779 Posts
Re: ObjectDataSource on FormView
Nov 20, 2012 06:53 AM|LINK
Would you mind using hotmail, my mail has been junked by your google mail:(
.NetBoy
Member
439 Points
116 Posts
Re: ObjectDataSource on FormView
Nov 20, 2012 11:01 AM|LINK
If I use the sinngle page like in your sample code it does pass data
BUT - as I am using a page in a Master page it does not work!!
Why is that ?
bheki.nzuza@hotmail.com
Decker Dong ...
All-Star
118619 Points
18779 Posts
Re: ObjectDataSource on FormView
Nov 21, 2012 12:07 AM|LINK
Well……What do you mean by Master page?How did you code?Can you show us your aspx codes?
.NetBoy
Member
439 Points
116 Posts
Re: ObjectDataSource on FormView
Nov 21, 2012 04:07 AM|LINK
I finally managed to make it work.
Thanks a lot for your help.
Problem was Page.DataBind(); that I was calling on Page_Load event of Site.Master.cs , I called it cause I am using ResolveUrl on my aspx of Site.Master. So it was preventing bindings on child pages.