Reg. HorizantalAlign="justify" in datagrid boundcolumn

  • Thread starter Lakshmi Narayanan.R
  • Start date
L

Lakshmi Narayanan.R

Hi Experts

HorizantalAlign="justify" in datagrid boundcolumn is not affecting the content display. But the other values "left","right" are working fine
Used sample code is here

<Columns><asp:BoundColumn DataField="Description" HeaderText="Description"><ItemStyle HorizontalAlign="Justify"></ItemStyle></asp:BoundColumn></Columns

Pls its urgent..

thanx in advance.
 
R

Robert Koritnik

The best way is to check the "View source" on the client page. What happens
when you set this property. Probably it sets TD attribute ALIGN, which only
understands LEFT, CENTER and RIGHT. It doesn't understand Justify. But if it
sets style then it should work. Check your HTML that is rendered on the
client side. And act according to that.

--
RobertK
{ Clever? No just smart. }


Lakshmi Narayanan.R said:
Hi Experts,

HorizantalAlign="justify" in datagrid boundcolumn is not affecting the
content display. But the other values "left","right" are working fine.
Used sample code is here.

<Columns><asp:BoundColumn DataField="Description"
HeaderText="Description"><ItemStyle
 
L

Lakshmi Narayanan.R

Tq Mr.RobertK for ur sugg. I worked with "Template column" & used <p align="justify">. Now its Ok.

regards
Laks.R
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top