Change Kendo UI Upload culture - file-upload

I would like to change the text of the Kendo UI Upload button "Select files.." for es-ES culture.
I was reviewing the kendo.culture.es-ES.min.js file but I donĀ“t see any parameter to change.
Is it possible?

Every widget has its own localization settings which allow you to change the messages. For the upload control they are all listed here.

Related

Drop Down Form for Date is Deformed

I use sharepoint 2010 and I get a deformed pop up menu for Date selection. Nothing fancy here. Just a simple form to enter some data with date.
Have you seen this before? I get the same effect in Chrome/Firefox latest versions.
Thank you in advance
This is a problem with your SharePoint site's CSS (or possibly with JavaScript that affects the CSS).
That big image is a spritesheet; CSS is supposed to crop the visible region so that you only see the specific sprites that are relevant to the current control.
You can pull up the developer tools with F12 and inspect the image element and its containers to see what CSS is currently applied, as well as check for any errors in the JavaScript console.
Clear your browsers cache and reload page. Delete the datetime column and create a new.

Is it possible to use a textarea for a Safari extension settings?

I've made a couple small Safari extensions. For one of them, I would like to collect a set of user-entered strings (e.g., URLs or URL patterns) using a textarea in the settings screen. The only setting types offered in the documentation are one line text, check box, slider, select lists, and radio buttons. I could use a one line text field as an ugly workaround, but I'm hoping there's a better option. I've googled for hints and looked through Safari extensions in GitHub, but haven't found an example of anyone doing this yet.
Does anyone have an example of how to use a textarea for a Safari extensions setting? Is there an undocumented feature I've not been able to find? Or is there a way to trigger a custom popup window from the settings?
Thanks for any tips.
No, there is no way to build a more complex UI inside the settings dialog. What extensions typically do is add a button (checkbox, even if it's not quite the correct element) in the settings page which then launches a separate Safari page which contains the full settings UI, written in HTML.
For an example of this, install uBlock and take a look at how it launches its setting UI.

Conditionally control the visibility of a background image in a .NET report (rdlc)

Quick Summary: How can I conditionally control (at run-time) the visibility of a background image in a report using the built in .rdlc report capabilities in .NET (I am using VB).
The Story:
I have a system that creates "certificates". The certificates are created based on a report definition (.rdlc) and displayed as PDF's to the user, they never see the report viewer control. This system has a public test site as well as the live production site. We want to place a water mark image on any of the certificates that are created by the test system. Basically because we don't want someone creating a test certificate and passing it off as a real one. There is a system level flag that is true when the site runs in test mode, I would like to trigger the visibility of the background image that is a watermark ONLY when that variable is TRUE. At this time I am able to pass a report parameter with this test mode variable, but can't find a way to trigger the visibility of the background image.
Please let me know if any more information is need or further clarification.
Thanks.
Well, I figured it out quicker than I expected. The trick in this case was to use an Expression for the BackgroundImage property's value (the source is set to Embedded). In my case it looked something like this:
=iif(Parameters!ShowTestWaterMark.Value, "WatermarkVoid1", nothing)
Where Parameters!ShowTestWaterMark.Value is the parameter of True or False, and the "WatermarkVoid1" was the name of the embedded image.
While this doesn't directly toggle the visibility of the image, it does meet my requirements to only have the image shown in a specific case.

How can I add hotkeys with Safari extension

Can I listen to hotkeys with safari extension?
I want to respond to Cmd+SomeKey with action done by extension, but I've read intro on apple developer and there is nothing about hotkeys.
You can add custom buttons to the Safari toolbar, create bars of your own, add contextual menu items, display content in bars or tabs, and inject scripts and style sheets into webpages.
No single word about hotkeys, and google doesn't find any article about that. So is it possible at all? If it is possible, where can I get additional info?
It can be done -- someone helped me to set it up for my browser window resizer extension. You need to have an injected script that checks for a specific keypress/combo then send a message back to your toolbar or global page. Here's an example on github of an inject script to monitor for specific keypresses (alt-1 to alt-0) and here's an example of doing something with the message lines 92-108 & 131 of this toolbar page.

Reset NSToolbar back to default configuration

I programatically create an NSToolbar in my application. I just added a new button to the toolbar and added that button to the default configuration of the toolbar. When I run my application the new button is not shown by default. That's because I already have been using the program and I already have a plist file in which this new button is not setup to be shown.
So my question is how can I get the toolbar to reset its current configuration back to the default configuration so that my button will be shown automatically for people who have been using the application.
I guess I could delete the entries in the plist file to force the program to recreate them and thus use the default configuration... but I was hoping there was was some command I could issue to reset it. I didn't see one in the NSToolbar class.
Thanks for any help.
If you add a new button to your toolbar's default configuration it will not appear for users which have customized the toolbar and have settings stored in the user defaults.
If you want to force the new default toolbar on users which have perviously customized the toolbar, changing the autosave name (by appending a version number, for example) is the way to do so. (Consider whether you want to blow away your user's toolbar customizations though.)
Well I deleted the appropriate key in the plist file and it worked. I'd still rather know a better way so if you have any better ideas let me know.