How to set ItemTemplate in VB

4 posts, 0 answers
  1. Rob Diamant
    Rob Diamant avatar
    14 posts
    Member since:
    Jan 2006

    Posted 20 Nov 2008 Link to this post

    I am trying to build a rotator via VB and cannot figure out how to set the ItemTemplate property. Any suggestions would be appreciated.
  2. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 24 Nov 2008 Link to this post

    Hello,

    I am attaching a sample site in VB.NET using the RadRotator for ASP.NET AJAX, which shows how to create and bind the rotator dynamically. I hope it will help you.

    Greetings,
    Lini
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. dc
    dc avatar
    2 posts
    Member since:
    May 2007

    Posted 10 Mar 2009 Link to this post

    Can you tell me how the 

    function

    GetRadRotator()  would be implemented with the dynamic control?
    An updated sample would be great.

    Thanks
    Dan

     

  5. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 11 Mar 2009 Link to this post

    Hello DC,

    You need to add a custom property (in code behind ) that returns a reference to the created RadRotator control. Then you can use this property and get the reference to the RadRotator's object on the client side ( by using server parentheses). For your convenience I modified the previous project and reattached it to this thread as rotatordynamictemplatewithproperty.zip.
    I hope this helps.

    Best wishes,
    Fiko
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top