This is a migrated thread and some comments may be shown as answers.

Cursor in RadWindow

4 Answers 99 Views
Window
This is a migrated thread and some comments may be shown as answers.
Christian
Top achievements
Rank 1
Christian asked on 08 Nov 2012, 04:23 PM
Dear Community,

how can I change the cursor on a RadWindow?

Thanks a lot,

Christian

4 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 09 Nov 2012, 07:31 AM
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.
0
Christian
Top achievements
Rank 1
answered on 09 Nov 2012, 09:16 AM
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
0
Christian
Top achievements
Rank 1
answered on 16 Nov 2012, 06:56 PM
Dear Telerik,

do you have any idea for me?

Thanks a lot,

Christian
0
Nencho
Telerik team
answered on 21 Nov 2012, 05:48 PM
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.
Tags
Window
Asked by
Christian
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Christian
Top achievements
Rank 1
Nencho
Telerik team
Share this question
or