wessamzeidan Posted May 17, 2004 Posted May 17, 2004 Hi, I'm doing a webusercontrol that extends the imagebutton control. I've added a property called OverImageURL which I use to specify the rollover image of the control. In the ImageURL control, you can use some sort of file browser to choose your image, how can I use that same browser in my OverImageURL property?? Quote Proudly a Palestinian Microsoft ASP.NET MVP My Blog: wessamzeidan.net
*Gurus* Derek Stone Posted May 18, 2004 *Gurus* Posted May 18, 2004 If you define the property as an image type, such as System.Drawing.Bitmap, Visual Studio .NET will configure the "Properties" window to display a file dialog. I assume that's what you're referring to. Quote Posting Guidelines
wessamzeidan Posted May 18, 2004 Author Posted May 18, 2004 Can you do that? Its an ImageButton and the property should be an image url, just like the ImageURL Property. Any way I've solved it, I found it here http://www.codeproject.com/aspnet/cliche_rollovers.asp thanks alot Quote Proudly a Palestinian Microsoft ASP.NET MVP My Blog: wessamzeidan.net
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.