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

RadTextBox: Drag- and Drop-Problem in IE7

7 Answers 33 Views
Input
This is a migrated thread and some comments may be shown as answers.
Ronny
Top achievements
Rank 1
Ronny asked on 07 Jun 2011, 02:13 PM
Hello,

if you have two RadTextBoxes and both will be filled by drag and drop from a text file - for example. When you want to save, the first dropped value will not be saved. It seems that no event will be fired. If you click into the first textbox and then save, both values will be saved correctly.

Greetings,
Ronny

7 Answers, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 09 Jun 2011, 03:58 PM
Hi Ronny,

I tried to replicate the described issue locally but to no avail. Please test the online demo below and let me know if the issue appears in it on your side:
http://demos.telerik.com/aspnet-ajax/input/examples/common/orderform/defaultcs.aspx


Best wishes,
Maria Ilieva
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Ronny
Top achievements
Rank 1
answered on 20 Nov 2012, 02:53 PM
Hi Maria,

sorry for my very late answer. Yes, I can replicate the behavior with following steps:

- uncheck "Client Side Validation"
- Drag a text in the field "Name:"
- Drag a number in the field "Age."
- Click "Postback"

Now the first dragged value will disapear.

Greetings,
Ronny

0
Eyup
Telerik team
answered on 23 Nov 2012, 02:14 PM
Hi Ronny,

We will further analyze this issue and let you know about the result when we are ready. If it is a Telerik specific bug, you will get Telerik points accordingly for reporting this problem to us.

Thank you for your patience.

Regards,
Eyup
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.
0
Eyup
Telerik team
answered on 26 Nov 2012, 02:09 PM
Hi Ronny,

I have followed the provided steps both in the demo and in a new project of my own but to no avail -  the dragged value is preserved on PostBacks as expected.

Please check out the following video attachment and let me know if I am missing something out to reproduce the issue?
http://screencast.com/t/Ji9NtchzdcUB

Regards,
Eyup
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.
0
Ronny
Top achievements
Rank 1
answered on 26 Nov 2012, 02:24 PM
Hi Eyup,

drag and drop within a browser is no problem. The procedure shown in the video is correct. Please drag from a text file or another source like email.

I tested it in Firefox where the text disappear and in IE where the textbox keeps its content but shows the error message.

Hope this helps to reproduce this behavior.

Best regards,
Ronny
0
Eyup
Telerik team
answered on 28 Nov 2012, 03:39 PM
Hello Ronny,

Please try the following approach:
<telerik:RadTextBox ... ondrop="textDropped(this,event);">
JavaScript:
function textDropped(sender, args) {
    setTimeout(function myfunction() {
        $find(sender.id).set_value(sender.value);
    }, 2);
}

I hope this will prove helpful. Please give it a try and let me know about the result.

Regards,
Eyup
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.
0
David Penny
Top achievements
Rank 2
answered on 24 Jul 2013, 09:57 AM
Hi,

I'm looking for a control I can drop content onto from a grid for subsequent processing. I tried RadButton and it has no ondrop attribute. Looking at this post I thought RadtextBox would allow me to do what I wanted, but in the latest release of the toolkit there does not appear to be an ondrop feature available for the RadTextBox.

Can you suggest a static control or surface I could use to drop items onto?

JUST IGNORE ME - I WAS BEING STUPID. OF COURSE I CAN DO THIS!

David Penny
Tags
Input
Asked by
Ronny
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Ronny
Top achievements
Rank 1
Eyup
Telerik team
David Penny
Top achievements
Rank 2
Share this question
or