Click here to Skip to main content
15,886,258 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have start one project is MLM (Multinational Level Marketing). But, i have some query regarding tree view. when one sponsor id enter the two child, like one left side and second right side so, how can i view in asp.net with proper.
Posted
Comments
bbirajdar 23-Jul-13 5:20am    
First you should know that there is nothing called a - "Multinational Level Marketing"... Its "Multi-level Marketing"...
Pratham4950 23-Jul-13 8:06am    
yes, sorry man. so, any suggest for that. ?
Pheonyx 23-Jul-13 6:26am    
I'm sorry, but your question is unclear, what are you trying to do? Can you explain it a bit further? What have you tried? Are you getting any errors? We cannot see your screen, know your system requirements are anything else. We only know what you are saying here.
Pratham4950 23-Jul-13 8:05am    
my problem is how can i display data as requirement.
like first login with "A" name than we add two id's like 1."B" and 2."C" . so, "B" and "C" view, one of left side and second is right side of "A" .
like tree. (e,g. 1:1)
[no name] 23-Jul-13 7:36am    
you inserted data into you db or not

1. Create a HTML table for few rows as per you need to show the levels.
2. First Row will have Max(2^(No of Rows-1)) colspan.
2. Middle Rows will have colspan reduced from (2^(No of Rows-1-Current Row Index)).
2. Last Row will have No colspan.
3. Move from last to upper row will have colspan=(2 * level) like given below.

--------------------------------------------
|....................A.....................|
--------------------------------------------
|.........B .........|.........C...........|
--------------------------------------------
|....D....|....E.....|....F....|....G......|
--------------------------------------------

4. Each of the above A to G will be a Fix Control (url will be change on basis of Active/Active user.)
5. Create a method to set each node( A-G) with their respective IDs by passing current User Key in the Paramaeter.
6. call the same method each time user select any node with that node Id.
 
Share this answer
 
 
Share this answer
 
Comments
nikhil-vartak 29-Jul-13 0:26am    
Did it solve your problem?

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