UPDATE: I've found the problem.
I can't $find the RadMenu control until page is done rendering.
$find returns null while $get returns an object.
However, the object $get returned doesn't support .findItemByValue() method.
I'm using Q1 2010 Net4 version with VS2010 and web.config set to .NET 4.
I've also tried $find("RadMenu1");
What kind of dependencies are there for RadMenu? web.config settings?
See code below:
|var menu = $find("RadMenu1"); |
|var item = menu.findItemByText("Message Center"); |