ToolBox WepParts Control AppearanceEditorPart

AppearanceEditorPart Web Server Control

in ASP.NET environment,This article describes you how to work with AppearanceEditorPart Web Control.The primary goal of the AppearanceEditorPart Web server control is allowing the end users to edit several user interface (UI) properties on an associated WebPart control.

WebPart Control Property using by AppearanceEditorPart
  • Title -Set the text for the title.
  • ChromeType -Select the title and border option type.
  • Direction -Select the direction that content flows on the page.
  • Height -Set the height
  • Width -Set the Width
  • Hidden -Hide or show the control is hidden.
set the AppearanceEditorPart control

The AppearanceEditorPart control is displayed only when a Web Parts page is in edit mode and when the user has selected an associated WebPart control for editing.

the following code snippets demonstrates how to work with the AppearanceEditorPart Control

in .aspx page,

<%@ register TagPrefix="uc1" 
  TagName="DisplayModeMenu" 
  Src="DisplayModecs.ascx" %>
<%@ register tagprefix="aspSample" 
  Namespace="Samples.AspNet.CS.Controls" 
  Assembly="TextDisplayWebPartCS" %>
  
  <html>
  <head id="Head1" runat="server">
    <title>
      Text Display WebPart with AppearanceEditorPart
    </title>
  </head>
  <body>
    <form id="form2" runat="server">
      <asp:webpartmanager id="wp1" runat="server" />
      <uc1:DisplayModeMenu ID="dm1" runat="server" />
      <asp:webpartzone id="zone1" runat="server">
        <zonetemplate>
          <aspSample:TextDisplayWebPart 
            runat="server"   
            id="textwebpart" 
            title = "Text Content WebPart" />          
        </zonetemplate>
      </asp:webpartzone> 
      <asp:EditorZone ID="ez1" runat="server">
        <ZoneTemplate>
          <asp:AppearanceEditorPart ID="AppearanceEditorPart1" 
            runat="server" 
            Title="Edit TextDisplayWebPart Properties" />
        </ZoneTemplate>      
      </asp:EditorZone>
    </form>
  </body>
</html>
        
 
Related Links

Posted by: Admin
Posted on: 9/17/2009 at 4:53 PM
Tags: , ,
Categories: Asp.net
Actions: E-mail | Kick it! | DZone it! | del.icio.us
Post Information: Permalink | Comments (6) | Post RSSRSS comment feed

Comments

Onlineatoz.net

Thursday, September 17, 2009 5:17 PM

trackback

ToolBox WepParts Control WebPartZone

ToolBox WepParts Control WebPartZone

moncler men People's Republic of China

Tuesday, June 22, 2010 10:22 AM

moncler men

Here elaborates the matter not only extensively but also detailly .I support the write's unique point.It is useful and benefit to your daily life.You can go those <a href=" http://conditions-encountered.com/ " >wslmart.net </a> sits to know more relate things.They are strongly recommended by friends.Personally

world of warcraft maps United States

Monday, July 05, 2010 8:00 AM

world of warcraft maps

Warcraft  Orcs   Human beings is usually a real-time technique online game  RTS   developed by Blizzard Enjoyment and published by Blizzard and Interplay Pleasure  The MS-DOS model was launched in November 1994 along with the Macintosh in late 1996  Sales were definitely fairly great  reviewers were definitely mostly impressed  and also the video game won some awards and was a finalist for other people  The sequel  Warcraft II  Tides of Darkness  became the primary rival to Westwood Studios  Command   Conquer sequence  and this competition fostered a RTS boom inside mid to late 1990s

sacs à main pas cher People's Republic of China

Monday, July 19, 2010 10:50 AM

sacs à main pas cher

aeth   trhjskj  shy

Loss of Argentina fans' blog Ukraine

Tuesday, July 20, 2010 10:46 AM

Loss of Argentina fans' blog

shy

Timberland Boots sale United States

Thursday, July 29, 2010 11:54 AM

Timberland Boots sale

Through reading more good articles to improve our quality of life. Your blog make me feel comfortable. At the sametime,http://www.timberlandshoesonline.com I will introduce you to know about a comfortable shoes that makes your life better! you can choice what you like!

Add comment




  Country flag

biuquote
  • Comment
  • Preview
Loading