Hi Luke,
Sorry for not getting back to you on this, other thing got in the way (don't
they always).
I am not sure if I am just being dumb or you misunderstood what I wanted to
do, the URL you gave me seem to be instruction on how to wire
editors/designers to the main instance of the property grid that appears
when the control is selected on the design surface, I already have all this
working well, when selecting a URL property the little button appears and
invokes the UrlEditor, example of my OnCancelURL property:
[
Bindable(true),
Category("Cart URLs"),
Browsable(true),
Editor(typeof(UrlEditor),
typeof(UITypeEditor))
]
public string OnCancelURL
{
get{return i_OnCancelURL;}
set{i_OnCancelURL = value;}
}
Like I said, this works fine on the main property grid, my problem is that I
am also using component editor (Property Builder) for the control, so just a
DataGrid control you can right click my control and select "Property
Builder" to open a windows form to allow more convenient editing of the
control properties. the main problem is how can I add a button next to the
text field thats tied to my OnCancelURL property, the button should invoke
the UrlEditor dialog and insert the result into the text field?
It's probably possible but I am a relative beginner at implementing design
time functionality so it seems an impossible task to me at the moment.
Any advice is very much appreciated.
Thank you.
--
Kevin Marshall
WebXeL.com Ltd
http://www.webxel.com ASP.NET Dreamweaver Extensions
http://www.webxel-dw.co.uk [quoted text, click to view] "[MSFT]" <lukezhan@online.microsoft.com> wrote in message
news:0J3uKechEHA.648@cpmsftngxa10.phx.gbl...
> Hi Kevin,
>
> Did you still have any concerns on this issue? If so, please feel free to
> post here.
>
> Luke
>