Cursor in RadWindow

5 posts, 0 answers
  1. Christian Pardun
    Christian Pardun avatar
    112 posts
    Member since:
    May 2010

    Posted 08 Nov 2012 Link to this post

    Dear Community,

    how can I change the cursor on a RadWindow?

    Thanks a lot,

    Christian
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 09 Nov 2012 Link to this post

    Hi,

    Try the following css to achieve your scenario.

    ASPX:
    <telerik:RadWindow ID="RadWindow1" runat="server" CssClass="windowcss">
    </telerik:RadWindow>

    CSS:
    <style type="text/css">
        .windowcss
        {
         cursor:pointer;
        }
        .RadWindow .rwIcon
        {
         cursor: pointer !important;
        }
        .RadWindow_Default .rwControlButtons a
        {
         cursor: pointer !important;
        }
    </style>

    Thanks,
    Princy.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Christian Pardun
    Christian Pardun avatar
    112 posts
    Member since:
    May 2010

    Posted 09 Nov 2012 Link to this post

    Hi Princy,

    thanks a lot for your reply.

    Its a good idea but meets not excatly what I want. My misstake. You need more details! :D

    I have a RadListbox and add the client event OnClientDragging. If the user dragging a item from the target listbox I want to change the cursor depending on the html element the user moves over.

    So thats my scenario!

    Any idea?

    Thanks again,
    Christian
  5. Christian Pardun
    Christian Pardun avatar
    112 posts
    Member since:
    May 2010

    Posted 16 Nov 2012 Link to this post

    Dear Telerik,

    do you have any idea for me?

    Thanks a lot,

    Christian
  6. Nencho
    Admin
    Nencho avatar
    1458 posts

    Posted 21 Nov 2012 Link to this post

    Hello Christian,

    I can suggest you to use the get_htmlElement() in the OnClientDragging event handler, in order to determine the element beneath the cursor. Here you could find our help article, regarding  the OnClientDragging client-side event.  As for the appearance of the cursor, I can suggest you to refer to this article, where it is provided detailed information of the matter.
     

    Regards,
    Nencho
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017