onmenuitemclick doesn't fire in web usercontrol

  • Thread starter Thread starter Andrew2
  • Start date Start date
A

Andrew2

I create a simple web user control to override the OnMenuItemDataBound
behaviour, but I notice that OnMenuItemClick routine doesn't fire and
I'm not able to realize the problem.

Trying to search in Google doesn't reported any useful result.
Any suggestion?

Thanks
Andrea
 
The problem is the NavigateUrl property. Until it's setup to some
value, the menu doesn't render the link as a postback function but as
a standard link, and in this way the menuitemclick event won't be
generated.

Now I want to understand where the NavigateUrl is setup. No explicit
referring is made on my code.

Andrea
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top