Hello all ,

I face a problem these days in converting my application into divs.
Datalist is rendered as a table tag. To Avoid that i made RepeatLayout="Flow".
It worked fine ( rendered as span) , but it looks to ignore RepeatColumns Attribute; All records have one column.
And it also added extra <BR> to the content of the items.
I gave a style for the item in itemStyle to give the width of the item a precentage from the datalist width.
It works fine in IE , but not in firefox and Chrome.

Another problem in rendering <asp: Panel> it rendered table also . how can make it a div.

Have any one a solution ??

Please, help is needed


Thank you all

create a custom web server control and derive it from the ones you would normally use. then override the appropriate render methods.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.