CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

MS SQL 2008 on ASP.NET Hosting



Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > windows_hosting.hosting_open_forum Tags:
Item Type: NewsGroup Date Entered: 11/16/2004 9:50:15 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 4 Views: 23 Favorited: 0 Favorite
5 Items, 1 Pages 1 |< << Go >> >|
FURI-CURI
Asp.Net User
Style properities11/16/2004 9:50:15 AM

0/0

I've created custom control and I want my control to provide some properities for style editing.

I write smth like that:

[c#]
public Style MyInnerTableStyle
{
get
{
return this.tableMain.Style;
}
set
{
this.tableMain.ControlStyle.CopyFrom (value);
}
}
[/c#]

But in designer this field edited like string (does not have a "..." button for open style editor dialog).

How can I add property to my control, that can be edited with style editor in design time?
llangleyben
Asp.Net User
Re: Style properities11/16/2004 8:19:30 PM

0/0

Hi,
What is Style type?
It should be something like this:

public CssStyleCollection MyInnerTableStyle
{
get
{
return this.tableMain.CssStyle;
}
}

Since CssStyleCollection is collection, you should not add set accessor to allow update.

Leon Langleyben

MCSD, ASP.NET MVP

Blog
FURI-CURI
Asp.Net User
Re: Style properities11/17/2004 6:30:29 AM

0/0

Yeah, I've already try it. If I write this:

[Browsable (true)]
public CssStyleCollection MyStyles
{
get
{
return this.tableMain.Style;
}
}

than MyStyle not visible at all in properities panel. Is your code working on your studio? If yes, than tell me version of your studio, pls.
widgetninja
Asp.Net User
Re: Style properities11/17/2004 8:21:10 PM

0/0

I'm not sure why you're having problems, and am not going to replicate it, but this works in all my controls where I have collections:

<TypeConverter(GetType(ExpandableObjectConverter)), NotifyParentProperty(True), DesignerSerializationVisibility(DesignerSerializationVisibility.Content), _
PersistenceMode(PersistenceMode.InnerProperty)> _
Public SomeCollection

Underpaid, painfully underutilized, and always looking for more work in Va.
FURI-CURI
Asp.Net User
Re: Style properities11/19/2004 10:35:51 AM

0/0

No, this didn't help...
I've already posted this problem as a bug to MSDN
5 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Word 2003: Document Automation with VBA, XML, XSLT, and Smart Documents Authors: Scott Driza, Pages: 437, Published: 2004
AutoCAD for Architecture Authors: Tuna Saka, Pages: 827, Published: 2001

Web:
Style Properties Used to cause an element to take its border, background style and size from the operating system's theme. This causes XUL elements to be drawn similar to ...
Cascading Style Cheatsheet Shorthand property condensing all other list-style properties. Applies to all elements with a display value of list-item. ...
CSS Style Properties This section summarizes the five style properties of supported by Cascading Style Sheets. Scroll through the file or click on one of the style properties ...
learn web standards :: css guide - text style properties Complete CSS Guide and Reference - text style properties.
Cascading Style Sheets W3C's overview of Web style sheets: CSS. ... This version supports more CSS properties. (For Windows and Mac, “Lite” version is free). ...
Learning Style Sheet Properties Sep 6, 2007 ... In this second part of a series on style sheet properties, ... Some style properties can be applied only to block-level, inline, ...
CSS Properties A description of all the properties of Cascading Style Sheets, level 1. ... Color and Background Properties · Color · Background Color · Background Image ...
Cascading Style Sheets Style Properties Library - A Collection of ... The Cascading Style Sheets library is a library of cascading style sheets (CSS) properties and syntax. Learn Cascading Style Sheets by learning the CSS ...
jessett.com > css > css style properties Below is a list of various style properties for css cascading style sheets, a description, values that can be applied and examples.
CSS Border Properties The CSS border properties allow you to specify the style and color of an element's border. In HTML we use tables to create borders around a text, ...

Videos:
CSS Introduction: list-style shorthand properties In this video by Zing Media you will learn how to work with the list-style shorthand properties CSS Introduction Series ----------------------------...
Learning Physics-based Motion Style w/ Inverse Optimization Liu, C. K., Hertzmann, A. and Popović, Z. This paper presents a novel physics-based representation of realistic character motion. The dynamical mod...
Kansas Real Estate / Kansas properties MLS 229293 Kansas is one of the best kept real estate secrets around. Theo Hanson is featuring this incredible Prairie Style home with "standing seam" roof in t...
Kansas Real Estate / Kansas Properties MLS 232181 Beautiful Home on 50 acres Fabulous 6 year old ranch style home on 50 acres in Walton, KS. For more information on this property, please contact: Theo Hanson: 316-686-7281 ex...
TANGENT PROPERTIES PART1 USEFUL TO GCSE, IGCSE, MATRICULATION, GRADE 10 & 11 & 12, INDIAN SYLLABUS STANDARD 9 & 10 AND MANY PUPILS FROM ALL OVER THE WORLD.
Anguilla Luxury Properties - RN - Captains Ridge $5,500,000 Anguilla Luxury Properties http://www.anguillaproperties-sothebysrealty.ai Single Family Home Property ID#4000003102 The entrance to this Medittera...
Sonic X: The Metarex Wars -Vexille-Style Fan-Made Trailer- WARNING: Contains low quality 4Kids voiceovers This is a fan-trailer of Sonic X: The Metarex Wars which was inspired by one of the trailers for the ...
TANGENT PROPERTIES PART 2 USEFUL TO GCSE, IGCSE, SOUTH AFRICAN MATRICULATION, GRADES 9,10 & 12 AND ALL INTERNATIONAL SYLLABI
KF Real Estate Single Family Ranch Style Luxury Home, Beverly Hills, Guaynabo, Puerto Rico BEVERLY HILLS / GUAYNABO- This is a unique 5 acre ranch style home located in the city limits of Guaynabo and San Juan. There are 3 separate living q...
TANGENT PROPERTIES PART 3 USEFUL TO GCSE, IGCSE, MATRICULATION AND GRADES 10, 11 & 12




Search This Site:










comparing control panels - dotnetpanel vs helm and others

will asp.net work in apache server

tasks and templates

embedding images

help, how to get current control type dynamically and use it...

shared hosting, godaddy, sql express, aspnetdb.mdf

does someone know about a free hosting website

panel content gone when editing parent properties

building a custom component to read files

template control inside repeater.

inheriting placeholder control problem with databind controls

.net templated control design time support

webhost supporting crystal reports

objects and viewstate

am i registering the controls wrong???

having problems with custom control even firing

building server controls that expose style objects, but that have text-align attribute?

custom datatable user control

web stats software

help with button events using templates

property browser support for collections

custom control event generating

trying to create my first server side control and need help

adding property

mps versioning clarification

automatically add register tag on page

ie webcontrols source code

custom compositecontrol surrounded by <span> tag

how to call aspx's function within ascx code?

adding controls to the toolbox

  Privacy | Contact Us
All Times Are GMT