I want to render datalist to divs instead of table and the repeat columns will fixed by float style on div.
So any one knows an override render method to do that.
Thanks.
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.
I found this solution but I posted it to help others;
Some users suggest to use repeater and that is right, but for that case to replace
divinstead oftableindatalistThis will make it
spanwithbr.But using
HorizontalforRepeatDirectionwil removebrbut still items rendered withspan.This statement will remove
brbut still items rendered withspan.So override
RenderContentsto create your owndivsoutsidespanand removebrif you do not want to useHorizontal RepeatDirection, as follow:My Regards