How to attach data into jQuery slideToggle??

Posted by Naimishforu under ASP.NET on 11/7/2011 | Points: 10 | Views : 2124 | Status : [Member] [MVP] | Replies : 1
I have jQuery slideToggle build in my design view, where I need to add my c# data.

The jQuery slideToggle view should be as below :

Group Name 1
Person Name 1
Person Name 2
Group Name 2
Person Name 1
Person Name 2


And I'm getting my data as below,

myList[0].GroupName = "Group1"
myList[0].PersonName = "Person1"

myList[1].GroupName = "Group1"
myList[1].PersonName = "Person2"

myList[3].GroupName = "Group2"
myList[3].PersonName = "Person1"

myList[4].GroupName = "Group2"
myList[4].PersonName = "Person2"


How will I get my data into my jQuery slideToggel? I'm confused??

Thanks,
Naimish
http://dotnetinterview.zxq.net/
http://naimishpandya.blogspot.in/



Responses

Posted by: RohiK on: 11/8/2011 [Member] Starter | Points: 25

Up
0
Down
Hi,

I think you need to bind this data in tree view control http://msdn.microsoft.com/en-us/library/e8z5184w(v=vs.80).aspx
just look into it you will get the idea.




Happy Programming!!
Rohi

Naimishforu, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response