Search

You searched for the word(s): userid:390058

Matching Posts

  • Free chapter on Web Part Connections available

    Hi all, A short announcement (and a little bit of a plug): I have written a small book on Web Parts and the Web Part Infrastructure in ASP.NET. From this book, the chapter on Web Part Connections is freely available as a PDF download from my website: http://www.teuntostring.net/webpartinfra/ Enjoy, Teun Duynstee PS. I hope this is not regarded as spamming. The book is hardly a commercial venture (although I hope people will buy a few copies). And the two sample chapters and the sample code are available
    Posted to Announcements (Forum) by TeunD on 5/31/2007
    Filed under: asp.net, WebPart
  • Re: copy webparts instead of move ?

    While not as easy as dragging: check this solution out: http://weblogs.asp.net/drnetjes/archive/2005/06/17/413518.aspx
    Posted to Web Parts and Personalization (Forum) by TeunD on 9/27/2006
  • Re: Disable Verbs

    I did a short write-up of my attempts to achieve what Zal asked for (which sounded perfectly reasonable to me). I would really appreciate it when someone from the ASP.NET team (Mike?) could respond to this. Maybe I tried to solve this the wrong way, maybe there is a perfectly good reason for the observed behavior. I would really like to know. Thanks, Teun http://www.teuntostring.net/blog/
    Posted to Web Parts and Personalization (Forum) by TeunD on 8/17/2006
  • Re: Disable Verbs

    Zal, My apologies; thisturns out to be a lot harder than I initially thought. Setting the AllowEdit property of your part to False will prevent your part from being edited. You can just set the AllowEdit="False" property on your user control (VS.NET will put squigglies under it, but never mind). When you try to edit this part, the Edit zone will show, but will have no ToolParts loaded. This is not what you want: you want the verb to disappear. This turns out to be hard. Adding custom verbs to a part
    Posted to Web Parts and Personalization (Forum) by TeunD on 8/15/2006
  • Re: Disable Verbs

    This is typically one of those things that you can modify in a web server control that derives from System.Web.UI.WebParts.WebPart, but not from a UserControl. However, there are some possible workarounds: 1. Implement the IWebActionable interface on the user controls code behind, return WebPartVerbCollection . Empty from it, but keep a reference. At PreRender, Disable the Edit Verb in the collection (which will be added by the Zone) 2. Make a custom Zone, that recognizes your control and sets AllowEdit
    Posted to Web Parts and Personalization (Forum) by TeunD on 8/14/2006
  • Reading and changing the content of the personalization blob

    I have created a library that allows you to take the binary info that the WebPartManager stores in the personalization system and read it's content through collections and properties. You can even make changes and add or remove entries and then serialize this information back to the format that the WebPartManager understands. You could use this functionality to make tools that update certain personalized information for all users in your system. Or to remove any instances of a web part that you offered
    Posted to Web Parts and Personalization (Forum) by teund on 3/16/2005
  • Re: WebPats - Disallow Drop

    I would think, by the way, that you would want to handle this behavior client-side. You want the zone to display highlighting for some parts while dragging and appear inactive for others. I'm not sure that this is easy to accomplish.
    Posted to Web Parts and Personalization (Forum) by teund on 12/20/2004
  • Re: Web Parts Personalization Question

    Basically, a web part that was added by a user in Shared Scope will be a shared scope web part. So it is not a property on the part you can set, but it is determined at the moment of creation. A user can switch to shared scope by using the WebPartManager.Personalisation.ToggleScope() method. You can also add the WebPartPageMenu control to your page to allow the user to switch between scopes.
    Posted to Web Parts and Personalization (Forum) by teund on 11/24/2004
  • Re: Subclassing from the personalization providers

    When I try to subclass from AccessPagePersonalizationProvider it throws "Compiler Error Message: CS0509: 'MyAccessPagePersonalisationProvider' : cannot inherit from sealed class 'System.Web.Personalization.AccessPagePersonalizationProvider'" The documentation states [C#] public sealed class AccessPagePersonalizationProvider : PagePersonalizationProviderBase and [C#] protected override void Initialize( NameValueCollection configSettings ); Are you working with a newer version? I am working
    Posted to Web Parts and Personalization (Forum) by teund on 3/19/2004
  • Subclassing from the personalization providers

    When I was playing around with the provider model for personalization, I noticed that classes like AccessPagePersonalizationProvider are all sealed. What is the reason for this? I was trying to do the following: create a new provider that will normally behave just like the access provider, except when a specific property is set on the page (or some other indicator), which triggers the provider to use a string that is persisted somewhere else or delegate to yet another provider. Should I use a different
    Posted to Web Parts and Personalization (Forum) by TeunD on 3/16/2004
Page 1 of 2 (11 items) 1 2 Next >