G
Guest
I'm building some user controls. I very much like how you can build custom
properties to be bound to a user control, and how instances of that control
will show those custom properties in the VS.NET IDE.
I've made a user control -- let's call it MyUserControl.ascx -- with a
DataGrid and an SqlDataSource. The SqlDataSource that loads content by
categoryID.
I've defined a property on MyUserControl.ascx called ContentCategoryID.
I want custom property ContentCategoryID to be the parameter that filters
SqlDataSource. Can anyone tell me what is the cleanest/best way to do this?
Thanks,
-KF
properties to be bound to a user control, and how instances of that control
will show those custom properties in the VS.NET IDE.
I've made a user control -- let's call it MyUserControl.ascx -- with a
DataGrid and an SqlDataSource. The SqlDataSource that loads content by
categoryID.
I've defined a property on MyUserControl.ascx called ContentCategoryID.
I want custom property ContentCategoryID to be the parameter that filters
SqlDataSource. Can anyone tell me what is the cleanest/best way to do this?
Thanks,
-KF