Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net Web Controls (http://www.velocityreviews.com/forums/f63-asp-net-web-controls.html)
-   -   Treeview expendLevel (http://www.velocityreviews.com/forums/t773874-treeview-expendlevel.html)

Eilsa@Office 07-23-2004 01:29 AM

Treeview expendLevel
 
May I load the entire treeview node but expand 2 level only?

Thanks



Alvin Bruney [MVP] 07-23-2004 02:00 PM

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
>
>




Eilsa@Office 07-27-2004 01:57 AM

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
> >
> >

>
>




Alvin Bruney [MVP] 07-27-2004 07:31 PM

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.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57