CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.web_parts_and_personalization Tags:
Item Type: NewsGroup Date Entered: 4/26/2005 3:09:20 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 8 Views: 25 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
9 Items, 1 Pages 1 |< << Go >> >|
EdenMachine
Asp.Net User
WebParts Styles Changed?4/26/2005 3:09:20 PM

0/0

Does anyone know how to fix this? 

** http://www.ecolemans.com/Webparts.gif  **

Here is the code that I'm using.  I wish there was a diagram somewhere that highlighted what each of the tags' styles changes.

<asp:WebPartZone runat="server" HeaderText="Main Column" Width="100%" Padding="0">
         
<HeaderStyle HorizontalAlign="Left" CssClass="headerDetail" />
         <PartChromeStyle BorderStyle=none CssClass="PartPadding" />
         <PartStyle BorderStyle=solid BackColor="yellow" BorderWidth=1 CellPadding=0 CellSpacing=0 BorderColor="#CCCC99" />
         <PartTitleStyle CssClass="headerDetail" HorizontalAlign="Left" />
         <MenuPopupStyle BackColor="#F9F9F2" BorderColor="#CCCC99" BorderStyle="Solid" BorderWidth="1" Font-Names="Arial" Font-Size="0.7em" ShadowColor="Black" />
         <MenuLabelHoverStyle BackColor="#FFFFFF" BorderColor="#CCCC99" BorderStyle="double" BorderWidth="1" />
         <MenuLabelStyle BackColor="#F9F9F2" />
         <MenuVerbHoverStyle BackColor="#CCCC99" ForeColor="#990000" />
         <MenuVerbStyle ForeColor="#334d66" />
         <CloseVerb Enabled="false" />
</asp:WebPartZone>


Rich
http://www.DevAndDesign.com/
mharder
Asp.Net User
Re: WebParts Styles Changed?5/2/2005 8:56:48 PM

0/0

The 2 pixels of padding is hardcoded in WebPartChrome.  Unfortunately there is no way to change it.

http://blogs.msdn.com/mharder

This posting is provided "AS IS" with no warranties, and confers no rights.
EdenMachine
Asp.Net User
Re: WebParts Styles Changed?5/2/2005 9:19:36 PM

0/0

This wasn't there in the first beta - why on earth would you hard code 2 pixels of cell padding into it?  No offense - I'm sure you guys must have had an amazing reason for doing such a thing - can you enlighten us please? Indifferent [:|]  This change makes it impossible for me to create the look and feel that I have now in my standard ASP code when I try to convert my Web site to Dot Net.
Rich
http://www.DevAndDesign.com/
shware
Asp.Net User
Re: WebParts Styles Changed?5/6/2005 2:14:58 PM

0/0

It's actually 5px (padding:5px;) and I concur - please make this a changeable property.  It's thrown off most work we've done with webparts and associated layouts.Sad [:(]

Thanks!


Shawn

shware
Asp.Net User
Re: WebParts Styles Changed?5/6/2005 2:21:10 PM

0/0

Hi,

It appears that there is indeed a 2px padding in the part's title area and another 5px padding within the part's "content" area which wraps around the control.

Hoping these properties will be made visible / changeable.

Thanks again!


Shawn


mharder
Asp.Net User
Re: WebParts Styles Changed?5/6/2005 5:12:24 PM

0/0

Thanks for the suggestions.  Please submit this as a bug report at http://lab.msdn.microsoft.com/ProductFeedback/ and we will look at addressing this for RTM.


http://blogs.msdn.com/mharder

This posting is provided "AS IS" with no warranties, and confers no rights.
EdenMachine
Asp.Net User
Re: WebParts Styles Changed?5/6/2005 6:01:16 PM

0/0

Done. 

I just hope you guys actually fix this otherwise 1000's of designers are going to be in for a rude awakening when they switch to ASP.NET and they can't keep the designs without this huge "Microsoft mandated and hardcoded padding" in every table on their page that they want as a WebPart. WOW - I can hear the torches being lit as we speak! Surprise [:O]


Rich
http://www.DevAndDesign.com/
john99878
Asp.Net User
Re: WebParts Styles Changed?1/20/2006 7:28:17 PM

0/0

Is this has been fixed?  The autogenerate padding with 5px by default cannot be changed.

PartChromeStyle =>  Do you know how to access and change each of the webpart. Let's say, in Zone 1, I want it to have diffrent sytle for webpart1  and webpart2.

How to access this value from codebehind.?

 

mharder
Asp.Net User
Re: WebParts Styles Changed?1/23/2006 7:52:56 PM

0/0

I posted 2 workarounds to the issue here:

