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

RadFileExplorer + jQuery Dialog Modal

1 Answer 66 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Oki
Top achievements
Rank 1
Oki asked on 08 May 2012, 04:54 PM
Hi guys

I try to combine RadFileExplorer with jQuery Dialog Modal but something happened.
when i wanted to create a new folder, I was not able to type any character into the input element nor delete the default name.
It still creates a new folder but with the name 'NewFolder' if I click the OK button. 

It works OK if i don't use jQuery Dialog Modal.

Please see the attachment file.

Here are the codes:

HTML script :
<div id="fSaveCroppedImage" title="Save Image">           
            <telerik:RadFileExplorer ID="RadFileExplorer1"  Width="90%" Height="200px"   runat="server" 
                ExplorerMode="Default" OnClientFolderChange="OnClientFolderChange" 
                EnableOpenFile="False" 
                VisibleControls="TreeView,ContextMenus,Toolbar" 
                onclientfolderloaded="OnClientFolderLoaded" >
            <Configuration ViewPaths="~/pubimages" UploadPaths="~/pubimages"
                                DeletePaths="~/pubimages" 
                           />
            </telerik:RadFileExplorer>
  </div>


jQuery script:

$("#fSaveCroppedImage").dialog({
        bgiframe: false,
        autoOpen: false,
        dialogClass: '',
        height: 'auto',
        width: 'auto',
        modal: true,
        open:function(){{
          $(this).parent().appendTo($("form:first")); 
        }},
        buttons: {
            Cancel: function() {
                $(this).dialog('close');
            },
            Save: function() {
                //do something    
$(this).dialog('close');
                }
            }
        },
        close: function() {
        }
    });

Anyone can help?

Im using jQuery 1.7.2 and Telerik 2010.1.415.20.

Thanks.
Oki

1 Answer, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 14 May 2012, 05:14 PM
Hi Oki,

I tried to reproduce the problem but to no avail. Could you please provide more detailed information on the specific scenario?

  • Under which browser and its version the problem occurs?
  • Are there any JavaScript errors thrown on the page? If so, could you please provide the detailed error message(s)?
  • Could you please provide a simple fully runnable project reproducing the problem so we can investigate it further?

For your convenience I have attached my sample test page, could you please modify it to a point where the problem occurs and send it back?

In addition, the version of RadControls that you are using is quite old, could you please try to upgrade to the latest version of the controls and see if the problem still occurs?


Greetings,
Dobromir
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
FileExplorer
Asked by
Oki
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Share this question
or