<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-1705051721030116110.post7918647917596737684..comments</id><updated>2011-07-25T07:19:06.248-07:00</updated><category term='Front Page Server Extensions'/><category term='Recommended Reading'/><category term='Add-ons'/><category term='Multiline textbox'/><category term='MS Dynamics CRM'/><category term='multiline'/><category term='SharePoint'/><category term='Twitter Greasmonkey JavaScript'/><category term='How to'/><category term='Workflow'/><category term='SIC'/><category term='RPC'/><category term='Long Running Job'/><category term='API'/><category term='Error Handling'/><category term='text box'/><category term='textbox'/><category term='multi-line'/><category term='c#'/><category term='HK-RCA 2009'/><category term='Progress Page'/><category term='Upload files'/><category term='picklist'/><category term='MOSS'/><category term='Lists web service'/><category term='Browser-enabled forms'/><category term='NAICS'/><category term='Multi-line text box'/><category term='KB931426 Workaround'/><category term='InfoPath'/><category term='Impersonation'/><title type='text'>Comments on Development Hole: Using a ControlClass to render an EditControlBlock...</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://geek.hubkey.com/feeds/7918647917596737684/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1705051721030116110/7918647917596737684/comments/default'/><link rel='alternate' type='text/html' href='http://geek.hubkey.com/2007/09/using-controlclass-to-render.html'/><author><name>txs8311</name><uri>http://www.blogger.com/profile/07046898420109468604</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1705051721030116110.post-4909743216499538493</id><published>2008-02-26T07:07:00.000-08:00</published><updated>2008-02-26T07:07:00.000-08:00</updated><title type='text'>No, sorry. Try debugging the page on the client br...</title><content type='html'>No, sorry. Try debugging the page on the client browser (e.g. Script Debugger/Break at Next Statement - or change the URL to URL="javascript:debugger;__doPostBack etc) to make sure that the URL is correct and that the post back function is being called with the correct values. On the server, try making sure that the WebControl feature is loading by setting a break point in the OnLoad event - this should fire every time the page is refreshed - something you've probably tried.&lt;BR/&gt;&lt;BR/&gt;The only other thing I could think of is if you've specified specific &lt;A HREF="http://msdn2.microsoft.com/en-us/library/ms460194.aspx" REL="nofollow"&gt;rights&lt;/A&gt; in the Custom action - seems unlikely though.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1705051721030116110/7918647917596737684/comments/default/4909743216499538493'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1705051721030116110/7918647917596737684/comments/default/4909743216499538493'/><link rel='alternate' type='text/html' href='http://geek.hubkey.com/2007/09/using-controlclass-to-render.html?showComment=1204038420000#c4909743216499538493' title=''/><author><name>txs8311</name><uri>http://www.blogger.com/profile/07046898420109468604</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://geek.hubkey.com/2007/09/using-controlclass-to-render.html' ref='tag:blogger.com,1999:blog-1705051721030116110.post-7918647917596737684' source='http://www.blogger.com/feeds/1705051721030116110/posts/default/7918647917596737684' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1014719260'/></entry><entry><id>tag:blogger.com,1999:blog-1705051721030116110.post-5816242770439645963</id><published>2008-02-26T04:05:00.000-08:00</published><updated>2008-02-26T04:05:00.000-08:00</updated><title type='text'>Hello,&lt;br&gt;&lt;br&gt;I tried your workaround and it works...</title><content type='html'>Hello,&lt;BR/&gt;&lt;BR/&gt;I tried your workaround and it works fine as long as I'm connected with a site collection admin account. Any other type of account (visitor, member, owner) will cause the assembly not to be called by the custom action. I don't find anything in the log files nor in the event log although I've configured the event throttling to catch any kind of event.&lt;BR/&gt;&lt;BR/&gt;Any idea of why this behavior?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1705051721030116110/7918647917596737684/comments/default/5816242770439645963'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1705051721030116110/7918647917596737684/comments/default/5816242770439645963'/><link rel='alternate' type='text/html' href='http://geek.hubkey.com/2007/09/using-controlclass-to-render.html?showComment=1204027500000#c5816242770439645963' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://geek.hubkey.com/2007/09/using-controlclass-to-render.html' ref='tag:blogger.com,1999:blog-1705051721030116110.post-7918647917596737684' source='http://www.blogger.com/feeds/1705051721030116110/posts/default/7918647917596737684' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1335908497'/></entry><entry><id>tag:blogger.com,1999:blog-1705051721030116110.post-7544232216459371596</id><published>2007-11-26T15:42:00.000-08:00</published><updated>2007-11-26T15:42:00.000-08:00</updated><title type='text'>If you're unable to debug the control at all, it's...</title><content type='html'>If you're unable to debug the control at all, it's likely that the assembly to render your webcontrol is not getting loaded by w3wp.exe in the first place. Try looking in the WSS diagnostic trace log (after first making sure that the event throttling for the General event category is set appropriately low).</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1705051721030116110/7918647917596737684/comments/default/7544232216459371596'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1705051721030116110/7918647917596737684/comments/default/7544232216459371596'/><link rel='alternate' type='text/html' href='http://geek.hubkey.com/2007/09/using-controlclass-to-render.html?showComment=1196120520000#c7544232216459371596' title=''/><author><name>txs8311</name><uri>http://www.blogger.com/profile/07046898420109468604</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://geek.hubkey.com/2007/09/using-controlclass-to-render.html' ref='tag:blogger.com,1999:blog-1705051721030116110.post-7918647917596737684' source='http://www.blogger.com/feeds/1705051721030116110/posts/default/7918647917596737684' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1014719260'/></entry><entry><id>tag:blogger.com,1999:blog-1705051721030116110.post-6207433346182590496</id><published>2007-11-26T15:19:00.000-08:00</published><updated>2007-11-26T15:19:00.000-08:00</updated><title type='text'>I was trying to create a project using some of ur ...</title><content type='html'>I was trying to create a project using some of ur ideas but failed. Can u help me? I want to add "Menu items" to ECB directly from pocedure, but every time after the reset of iis i get just one menu item.&lt;BR/&gt;&lt;BR/&gt;CustomAction&lt;BR/&gt;       Id="ActionsMenuCustomizer"&lt;BR/&gt;       RegistrationType="List"&lt;BR/&gt;       RegistrationId="101"&lt;BR/&gt;       Location="EditControlBlock" &lt;BR/&gt;        Title="ECB"&lt;BR/&gt;        Description=""&lt;BR/&gt;        ShowInLists="TRUE"&lt;BR/&gt;       ControlAssembly="ECB, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0069b41c8e674243"&lt;BR/&gt;       ControlClass="ECB.ECBWebControl"&lt;BR/&gt;    UrlAction Url="javascript:__doPostBack('MyEventTarget', {ItemId});"&lt;BR/&gt;  CustomAction&lt;BR/&gt;&lt;BR/&gt;        protected override void OnLoad(EventArgs e)&lt;BR/&gt;        {&lt;BR/&gt;            this.EnsureChildControls();&lt;BR/&gt;            base.OnLoad(e);&lt;BR/&gt;&lt;BR/&gt;            if (this.Page.Request["__EVENTTARGET"] == "MyEventTarget")&lt;BR/&gt;            {&lt;BR/&gt;                int itemId = Convert.ToInt32(this.Page.Request["__EVENTARGUMENT"]);&lt;BR/&gt;            }&lt;BR/&gt;            else { Microsoft.SharePoint.Utilities.SPUtility.Redirect(@"http://www.google.com" , Microsoft.SharePoint.Utilities.SPRedirectFlags.Default, System.Web.HttpContext.Current); }&lt;BR/&gt;        }&lt;BR/&gt;&lt;BR/&gt;        protected override void CreateChildControls()&lt;BR/&gt;        {&lt;BR/&gt;            SPListItem _currentItem = SPContext.Current.ListItem;&lt;BR/&gt;&lt;BR/&gt;            MenuItemTemplate deleteListItem = new MenuItemTemplate();&lt;BR/&gt;            deleteListItem.ID = @"deleteListItem";&lt;BR/&gt;            deleteListItem.Title = @"Delete Item";&lt;BR/&gt;            deleteListItem.ClientOnClickNavigateUrl = @"www.google.com";&lt;BR/&gt;            deleteListItem.Sequence = 401;&lt;BR/&gt;            this.Controls.Add(deleteListItem);&lt;BR/&gt;&lt;BR/&gt;            this.Page.Controls.Add(deleteListItem);&lt;BR/&gt;            base.CreateChildControls(); &lt;BR/&gt;        }</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1705051721030116110/7918647917596737684/comments/default/6207433346182590496'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1705051721030116110/7918647917596737684/comments/default/6207433346182590496'/><link rel='alternate' type='text/html' href='http://geek.hubkey.com/2007/09/using-controlclass-to-render.html?showComment=1196119140000#c6207433346182590496' title=''/><author><name>Udalov Alex</name><uri>http://www.blogger.com/profile/03225541523537122466</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://geek.hubkey.com/2007/09/using-controlclass-to-render.html' ref='tag:blogger.com,1999:blog-1705051721030116110.post-7918647917596737684' source='http://www.blogger.com/feeds/1705051721030116110/posts/default/7918647917596737684' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-716767711'/></entry></feed>
