![]() |
Treeview expendLevel
May I load the entire treeview node but expand 2 level only?
Thanks |
Re: Treeview expendLevel
Yes, but the issue with that is the page will be heavy depending on how much
data you move across the wire. One approach would be to just get the top level nodes and if you expand two nodes, then get the data for that only. That's a lot less data than what you are suggesting. -- Regards, Alvin Bruney [ASP.NET MVP http://mvp.support.microsoft.com/default.aspx] Got tidbits? Get it here... http://tinyurl.com/27cok "Eilsa@Office" <asd@asd.asd> wrote in message news:%23KgFCQFcEHA.2972@TK2MSFTNGP12.phx.gbl... > May I load the entire treeview node but expand 2 level only? > > Thanks > > |
Re: Treeview expendLevel
May I know how to set the property to do so?
"Alvin Bruney [MVP]" <vapor at steaming post office> wrote in message news:%23oU9f1LcEHA.1048@tk2msftngp13.phx.gbl... > Yes, but the issue with that is the page will be heavy depending on how much > data you move across the wire. One approach would be to just get the top > level nodes and if you expand two nodes, then get the data for that only. > That's a lot less data than what you are suggesting. > > -- > Regards, > Alvin Bruney > [ASP.NET MVP http://mvp.support.microsoft.com/default.aspx] > Got tidbits? Get it here... http://tinyurl.com/27cok > "Eilsa@Office" <asd@asd.asd> wrote in message > news:%23KgFCQFcEHA.2972@TK2MSFTNGP12.phx.gbl... > > May I load the entire treeview node but expand 2 level only? > > > > Thanks > > > > > > |
Re: Treeview expendLevel
you would have to first select the node using the "." format. don't remember
the correct syntax but it is something like node.selectednode("0.0") which would set the child of the parent as the selected index and then once it is set you can call the .Expand = true on the node. You can consult the help files for the exact syntax -- Regards, Alvin Bruney [ASP.NET MVP http://mvp.support.microsoft.com/default.aspx] Got tidbits? Get it here... http://tinyurl.com/27cok "Eilsa@Office" <asd@asd.asd> wrote in message news:OyKhYy3cEHA.1652@TK2MSFTNGP09.phx.gbl... > May I know how to set the property to do so? > > "Alvin Bruney [MVP]" <vapor at steaming post office> wrote in message > news:%23oU9f1LcEHA.1048@tk2msftngp13.phx.gbl... >> Yes, but the issue with that is the page will be heavy depending on how > much >> data you move across the wire. One approach would be to just get the top >> level nodes and if you expand two nodes, then get the data for that only. >> That's a lot less data than what you are suggesting. >> >> -- >> Regards, >> Alvin Bruney >> [ASP.NET MVP http://mvp.support.microsoft.com/default.aspx] >> Got tidbits? Get it here... http://tinyurl.com/27cok >> "Eilsa@Office" <asd@asd.asd> wrote in message >> news:%23KgFCQFcEHA.2972@TK2MSFTNGP12.phx.gbl... >> > May I load the entire treeview node but expand 2 level only? >> > >> > Thanks >> > >> > >> >> > > |
| All times are GMT. The time now is 08:29 PM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.