Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Custom Web Control Property Designer

Reply
Thread Tools

Custom Web Control Property Designer

 
 
Craig
Guest
Posts: n/a
 
      01-14-2004
Hi

I am creating a web control and was wondering how I have have a public
control property that display the eclipse button (the 3 dots ...) to allow
for a file dialog to appear. Just like the ImnageUrl property in the Image
web control.

Regards
Craig


 
Reply With Quote
 
 
 
 
Alessandro Zifiglio
Guest
Posts: n/a
 
      01-14-2004
hi craig,
Property editing in the property browser can be done in one of three ways.
First, the property can be edited as a string in place, and TypeConverters
can do the job of converting that value to and from a string (if needed).
Second, a drop-down arrow can cause editing UI to be displayed below the
property. Finally, an ellipsis button can open some other method of custom
UI such as a file dialog or font picker. We have already covered string
editing, so first we will look at the case of a drop-down editor.

For a complete discussions covering most of these techniques, refer to the
link.
http://msdn.microsoft.com/library/de...etpropbrow.asp


"Craig" <> wrote in message
news:...
> Hi
>
> I am creating a web control and was wondering how I have have a public
> control property that display the eclipse button (the 3 dots ...) to allow
> for a file dialog to appear. Just like the ImnageUrl property in the

Image
> web control.
>
> Regards
> Craig
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Designer Property Serialization -- Sycning inner properties to designer property window Alexander Higgins ASP .Net Building Controls 3 07-30-2007 09:09 PM
Designer Property Serialization -- Sycning inner properties to designer property window Alexander Higgins ASP .Net Web Controls 0 07-21-2007 12:58 AM
Sharepoint Designer/ Expression Web Designer : adding item in toolbox ? Steve B. ASP .Net 4 06-01-2007 04:29 AM
How do I get a custom Control Designer to write to the HTML of my control? Don ASP .Net Building Controls 1 07-18-2005 11:16 PM
Problems of Defining an Expandable Property for a Web Control in the Designer. Laser Lu ASP .Net Web Controls 1 06-04-2004 02:26 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57