Alignment isssue with asp:DataList
-
Hi, I have asp:DataList with asp:ImageButton as item template. I have only 2 items to be displyed in list. But while runnig these 2 items are at both ends. I have applied the RepeatLayout="Flow", then the items are displyed together in center can anyone help? Thanks, Soni
-
Hi, I have asp:DataList with asp:ImageButton as item template. I have only 2 items to be displyed in list. But while runnig these 2 items are at both ends. I have applied the RepeatLayout="Flow", then the items are displyed together in center can anyone help? Thanks, Soni
Hi, You havent mention how you exactly need to controls to display..so i just guessed.;) If you want to display the 2 buttons vertical ie. one after the other use : RepeatLayout="Flow" RepeatColumns="1" If you want to make them horizontal use : RepeatLayout="flow" RepeatDirection="Horizontal" Let me know if you need more help...Hope it helps Thx, Gayani