2 Things I want in ASP.NET
-
1. A new property
Control.DontOutputIdAttribute
2. A new propertyPage.DontPrefixAllMyControlsWithTheIdOfAllTheirAncestors
cheers, Chris Maunder
CodeProject.com : C++ MVP
-
1. A new property
Control.DontOutputIdAttribute
2. A new propertyPage.DontPrefixAllMyControlsWithTheIdOfAllTheirAncestors
cheers, Chris Maunder
CodeProject.com : C++ MVP
:) ----------------------------------------------- Rendez le paquebot!
-
1. A new property
Control.DontOutputIdAttribute
2. A new propertyPage.DontPrefixAllMyControlsWithTheIdOfAllTheirAncestors
cheers, Chris Maunder
CodeProject.com : C++ MVP
Wouldn't that defeat the unique IDs for DOM elements?
Vasudevan Deepak Kumar Personal Homepage
Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson -
1. A new property
Control.DontOutputIdAttribute
2. A new propertyPage.DontPrefixAllMyControlsWithTheIdOfAllTheirAncestors
cheers, Chris Maunder
CodeProject.com : C++ MVP
-
1. A new property
Control.DontOutputIdAttribute
2. A new propertyPage.DontPrefixAllMyControlsWithTheIdOfAllTheirAncestors
cheers, Chris Maunder
CodeProject.com : C++ MVP
-
What stops you from using non-'runat=server' controls?
xacc.ide - now with IronScheme support
IronScheme - 1.0 alpha 1 out nowHmmmm, trully they are actually there :sigh: Best regards, Paul.
Jesus Christ is LOVE! Please tell somebody.
modified on Friday, February 01, 2008 5:06:06 AM
-
Hmmmm, trully they are actually there :sigh: Best regards, Paul.
Jesus Christ is LOVE! Please tell somebody.
modified on Friday, February 01, 2008 5:06:06 AM
-
Paul Selormey wrote:
they are actually there
I dont understand what you mean. :confused:
xacc.ide - now with IronScheme support
IronScheme - 1.0 alpha 1 out nowThe non-runat-server controls are actually there. Simply most put up the .NET cup when working with ASP.NET without forgetting that they simply writing HTML with replaceable tags. Best regards, Paul.
Jesus Christ is LOVE! Please tell somebody.
-
Wouldn't that defeat the unique IDs for DOM elements?
Vasudevan Deepak Kumar Personal Homepage
Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis LevinsonNot if
Page.TrustMeIKnowWhatImDoing
was set totrue
.cheers, Chris Maunder
CodeProject.com : C++ MVP
-
What stops you from using non-'runat=server' controls?
xacc.ide - now with IronScheme support
IronScheme - 1.0 alpha 1 out nowI had about a dozen witty replies to this but I have to say I'm truly curious as to what the alternative would be in an ASP.NET site.
cheers, Chris Maunder
CodeProject.com : C++ MVP
-
I had about a dozen witty replies to this but I have to say I'm truly curious as to what the alternative would be in an ASP.NET site.
cheers, Chris Maunder
CodeProject.com : C++ MVP
-
I had about a dozen witty replies to this but I have to say I'm truly curious as to what the alternative would be in an ASP.NET site.
cheers, Chris Maunder
CodeProject.com : C++ MVP
-
Not if
Page.TrustMeIKnowWhatImDoing
was set totrue
.cheers, Chris Maunder
CodeProject.com : C++ MVP
Then you should write your code on bare metal. ;P
Mostly, when you see programmers, they aren't doing anything. One of the attractive things about programmers is that you cannot tell whether or not they are working simply by looking at them. Very often they're sitting there seemingly drinking coffee and gossiping, or just staring into space. What the programmer is trying to do is get a handle on all the individual and unrelated ideas that are scampering around in his head. (Charles M Strauss)
-
I had about a dozen witty replies to this but I have to say I'm truly curious as to what the alternative would be in an ASP.NET site.
cheers, Chris Maunder
CodeProject.com : C++ MVP
Chris Maunder wrote:
I had about a dozen witty replies to this but I have to say I'm truly curious as to what the alternative would be in an ASP.NET site.
Hey, can't you read things in red? Don't post programming questions on The Lounge! :-D
I see dead pixels Yes, even I am blogging now!
-
1. A new property
Control.DontOutputIdAttribute
2. A new propertyPage.DontPrefixAllMyControlsWithTheIdOfAllTheirAncestors
cheers, Chris Maunder
CodeProject.com : C++ MVP
Yes! I don't add an id attribute to the control unless you want it to be accessed from code behind. The naming containers come into action and generate a scope prefixed name. In general you can avoid ids for all controls except for form controls. Alternatively you can use control adapters. I am feeling encouraged to write an article: "Avoiding the id mess in ASP.NET"
You have, what I would term, a very formal turn of phrase not seen in these isles since the old King passed from this world to the next. martin_hughes on VDK
-
Not if
Page.TrustMeIKnowWhatImDoing
was set totrue
.cheers, Chris Maunder
CodeProject.com : C++ MVP
-
Yes! I don't add an id attribute to the control unless you want it to be accessed from code behind. The naming containers come into action and generate a scope prefixed name. In general you can avoid ids for all controls except for form controls. Alternatively you can use control adapters. I am feeling encouraged to write an article: "Avoiding the id mess in ASP.NET"
You have, what I would term, a very formal turn of phrase not seen in these isles since the old King passed from this world to the next. martin_hughes on VDK
Rama Krishna Vavilala wrote:
Avoiding the id mess in ASP.NET
Please do!
cheers, Chris Maunder
CodeProject.com : C++ MVP
-
Absolutely! these two "MSFT knows better" behaviors are infuriating.
Jon Smith & Wesson: The original point and click interface
What about having to keep specifying Runat="Server" when there is no option?
-
Yes! I don't add an id attribute to the control unless you want it to be accessed from code behind. The naming containers come into action and generate a scope prefixed name. In general you can avoid ids for all controls except for form controls. Alternatively you can use control adapters. I am feeling encouraged to write an article: "Avoiding the id mess in ASP.NET"
You have, what I would term, a very formal turn of phrase not seen in these isles since the old King passed from this world to the next. martin_hughes on VDK
Rama Krishna Vavilala wrote:
I am feeling encouraged to write an article: "Avoiding the id mess in ASP.NET"
+1
[My Blog]
"Visual studio desperately needs some performance improvements. It is sometimes almost as slow as eclipse." - Rüdiger Klaehn
"Real men use mspaint for writing code and notepad for designing graphics." - Anna-Jayne Metcalfe -
1. A new property
Control.DontOutputIdAttribute
2. A new propertyPage.DontPrefixAllMyControlsWithTheIdOfAllTheirAncestors
cheers, Chris Maunder
CodeProject.com : C++ MVP