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
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