One side of the cube does not work

4 posts, 0 answers
  1. Mehmet
    Mehmet avatar
    33 posts
    Member since:
    Jul 2010

    Posted 26 Sep 2012 Link to this post

    Hi
    I used the cube component my project.

    but one side of the cube does not work.

    At the first start the program
    When I click all sides, only 5 sides are working
    after than 6 sides operates of the cube.

    Best regards,
    Mehmet

     

  2. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 01 Oct 2012 Link to this post

    Hello Mehmet,

    Can you please elaborate on your scenario a bit more as I am not sure I understand the issue correctly. How do you switch the sides -manually through the SelectedIndex or by rotating the cube and clicking on a side?

    I've prepared a sample solution where I tested the default behavior of the control and when I run the project I can rotate the cube around and click on each of its 6 sides. Please take a look at the solution and let me know if I'm missing something.

    Regards,
    Tina Stancheva
    the Telerik team

    Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

  3. DevCraft banner
  4. Mehmet
    Mehmet avatar
    33 posts
    Member since:
    Jul 2010

    Posted 01 Oct 2012 Link to this post

    Hi Tina,

    I tested your example.

    I wrote below this code and I have tried again the cube component.
    "Side 1" of the cube does not work.

    CubeName.IsRotateOnStart = true;
    CubeName.SelectedIndex = 0;

    thank you for interest.

    best regards
    Mehmet,

          

  5. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 04 Oct 2012 Link to this post

    Hi Mehmet,

    Thank you for getting back to us and elaboprating on the issue. Now I can better understand your case and question. Unfortunately this behavior is by design as the RadCube control doesn't let you select the side that was selected when the rotation was triggered.

    And the first side of the Cube is considered as initially selected and this is why when the rotation starts automatically on start up, you need to select a side different from the first one and only then you'll be able to get back to the first side.

    All the best,
    Tina Stancheva
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top