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)


27 January 2009 by Administrator

Binding Multiple Fields to RadioButtonList Item Text

The Asp.Net RadioButtonList is a databound control which displays items as a mutually exclusive set of options in a Web Form. The data which is bound to the label part of each option can be formatted using a format string, but only a single field can be bound to the label. This post shows an implementation which allows multiple fields to be bound to the item labels.

This post has 0 Comment(s)