In ObjectDataSource my checkbox is always ignored. My update method always receives NULL. What am I doing wrong here?
Thanks.
<asp:CheckBox ID="CheckBoxSort" runat="server" Checked="true" />
CheckBox is on its own. It is not contained in any other .net controls. ....
<asp:ObjectDataSource ID="odsProfileItems" runat="server" SelectMethod="GetProfileItemsForCategory" TypeName="Valero.WEB.BO.StoreProfile.ProfileItemService" UpdateMethod="UpdateProfileItem">
<SelectParameters>
<asp:Parameter Name="CategoryID" Type="Int32" />
</SelectParameters>
<UpdateParameters>
<asp:ControlParameter Name="IsSorting" ControlID="CheckBoxSort" PropertyName="Checked" />
</UpdateParameters>
</asp:ObjectDataSource>