View Single Post
  #1 (permalink)  
Old April 12th, 2006, 09:55 AM
mehdi_tn mehdi_tn is offline
Registered User
 
Join Date: Apr 2006
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Building composite Control with Image + DDL

 Hi Everybody and thanks for this forum,

I'm building a composite control that contains an Image and a dropdownlist. The image is independent from the list values. All I want to do is to bind my drop down list to a datasource and affect aa picture to my image Control, I read many articles and I think my control should extend the CompositeDataBoundControl class (maybe I'm wrong),

I'm blocked on overriding this method :

protected override int CreateChildControls(System.Collections.IEnumerable dataSource, bool dataBinding)



My control is not shown on my page and I didnt succed to bind my list to a datasource :(

I really need help thanks in advance