Victor,
Your help has been invaluable to me ... I've just gone out and purchased
Kothari and Datye book, and at first glance it seems very impressive. Some
of the reviews on the other book at Amazon were a little less kind.
Unfortunately, purchasing from Amazon isn't a good option for me in
Australia because even though the books are cheaper, the freight costs are
the killer, and the delays involved are frustrating.
One quick question. If I continue down the path I am, and come up with what
I consider to be a useful ASP.NET custom control, are there any significant
disadvantages to continuing developing it in VB.NET instead of C#? From my
brief reading of the Kothari book's introduction, he suggests that there
aren't any significant differences. What's your opinion?
And what about issues of code obfuscation? For a commercially released
ASP.NET custom control, would you consider obfuscation to be important?
I hope I'm not taking too much of your time. Once again, thank you for your
invaluable help.
Regards,
Trevor Andrew
Victor Garcia Aprea said:
You will need to add a reference to the "System.Design.dll" assembly to your
project (Solution Explorer->References->Add References). That should do it.
--
Victor Garcia Aprea
Microsoft MVP | ASP.NET
Looking for insights on ASP.NET? Read my blog:
http://obies.com/vga/blog.aspx
To contact me remove 'NOSPAM'. Please post all questions to the newsgroup
and not by private mail.
find
http://www.amazon.com/exec/obidos/A...-/1861005644/laplatayacom/104-7550369-4522300
I've read the first one and its very recommendable. I've not read the
second
one but I've worked as a reviewer for a few of its chapters and they're
top
quality. Plus, Daniel Cazzulino really knows his stuff.
--
Victor Garcia Aprea
Microsoft MVP | ASP.NET
Looking for insights on ASP.NET? Read my blog:
http://obies.com/vga/blog.aspx
To contact me remove 'NOSPAM'. Please post all questions to the newsgroup
and not by private mail.
Hi Victor,
Thank you so much for your very prompt response on this question!
Should I have been able to find that out for myself? What books /
documentation do you recommend for gaining a deeper understanding
of
the
issues associated with web custom control development?
Once again, Thank You very much,
Trevor Andrew
Hi Trevor,
DocumentSource uses the XmlUrlEditor and TransformSource uses the
XslUrlEditor, both types are found in the System.Web.UI.Design
namespace.
You need to use the EditorAttribute metadata attribute to assign an
editor
to your property, ie:
[C#]
[Editor(typeof(System.Web.UI.Design.XmlUrlEditor),typeof(System.Drawing.Desi
gn.UITypeEditor))]
public String YourProperty
--
Victor Garcia Aprea
Microsoft MVP | ASP.NET
Looking for insights on ASP.NET? Read my blog:
http://obies.com/vga/blog.aspx
To contact me remove 'NOSPAM'. Please post all questions to the
newsgroup
and not by private mail.
Hi There,
I am developing a custom control which has a property that
represents
a
file
within the current web application (an XML file as it turns
out).
I
would
like the property grid builder button to invoke the same sort of
editor
as
used by the standard XML web form control properties DocumentSource
and
TransformSource.
I suspect I have to set the Editor attribute of my control's
property
to
a
certain value, but I don't know what. Can someone assist?
Additionally, can someone point me in the direction of documentation
from
which I should have been able to deduce this myself?
Thanks in Advance,
Trevor Andrew