Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I can't make the AssetUrlSelector Dialog to look the same as in examples that I find throughout the internet.

I have simply put a AssetUrlSelector with some parameters just to try it out:

...
AssetUrlSelector assetPicker = new AssetUrlSelector();
assetPicker.ID = "Test_AssetPicker";
assetPicker.AssetPickerButtonVisible = true;
assetPicker.AllowExternalUrls = true;
assetPicker.IsUrlRequired = false;
assetPicker.PickerButtonText = "...";
assetPicker.UseImageAssetPicker = true;
assetPicker.DisplayLookInSection = true;
assetPicker.DefaultToLastUsedLocation = true;
assetPicker.DefaultOpenLocationUrl = "/PublishingImages/";
Controls.Add(assetPicker);
...

And I have tried toggling most properties to different values, especially "UseImageAssetPicker" and "DisplayLookInSection". No matter what I set them to, the dialog still looks the same.

Screenshot of the dialog Especially what I am missing is the actionbar, the one above the main-area that has the actions, so that I can upload new files while using the assetselectordialog.

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.