Governor Technology Blog

Blog image

05 February 2009 by Administrator

ControlParameter supports “__Page” as ControlId, but not “__UserControl”

If you’ve worked with ObjectDataSource parameters, you may know you can bind parameter values to properties of the current page. You may have also found that when the data source is declared inside a user control, there’s no mechanism for finding property values inside that control. Below we look at the background behind this, and present two possible solutions.

This post has 3 Comment(s)