631 users online
Register
Log in
Shopping Cart
(0)
Home
Product
Overview
Features
Store demo
Screenshots
Showcase - live shops
Copyright Notice Removal
System Requirements
Roadmap
Contribute
Team Members
License
Downloads
Download nopCommerce
Extensions
Release Notes
Support
Documentation
Forums
Partners
Recommended Hosting
Solution Partners
Become a Partner
Community sponsorship program
My Account
Contacts
Tweet
Home
/
Forums
/
General
/
HTML, XHTML, CSS, Design Questions
/
The attribute does not accept HTML in 2.30 e 2.40
The attribute does not accept HTML in 2.30 e 2.40
Reply
wwnaweb
Total Posts:
8
Karma:
40
Joined:
11/19/2011
Location:
Brazil
PM
Posted:
3 months ago
Quote
Hello I am having trouble putting the CSS in Textbox in Version 2.3 and 2.4, the attribute does not accept HTML in New User Registration:
Not accepted: @ Html.EditorFor (model => model.FirstName, new {@ class = "textbox"})
Accepts: @ Html.TextBoxFor (m => m.Username, new {@ class = "textbox"})
0
Please
login or register
to vote for this post.
(click on this box to dismiss)
Ciwan
Total Posts:
510
Karma:
3302
Joined:
1/15/2011
Location:
United Kingdom
PM
Posted:
3 months ago
Quote
I believe that is to do with Microsoft's EditorFor class. It is they, that have made the class not accept any HTML / CSS attributes.
Why not use TextBoxFor instead ?
0
Please
login or register
to vote for this post.
(click on this box to dismiss)
nopCommerce v2.xx themes >> http://www.ncthemes.com
Want better front end features for nopCommerce 2.xx ? Vote up this >> http://nopcommerce.codeplex.com/workitem/10622