<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Custom Server Controls</title><link>http://forums.asp.net/19.aspx</link><description>All about building ASP.NET server controls. &lt;a href="http://aspadvice.com/SignUp/list.aspx?l=12&amp;c=17" target="_blank"&gt;Email List&lt;/a&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Web User Control ImageUrlEditor Problem</title><link>http://forums.asp.net/thread/3259915.aspx</link><pubDate>Fri, 26 Jun 2009 11:08:41 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3259915</guid><dc:creator>vrharry</dc:creator><author>vrharry</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3259915.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=19&amp;PostID=3259915</wfw:commentRss><description>&lt;p&gt;hi&lt;/p&gt;
&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I am having the same problem. could you please explain how to go about it..&lt;/p&gt;
&lt;p&gt;thanks..&lt;/p&gt;
&lt;p&gt;Harry&lt;/p&gt;
&lt;p&gt;vrhari@air.org.in&lt;/p&gt;</description></item><item><title>Re: Web User Control ImageUrlEditor Problem</title><link>http://forums.asp.net/thread/1767159.aspx</link><pubDate>Fri, 22 Jun 2007 04:27:37 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1767159</guid><dc:creator>Nai-Dong Jin - MSFT</dc:creator><author>Nai-Dong Jin - MSFT</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1767159.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=19&amp;PostID=1767159</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It seems you&amp;#39;re trying to use the &amp;quot;UrlProperty&amp;quot; or &amp;quot;Editor&amp;quot; design-time attributes on an ASCX usercontrol to provide design-time Url editing functionality, these design-time properties(also the design-time services in IDE) is only appliable to custom web server control rather than ascx user controls. For ASCX usercontrols, they&amp;#39;re template based, the property and inner control should be edited inline in the ascx template (or in the aspx page&amp;#39;s inline template).&lt;/p&gt;
&lt;p&gt;Thanks.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Web User Control ImageUrlEditor Problem</title><link>http://forums.asp.net/thread/1762117.aspx</link><pubDate>Tue, 19 Jun 2007 19:05:26 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1762117</guid><dc:creator>oswaldorb</dc:creator><author>oswaldorb</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1762117.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=19&amp;PostID=1762117</wfw:commentRss><description>&lt;p&gt;Thanks for the answer but it did not work. I just did an example.. created my own UITypeEditor on winforms, used it on a user control.. added it to the form, and it&amp;#39;s working.. but I try to use this one on my Web User Control, and it just won&amp;#39;t work.. and it seems I&amp;#39;m the only one with the issue.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Any other ideas?&lt;/p&gt;</description></item><item><title>Re: Web User Control ImageUrlEditor Problem</title><link>http://forums.asp.net/thread/1761969.aspx</link><pubDate>Tue, 19 Jun 2007 17:35:23 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1761969</guid><dc:creator>mosessaur</dc:creator><author>mosessaur</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1761969.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=19&amp;PostID=1761969</wfw:commentRss><description>&lt;p&gt;Try to add this attribute [UrlProperty] in addition to the Editor property.&lt;br /&gt;[&lt;font color="#2b91af" size="2"&gt;Browsable&lt;/font&gt;&lt;font size="2"&gt;(&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;true&lt;/font&gt;&lt;font size="2"&gt;)]&lt;br /&gt;&lt;/font&gt;&lt;font size="2"&gt;[&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;Category&lt;/font&gt;&lt;font size="2"&gt;(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;MyConfiguration&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;)]&lt;br /&gt;&lt;/font&gt;&lt;font size="2"&gt;[&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;Editor&lt;/font&gt;&lt;font size="2"&gt;(&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;typeof&lt;/font&gt;&lt;font size="2"&gt;(&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;ImageUrlEditor&lt;/font&gt;&lt;font size="2"&gt;), &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;typeof&lt;/font&gt;&lt;font size="2"&gt;(&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;UITypeEditor&lt;/font&gt;&lt;font size="2"&gt;))]&lt;br /&gt;&lt;strong&gt;[&lt;/strong&gt;&lt;a class="" href="http://msdn2.microsoft.com/en-us/library/system.web.ui.urlpropertyattribute(vs.80).aspx" target="_blank"&gt;&lt;strong&gt;UrlProperty&lt;/strong&gt;&lt;/a&gt;&lt;strong&gt;]&lt;/strong&gt;&lt;br /&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;public&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;string&lt;/font&gt;&lt;font size="2"&gt; IconImageURL&lt;br /&gt;&lt;/font&gt;&lt;font size="2"&gt;{&lt;br /&gt;&amp;nbsp; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;get&lt;/font&gt;&lt;font size="2"&gt; { &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;return&lt;/font&gt;&lt;font size="2"&gt; _iconImageURL; }&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;br /&gt;&amp;nbsp; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;set&lt;/font&gt;&lt;font size="2"&gt; { _iconImageURL = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;value&lt;/font&gt;&lt;font size="2"&gt;; }&lt;br /&gt;}&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;Hope this would resolve your issue&lt;/p&gt;&lt;/font&gt;</description></item><item><title>Web User Control ImageUrlEditor Problem</title><link>http://forums.asp.net/thread/1760290.aspx</link><pubDate>Mon, 18 Jun 2007 20:50:44 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1760290</guid><dc:creator>oswaldorb</dc:creator><author>oswaldorb</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1760290.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=19&amp;PostID=1760290</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m writing a User Control. One of the properties that I have is a URL for an image. I&amp;#39;m using the ImageUrlEditor, so in design time the user could select the image, that will represent the URL. But it doesn&amp;#39;t show anything, I does not give me the option to select an image. So I guess I&amp;#39;m out of ideas at this point.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;This is the code I&amp;#39;m using:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;font size="2"&gt;
&lt;p&gt;[&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;Browsable&lt;/font&gt;&lt;font size="2"&gt;(&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;true&lt;/font&gt;&lt;font size="2"&gt;)]&lt;/font&gt;&lt;/p&gt;&lt;font size="2"&gt;[&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;Category&lt;/font&gt;&lt;font size="2"&gt;(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;MyConfiguration&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;)]&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;[&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;Editor&lt;/font&gt;&lt;font size="2"&gt;(&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;typeof&lt;/font&gt;&lt;font size="2"&gt;(&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;ImageUrlEditor&lt;/font&gt;&lt;font size="2"&gt;), &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;typeof&lt;/font&gt;&lt;font size="2"&gt;(&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;UITypeEditor&lt;/font&gt;&lt;font size="2"&gt;))]&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;public&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;string&lt;/font&gt;&lt;font size="2"&gt; IconImageURL&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;{&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;get&lt;/font&gt;&lt;font size="2"&gt; { &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;return&lt;/font&gt;&lt;font size="2"&gt; _iconImageURL; }&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;set&lt;/font&gt;&lt;font size="2"&gt; { _iconImageURL = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;value&lt;/font&gt;&lt;font size="2"&gt;; }&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;/font&gt;</description></item></channel></rss>