Click here to Skip to main content
15,890,579 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have some category and sub-categires,

and i display them in two nested data list, but i face problem,that the data list use table formate and when one data of category is long, then it scrach whole row of data list,

like;

Cat-1         cat-2          cat-3
   subcat1      subcat11       subcat21
   subcat2      subcat12       subcat22
                subcat13       subcat23
                subcat14
                subcat15
                subcat16
                subcat17

   Cat-4         cat-5          cat-6
   subcat1      subcat11       subcat21
   subcat2      subcat12       subcat22
                subcat13       subcat23
                subcat14




i want that cat-4 is start just Below of Cat-1 Without Spacing,

For this i use Data list flow property,but when i use datalist flow property,
Repeat coloumn="3" not work,

And i also use repeater, But repeater also not support repeat coloumn property,


so what can i do,

Any control in asp.net for solving My problem ?
Or Any trick for this ?
and Plz provide me any proper solution,which work in my cash

plz help me
Posted
Updated 6-Jun-13 21:14pm
v6
Comments
Mas11 6-Jun-13 7:45am    
Hey plz bind your data in dynamic <ul><li>Your data </li></ul> link. Definitely it will solve your issue. I have done this before for adding category & subcategory.
Arun kumar Gauttam 6-Jun-13 7:52am    
i already try this,
and the Property of data list is, we made whatever design in coding, when it display at browser, it convert lay out into tabel formate
Mas11 6-Jun-13 7:58am    
Ya ! that's why I was suggest plz bind your data into <ul> <li> because all our Data control creates table structure. Second option is that you can create <tr><td> css for your DataList control.
Arun kumar Gauttam 6-Jun-13 8:46am    
ok i agree that i create dynamic <ul><li>,

then how i manage Repeat coloum="3"

1 solution

hi Arun,

i have list of links which may help's you:

http://www.trirand.net/examples/tree/textandimages/default.aspx[^]

http://www.trirand.net/examples/grid/treegrid/loadallrowsexpanded/default.aspx[^]

If any of this link help's u let me know.



Regards,
Manoj
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900