Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
135
WebDataMenu1.Items.FinditemByValue
posted

When trying to find item in webdatamenu collection using function

WebDataMenu1.Items.FinditemByValue("somevalue") it doesn't find the item even though I know that the item exist.

When using

WebDataMenu1.Items.FinditemByText("some text") the function returns the found item.

Is this a bug in the function that is built in the control?

Parents
No Data
Reply
  • 150
    Suggested Answer
    posted

    Hello there 

    FindItemByValue, FindItemByValue, FindItemByValue methods are searching in the topmost collection of items. This has beens reproduced and reported. With the next service release you should have those methods doing recursive search.

    Meanwhile you may want to try iterating on WebDataMenu.AllItems array.

    Hope that helps

    ChristoD

Children
No Data