Using CSS as follows
word-wrap: break-word;
white-space: pre-wrap; /* css-3 */
white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word; /* Internet Explorer 5.5+ */
for more details follow below link
"http://community.sgdotnet.org/blogs/chuawenching/archive/2007/03/22/ASP.NET-2.0-Autowrapping-in-GridView--_2D00_-Is-that-possible_3F00_.aspx"
Showing posts with label CSS. Show all posts
Showing posts with label CSS. Show all posts
Thursday, November 26, 2009
Auto wrapped in GridView ?
How to use theme on button. How to apply css to command button.
first sol. is use skin but we have to create different skin for different button. Another sol is use css, keep in mind that set border width to 0px, and height and width to the button. Now the theme is ok but one more thing is which button should press on enter key for the same set submit button use SubmitBehavior property to true and set to false for other button.
1. show button press effect.
2. Press Enter Key will submit the page
Vertical Label in ASP.NET
using CSS, We can make vertical label.
writing-mode: tb-rl;
filter: flipv fliph;
Subscribe to:
Posts (Atom)
