I have a web page where I have to let the user dynamically add /remove comboboxes. I have a page I did a year ago where I used a datalist control to hold all the controls.
Is a listview control any better? or is there a better approach?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
A ListView is a bit more heavyweight than a DataList – it offers paging, sorting, and insert/edit/delete templates. You can read about it here.
If you’re just changing for the sake of change, I wouldn’t bother. If you actually need some of the additional functionality, then go for it. If you’re unhappy with your implementation, maybe post some of your code and it would be easier to analyze your approach.