or
.RadMenu_Hew .rmRootGroup a.rmDisabled:hover .rmExpandRight,
.RadMenu_Hew_Context .rmGroup a.rmDisabled:hover .rmExpandRight,
.RadMenu_Hew_Context .rmGroup a.rmDisabled:hover .rmExpandLeft,
.RadMenu_Hew .rmGroup a.rmDisabled:hover .rmExpandDown
{
background-image
:
url
(
'<%=WebResource("Hew.Web.UI.Skins.Hew.Menu.rmSprite.png")%>'
);
background-position
:
100%
-216px
;
}
Is there a way to set viewmode to grid when opening an ImageManager from a DialogOpener?
We are using a custom provider for filehandling, so the thumbnail view is slowing down the filemanagers (db queries, getting files, resizing thumbs etc)
<
telerik:RadDialogOpener
runat
=
"server"
id
=
"DialogOpener1"
></
telerik:RadDialogOpener
>
<
button
onclick="$find('<%= DialogOpener1.ClientID %>').open('ImageManager', {CssClasses: []});SetCurrentUserControl('<%= DialogOpener1.ClientID %>');return false;">
Find picture...
</
button
>
protected new void Page_Load(object sender, EventArgs e)
{
FileManagerDialogParameters dialogParameters = new FileManagerDialogParameters();
dialogParameters.ViewPaths = new[] { "root" };
dialogParameters.UploadPaths = new[] { "root" };
dialogParameters.DeletePaths = new[] { "root" };
dialogParameters.MaxUploadFileSize = 5000000;
dialogParameters.FileBrowserContentProviderTypeName = typeof(DBContentProvider).AssemblyQualifiedName;
DialogDefinition imageManager = new DialogDefinition(typeof(ImageManagerDialog), dialogParameters);
imageManager.ClientCallbackFunction = "ImageManagerFunctionPrj";
imageManager.Width = Unit.Pixel(694);
imageManager.Height = Unit.Pixel(440);
DialogOpener1.DialogDefinitions.Add("ImageManager", imageManager);
}
<telerik:RadNumericTextBox
ShowSpinButtons="true"
IncrementSettings-InterceptArrowKeys="true"
IncrementSettings-InterceptMouseWheel="true"
Width="35px"
runat="server"
ID="qty"
MaxValue="99"
MinValue="1"
Value="1"
AutoPostBack="true"
OnTextChanged="qty_TextChanged">
<NumberFormat DecimalDigits="0" />
</telerik:RadNumericTextBox>
function
JSSelect() {
var
combo = $find(
"<%= RadComboBox1.ClientID %>"
);
var
itm = combo.findItemByValue(
'04'
);
itm.select();
}