Domanda

I really don't know is it possible or not, any way i want to have a list in vertically view in ASP.net page. For Example the normal Grid/List is like this :

The Normal DataGrid In ASP.net

But I want to Grid/List be something like this :

Vertical DataGrid

Sorry To use previous image just in rotate view, but i believe you experts can figure my mean out.

Attention:I do not want to text show vertically exactly like picture.i want the position of field be vertical like this example picture.

So Please Help me.and let me use your knowledges Thank evry one.

È stato utile?

Soluzione

You can do with the help of CSS. Add a new CSS class aur include these in your current CSS class for gridview :

 .box_rotate {
 -moz-transform: rotate(270deg);  /* FF3.5+ */
   -o-transform: rotate(270deg);  /* Opera 10.5 */
  -webkit-transform: rotate(270deg);  /* Saf3.1+, Chrome */
             filter:  progid:DXImageTransform.Microsoft.BasicImage(rotation=270);  /* IE6,IE7 */
         -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=270)"; /* IE8 */
}

Set the Padding and margins after rotation.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top