For GetControlNmae you pass in a control, it gives you back the string of
it's name. I also have GetControlByName, where you pass in the string name
and get back the Control.
-Chris
> One question - what do i use for the sourcecontrol as in - public static
> string GetControlName(object SourceControl)
[quoted text clipped - 12 lines]
>>> Thx
>>> Ashok
Showjumper - 31 Dec 2005 14:55 GMT
Not sure if your function will work for me. Bascially what i need to do is
find the currently loaded usercontrol and then turn it off. But w/ your
function i still have to pass in the control but i wont know the control. Do
i make any sense? If i click a child node, that control is loaded and
treview turned off. I then want to find that UC and turn it off and the
treeview back on when i hit the back button on the MainMenu. I have googled
but havent found anything so far that i think will answer my ?.
And Thanks go out to you and eveyone else that has answered my questions in
the last few days. Things are little different programmig CF compared to
ASP.NET.
Ashok
> For GetControlNmae you pass in a control, it gives you back the string of
> it's name. I also have GetControlByName, where you pass in the string
[quoted text clipped - 18 lines]
>>>> Thx
>>>> Ashok