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 > microsoft_downloads.css_friendly_control_adapters Tags:
Item Type: NewsGroup Date Entered: 7/11/2006 1:06:04 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 80 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
poncherin
Asp.Net User
Warning CssSelectorClass7/11/2006 1:06:04 PM

0/0

I keep getting this warning when i debug my website, why?

Warning    1    Validation (ASP.Net): Attribute 'CssSelectorClass' is not a valid attribute of element 'Menu'.    C:\Documents and Settings\abcde\Local Settings\Temp\VWDWebCache\s90wwwdev\inc\master\home.master    89    79    http://s90wwwdev/

Russ Helfand
Asp.Net User
Re: Warning CssSelectorClass7/11/2006 3:11:23 PM

0/0

The white paper briefly discusses the CssSelectorClass expando property:

http://www.asp.net/CSSAdapters/WhitePaper.aspx#SamplesCssSelectorClass

The key here is to remember that this is an expando property.  That is, it is a property that we've suddenly invented for use by the adpaters; the rest of the framework is supposed to (and does) simply ignore this extra server-side property.

Because CssSelectorClass is an expando that we've invented, it isn't known or recognized automatically by tools like Visual Studio.  They see it and think: hmmmm, maybe there's a typo in the markup. That's why it is a warning, not an error.  VS can't be sure whether or not you intended to include an attribute (CssSelectorClass in our case) that it can't seem to find in the normal set of attributes allowed for the Menu tag (or the DataList tag or the TreeView tag, etc.).


Russ Helfand
Groovybits.com
kbalint
Asp.Net User
Re: Warning CssSelectorClass2/26/2008 8:13:47 PM

0/0

 Hi, I understand that this is a workaround-feature, but Publish fails with the same error. How can i get Visual Studio 2005 to ignore these properties? Thank you.

3 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Professional ASP.NET 2.0 Design: CSS, Themes, and Master Pages Authors: Jacob J. Sanford, Pages: 474, Published: 2007

Web:
Warning CssSelectorClass - ASP.NET Forums That's why it is a warning, not an error. VS can't be sure whether or not you intended to include an attribute (CssSelectorClass in our ...
DetailsView Not Appearing during Debug - ASP.NET Forums ... Statz" AllowPaging="false" CssSelectorClass="PrettyDetailsView" .... Warning 2 The type '_Default' in 'c:\WINDOWS\Microsoft. ...
Programming and Development | TechRepublic.com Also, the example will display as a warning (not an error that halts .... The one difference is the use of the CSSSelectorClass, which points the control to ...
BusinessRx Reading List : September 2006 - Posts You will also continue to get warning/error squiggles in code/class when they are open. ...... CssSelectorClass="SimpleEntertainmentMenu"> ...
The ASP.NET 2.0 Anthology CssSelectorClass="StyledMenu". />. That code produces the following HTML: ...... warning about, 340. T. table scans. about, 473 ...
Technical Notes Crank up the warning levels on your compilers, sprinkle your code with ..... Step 14a: Add the CssSelectorClass attribute to each grid in your site to tie ...
The ASP.NET 2.0 Anthology CssSelectorClass="StyledMenu". />. That code produces the following HTML: ...... warning about, 340. T. table scans. about, 473 ...
Technical Notes Crank up the warning levels on your compilers, sprinkle your code with ..... Step 14a: Add the CssSelectorClass attribute to each grid in your site to tie ...
The ASP.NET 2.0 Anthology CssSelectorClass="StyledMenu". />. That code produces the following HTML: ...... warning about, 340. T. table scans. about, 473 ...
Technical Notes Crank up the warning levels on your compilers, sprinkle your code with ..... Step 14a: Add the CssSelectorClass attribute to each grid in your site to tie ...




Search This Site:










problem..including vb file to another vb file..

checkbox in gridview

website on the net

executing standark asp?

proper way to change themes programmatically?

retrieving a single column value into a variable

big bug in urlcontrol.ascx

question abt using external 1.1 frame work dll in webpart

menu link module

dnn3.0.5 users online module problem

when to load userdata from database?

simple pop-up button question

verb rendering

can i create 1.1 projects in vs 2005

best way to convert type arrays.

question on announcement module

how do i...?

i saw a 'personal organizer' module.. but where?

microsoft word with web matrix

restrictions on sites when traveling abroad?

image rotation question

edit feature on modules is disabled

seeking "how to do user\email verification" samples/advice

how does the masterpage know which contentpage is being loaded?

please help with runtime error!

help! i can't view a vwd created webpage for the life of me!

string manipulation

tabs - td cell properties

how to go about running a batch job overnight using asp.net/vb.net

[bug] ??? admin edit error

 
All Times Are GMT