http://lab.msdn.microsoft.com/ProductFeedback/viewFeedback.aspx?feedbackid=9a3fd688-87dd-47a0-91f8-11bfc6c12a2a

At the end of the comments, a user has posted a third workaround that uses only CSS.

-Mike
http://blogs.msdn.com/mharder

This posting is provided "AS IS" with no warranties, and confers no rights.
9 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Special Edition Using Microsoft Office FrontPage 2003: Special Edition Authors: Jim Cheshire, Paul Colligan, Pages: 1080, Published: 2003
Sharepoint 2007: The Definitive Guide Authors: James Pyles, Christopher M. Buechler, Bob Fox, Murray Gordon, Michael Lotter, Jason Medero, Pages: 794, Published: 2007
Microsoft SharePoint Portal Server: Building Knowledge Sharing Applications Authors: Kevin Laahs, Emer McKenna, Don Vickers, Pages: 544, Published: 2002
SharePoint 2007 User's Guide: Learning Microsoft's Collaboration and Productivity Platform Authors: Seth Bates, Tony Smith, Pages: 407, Published: 2007
Beginning SharePoint 2007: Building Team Solutions with MOSS 2007 Authors: Amanda Murphy, Shane Perran, Pages: 552, Published: 2007
Essential SharePoint 2007: A Practical Guide for Users, Administrators and Developers Authors: Jeff Webb, Pages: 428, Published: 2007
Essential ASP.Net 2.0 Authors: Fritz Onion, Keith Brown, Pages: 345, Published: 2006
Microsoft SharePoint: Building Office 2003 Solutions Authors: Scot P. Hillier, Pages: 392, Published: 2006
Pro Access 2007 Authors: Martin W. P. Reid, Pages: 395, Published: 2007

Web:
WebParts Styles Changed? - ASP.NET Forums WebParts Styles Changed? Last post 01-23-2006 2:52 PM by mharder. 8 replies. Sort Posts: ... Hmm [^o)] Re: WebParts Styles Changed? ...
CodeProject: Generating XP style webparts from a web control. Free ... Generating XP style webparts from a web control; Author: Bill Seddon; ... Also, having the web part implemented in HTML means that changes are not straight ...
Cascading Style Sheet Guide The list of styles below are used in OWS.CSS, the Cascading Style Sheet applied by ..... The background of a dialog spawned from the Webpart property sheet ...
Customizing the Content Query Web Part and Custom Item Styles Open the Web Part Tool Pane for the CQWP and expand Presentation, then under Styles change the Item Style to the new custom style in the drop down. ...
SharePointers: Web Part Styles Aug 14, 2008 ... However the best way to style web parts is not necessarily well documented, .... change server name (1); Content Query Web Part (1) ...
Microsoft Belgiƫ & Luxemburg - MSDN - Customizing the Content ... Content Query Web Part properties showing our custom style ... Change our anchor markup (instead of the parameter @Created we now use the variable $Created ...
A Single Web Part Can Change It's Chrome You can change the look of web parts globally by modifying the global style sheets (CSS). You can modify the look of web parts on a specific page by ...
Change web part title bar color - ASP.NET Forums Out of the box, you can only change the style of the WebPartChrome for all the WebParts in a WebPartZone, not for an individual WebPart ...
Content Query Webpart - Deploy Custom Style Here is an example on how to change the item styles... Start by exporting the ContentQueryWebPart settings. Open the webpart file, locate and edit the ...
Enhanced Content Query Web Part - Home Override the default content query web part, and add advanced features such ... new template style to the ItemStyle.xsl and just change the Description (or ...




Search This Site:










can't view site due to webconfig ==> need correct setting

codesmith templates and multiple foreign keys to same table

parent - child portal authorize

does asp.net team aware of this issue ?

what is the correct way to do a single sign in between 3 different applications?

web application project & web deployment project, but not aspnet_merge.exe?

document

changing host password

upgrade 3.0.4 to 3.0.6

object test bench

personal website troubleshooting prior to implementation

small vb.net app - encapsulate into dnn module?

slightly off topic: map source

import portal template into root portal - possible ???

"server not found" quite often - is it dnn or host ?

ie webcontrol: tabstrip

network folder finding

runtime error when using custom membership provider

installing flash file

how to personalize webparts and cutomize the webpart design

module upload problems

restricting access to all pages in folder except some

[skinning] the use of <div> and z-index

accessing filluserinfo from a custom module

problem with my own custom authentication

using datarelation for datagrid

new parent portals redirect to main portal. why?

as start page

how do you transfer data from local msde db to hosted sql db?

strange problem when compile a custom module

 
All Times Are GMT