Hi,
I am facing problem in folder selection event :
I am calling this function for this File Explorer from client-side event to do some processing on dblevel in serverside :
OnClientFolderChange
="controlPermissions"
function
controlPermissions()
{
var oAjaxPanel = $find("<%= AjxPanelGFP.ClientID %>");
oAjaxPanel.ajaxRequest(
"NodeSelected"); // Call the RadAjaxPanel1_AjaxRequest function on the server ;
}
In Server side I wrote the function for the above ajax request :
protected
void AjxPanelGFP_AjaxRequest(object sender, AjaxRequestEventArgs e)
{
string
UserCommand = e.Argument;
switch (UserCommand)
{
case
"NodeSelected":
strFolderPath = FileExplorer1.TreeView.SelectedNode.FullPath.ToString();
if (!PortalSecurity.IsInRole("Administrators"))
{
bool blnViewFolder;
bool blnCreateFolder;
bool blnRenameFolder;
bool blnDeleteFolder;
bool blnFullControl;
GetFolderPermissions(strFolderPath,
out blnViewFolder, out blnCreateFolder, out blnRenameFolder, out blnDeleteFolder, out blnFullControl);
if (blnFullControl == true)
{
FileExplorer1.VisibleControls = Telerik.Web.UI.FileExplorer.
FileExplorerControls.Toolbar;
FileExplorer1.VisibleControls = Telerik.Web.UI.FileExplorer.
FileExplorerControls.ContextMenus;
pnlSecurity.Style.Add(
"display", "block");
}
else
{
FileExplorer1.ToolBar.Visible =
false;
pnlSecurity.Style.Add(
"display", "none");
}
}
break;
}
}
while, i am clicking the particular folder, I need to check the permissions for those selected one in serverside. Its firing, but the GridView is contineously showing the AjaxLoading Panel... After refreshing the page only.. Its releasing....
Please provide your support
Thanks,
Sheik