View Single Post
Old March 7th, 2005, 04:34 PM
bmains bmains is offline
Friend of Wrox
Join Date: Jun 2003
Location: Harrisburg, PA, USA.
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default Posting data from Control to Page


I'm trying to post data from a user control to a page. I can access the data sure enough, but the problem I am now having is the fields are blank. I can't retrieve any of the fields defined in the user control in the posted to page. To give you a scenario, I have two pages search.aspx and view.aspx, which both post to searchresults.aspx. view.aspx has a user control that posts the user control data to searchresults.aspx page using PostBackUrl.

So it posts back to the page fine, but IsCrossPagePosted is false and there isn't any fields in the control.

Any ideas? Thanks,