Hi
I wanted to remove the Size column from the built in Media/Flash/Image Manager dialogs in the editor but on reading this posting it appears that the only solution is to hide it.
I have already customised the built in dialogs by extracting their .ascx files to a folder in my solution and from what I can see it appears that the FileBrowser.ascx is the file that i need to change. The above posting suggests that I need to use the code below to hide the Size column. What I cannot determine however is how to hook up this code. There is no codebehind for fileBrowser.ascx and despite adding an inline Page_Load event to the fileBrowsers.ascx markup I cannot seem to tap into the page load event which would allow me to use the code below
Any suggestions on how I can achieve this ?
thanks in advance
I wanted to remove the Size column from the built in Media/Flash/Image Manager dialogs in the editor but on reading this posting it appears that the only solution is to hide it.
I have already customised the built in dialogs by extracting their .ascx files to a folder in my solution and from what I can see it appears that the FileBrowser.ascx is the file that i need to change. The above posting suggests that I need to use the code below to hide the Size column. What I cannot determine however is how to hook up this code. There is no codebehind for fileBrowser.ascx and despite adding an inline Page_Load event to the fileBrowsers.ascx markup I cannot seem to tap into the page load event which would allow me to use the code below
GridColumn SizeColumn = RadFileExplorer1.Grid.Columns.FindByUniqueNameSafe(
"Size"
);
SizeColumn.ItemStyle.Width = Unit.Pixel(1);
SizeColumn.HeaderStyle.Width = Unit.Pixel(1);
Any suggestions on how I can achieve this ?
thanks in advance