UPDATE: I've found the problem.
I can't $find the RadMenu control until page is done rendering.
================================================================
Hello, I'm having trouble with using $find in client-side javascript to get a reference of a RadMenu$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?
Thanks.
Gibson
See code below:
var menu = $find("RadMenu1"); |
var item = menu.findItemByText("Message Center"); |