Serverside OnClick event (missing?)

2 posts, 0 answers
  1. Norsten
    Norsten avatar
    53 posts
    Member since:
    Feb 2007

    Posted 07 Nov 2009 Link to this post

    Hello,
    Is the OnClick event  for the sitemap control missing by design ?

    As I was hoping one was there so that I could use it in the following senarios...

      1)  Dynamically change the URL links 
      2)  Deny access on specifc links based on a users security level.

    If it is possible please could you advise as to how i can do this

    Cheers

    Pete 
  2. Paul
    Admin
    Paul avatar
    4281 posts

    Posted 09 Nov 2009 Link to this post

    Hello Norsten,

    Yes, in the current version of the control the OnClick event is missing by design. We might reconsider our decision if we get more requests for scenarios like the one described here.

    As on the second point, security trimming is a feature of the site map provider - it should not be related with the control which is databound.

    You can find more information in Google or read the following MSDN article. Also Scott Mitchell wrote a nice tutorial with source code.
    http://aspnet.4guysfromrolla.com/articles/122805-1.aspx
    http://msdn2.microsoft.com/en-us/library/ms178428(VS.80).aspx


    Kind regards,
    Paul
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top