p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   ASP.NET 2.0 Professional (http://p2p.wrox.com/forumdisplay.php?f=215)
-   -   Building composite Control with Image + DDL (http://p2p.wrox.com/showthread.php?t=41190)

mehdi_tn April 12th, 2006 09:55 AM

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

jbenson001 April 12th, 2006 10:48 PM

cross post:
http://p2p.wrox.com/topic.asp?TOPIC_ID=42837



All times are GMT -4. The time now is 10:40 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.