I'm using CKFinder 2.5.0.1 for ASP.NET. Everything works fine except the most important is Select file . When we click to Select file command or double click , nothing happens. CKFinder photo
<asp:Button runat="server" ID="btnQRCode" Text="Browse Server" OnClientClick=" BrowseServer('Images:/', '<% =txtQRCode.ClientID %>'); "/>
<asp:TextBox ID="txtQRCode" runat="server" Width="1px" Style="display: none;"></asp:TextBox>
and Js :
function BrowseServer(startupPath, functionData) {
var finder = new CKFinder();
finder.basePath = '../';
finder.startupPath = startupPath;
finder.selectActionFunction = SetFileField;
finder.selectActionData = functionData;
finder.popup();
}
function SetFileField(fileUrl, data) {
document.getElementById(data["selectActionData"]).value = fileUrl;
}
I'm using .NET 4.0 . Upload file is OK but we cannot select file to set the file path to textbox.