473,385 Members | 1,930 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Going Crazy. Almost giving up of ASP.NET!

Hello,

For the past month I have been spending most of my time going around
ASP.NET rendering problems!

For example, since when a disabled check box should be rendered the
following way:

<span disabled="disabled">
<input id="CheckBox1" name="CheckBox1" disabled="disabled"
type="checkbox">
</span>

There is no disabled attribute for span!

And I could give many more examples. How can I go around this?

Every day that passes I am closing to move to Ruby On Rails ... after
using ASP.NET since the first version!

Why does not Microsoft spend sometime working on rendering HTML
following the W3C rules.

ASP.NET just invent attributes that does not exist!!!!!!!!!!!

How can Microsoft Developers are able to accomplish these things?!

Anyway, is there a way to go around the CheckBox problem?

Thanks,

Miguel

Dec 3 '07 #1
2 1096
if xhtml conformance is important, use the html controls instead of the
abstract ui controls. then you can control the attributes.

-- bruce (sqlwork.com)

shapper wrote:
Hello

For the past month I have been spending most of my time going around
ASP.NET rendering problems!

For example, since when a disabled check box should be rendered the
following way:

<span disabled="disabled">
<input id="CheckBox1" name="CheckBox1" disabled="disabled"
type="checkbox">
</span>

There is no disabled attribute for span!

And I could give many more examples. How can I go around this?

Every day that passes I am closing to move to Ruby On Rails ... after
using ASP.NET since the first version!

Why does not Microsoft spend sometime working on rendering HTML
following the W3C rules.

ASP.NET just invent attributes that does not exist!!!!!!!!!!!

How can Microsoft Developers are able to accomplish these things?!

Anyway, is there a way to go around the CheckBox problem?

Thanks,

Miguel
Dec 3 '07 #2
AG
I've noticed that <span disabled="disabled"tag also. You can get around it
by using an html checkbox with runat="server" attribute and the extra tag
will not be generated. I just tried it in a gridview.
FWIW, I agree. MS should clean up their html.

--

AG
Email: discussATadhdataDOTcom

"shapper" <md*****@gmail.comwrote in message
news:5f**********************************@a39g2000 pre.googlegroups.com...
Hello,

For the past month I have been spending most of my time going around
ASP.NET rendering problems!

For example, since when a disabled check box should be rendered the
following way:

<span disabled="disabled">
<input id="CheckBox1" name="CheckBox1" disabled="disabled"
type="checkbox">
</span>

There is no disabled attribute for span!

And I could give many more examples. How can I go around this?

Every day that passes I am closing to move to Ruby On Rails ... after
using ASP.NET since the first version!

Why does not Microsoft spend sometime working on rendering HTML
following the W3C rules.

ASP.NET just invent attributes that does not exist!!!!!!!!!!!

How can Microsoft Developers are able to accomplish these things?!

Anyway, is there a way to go around the CheckBox problem?

Thanks,

Miguel

Dec 3 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

81
by: julio | last post by:
Sorry but there is no another way, c# .net and mono are going to rip python, not because python is a bad lenguage, but because is to darn old and it refuses to innovate things, to fix wrong things,...
5
by: spoilsport | last post by:
Ive got to write a multi-function program and I'm plugging in the functions but I keep getting this error from line 40. Im new to this and cant find an answer anywhere. Sam #include...
3
by: alef | last post by:
Hi, I have the following code which is driving me crazy. I compile it on MacOSX and it keeps crashing upon entering a command in the program (ran trough gdb) pwd Program received signal...
32
by: Fresh Air Rider | last post by:
Hi I understand that ASP.net 2.0 (Whidbey) is going to reduce coding by 70%. Surely this is going to de-skill or dumb down the developer's task and open up the task of web development to less...
3
by: Larry Tate | last post by:
I have had a monstrous time getting any good debugging info out of the .net platform. Using ... ..NET Framework 1.1 Windows 2K Server VB.NET <- is this the problem? error handling in the...
7
by: Miguel Dias Moura | last post by:
Hello, In an ASP.Net / VB web page I want to display an image which filename depends of a parameter on the URL. I have this:
6
by: thomas.luce | last post by:
Okay, I have been programming for a long time, and am getting back into C after about a 4 year break from it. Below is some code that won't compile for the life of me, and it is driving me crazy!...
15
by: manstey | last post by:
Hi, I have a text file called a.txt: # comments I read it using this:
4
by: XLiIV | last post by:
I started playing with Python and love it since the very beginning, programming using Python is so ...human-like? but one thing returns to me almost everytime when I see/write the code Let's...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.