RadTextBox: Drag- and Drop-Problem in IE7

8 posts, 0 answers
  1. Ronny
    Ronny avatar
    12 posts
    Member since:
    Apr 2008

    Posted 07 Jun 2011 Link to this post

    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
  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 09 Jun 2011 Link to this post

    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.

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Ronny
    Ronny avatar
    12 posts
    Member since:
    Apr 2008

    Posted 20 Nov 2012 Link to this post

    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

  5. Eyup
    Admin
    Eyup avatar
    3005 posts

    Posted 23 Nov 2012 Link to this post

    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.
  6. Eyup
    Admin
    Eyup avatar
    3005 posts

    Posted 26 Nov 2012 Link to this post

    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.
  7. Ronny
    Ronny avatar
    12 posts
    Member since:
    Apr 2008

    Posted 26 Nov 2012 Link to this post

    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
  8. Eyup
    Admin
    Eyup avatar
    3005 posts

    Posted 28 Nov 2012 Link to this post

    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.
  9. David Penny
    David Penny avatar
    174 posts
    Member since:
    Jun 2006

    Posted 24 Jul 2013 Link to this post

    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
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017