Skip to content

How to give Space in listview dynamic loading by progrming

muqthar Ahmed

Asked Jun 27, 2013, 10:41 PM EDT1 answer
Share
LinkedInX
dear sir....while displaying columns in listview i need to give space between columns..
please suggest me how to do that by programmatically while page loading.....if possible provide related samples regarding this...

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • Sunny  Sharma
    0
    Hi Muqtar,

    I suggest you to use CSS instead of doing server side manipulations, it would be much easier than that. How about adding a style like this:

    <style type="text/css">
    tr td span {margin: 0 10px;} // this is for label inside <ItemTemplate> you can choose yours.
    </style>



    Hope it helps.
    Cheers!
    0