Solved

How to Fill Last Empty Space of Data List ?

Posted on 2009-07-14
3
621 Views
Last Modified: 2012-05-07
Hello Experts,
I am filling Dataset with 3 colums in a row. I am facing a prmblem whenever there 1,2,4,5,7,8..  items in Datalist, there is an empty space remains. How to overcome this problem ? For more details please see the attached dotnet source files and images of proble.

Thanks in advance
viewAllIndustries.aspx.txt
viewAllIndustries.aspx.cs.txt
datalistproblem.JPG
datalistCurrenntImage.JPG
0
Comment
Question by:dotsandcoms
  • 2
3 Comments
 
LVL 9

Expert Comment

by:Rahul Goel
ID: 24847940
You can use DataList_ItemDataBound event to fill that area and apply the css there


0
 

Author Comment

by:dotsandcoms
ID: 24848535
what code should i write in the event ? can you pls give me hint.
0
 

Accepted Solution

by:
dotsandcoms earned 0 total points
ID: 24848834
Hi,

I have solved the problem by adding an extra row in datatable.

Thank you for advice me.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If I have to fix slow responding website my first thoughts are server side optimizations: the database may not be optimized or caching is not enabled, or things like that. We often overlook another major part of our web application: the client. We o…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…

943 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now