Date picker does not align in UIKit - uiviewcontroller

When adding the date picker to my view controller, and after adding constraints to the date picker, the alignment of the date picker goes to the right edge. When I change the Preferred Style of the date picker from automatic to compact the alignment goes to the right. The alignment also goes to the right when I run the app and the preferred style is set to automatic. I've also tested with the Attributes Inspector to no success.

Related

Yii2 full calendar custom button?

I'm trying to add a custom button into yii2 full calendar, but doesn't work for me.
Basically, I want to include a button as part of the full calendar view, i.e., next to the month and date. This button should be to the left of the calendar header.
I'm using customButton from Full Calendar, but this doesn't work.
Thanks for any help.
Support for customButtons is supported in version 2.4.0. Make sure you're using this version or higher.

How to hide "clear" button in Safari's native date picker?

I have a non-nullable date field which I present in the following HTML element:
<input type="date" value="(enter date value here)"/>
By default there will always be a date in this field. However, iOS's native datepicker comes with the ability to clear the date.
There's code to validate on both the client and server that this field cannot be empty. Still, I'd rather not have this button shown at all to the user.
Is there a way I can hide it, using a special attribute or something? I don't care if the solution is targetted at iOS's Safari only.
When the dateTimePicker is called, you could try and add a UIView over the picker with the appropriate background color to hide the button.
Alternatively, consider that 'clear' in the context of your app could mean 'clear what the user has selected to let them start fresh.' If they hit the clear button, just insert today or whatever date you want as a default date.

How to display html webresource on top of MS dynamcis CRM main page

I have created a HTML web resource which contains jQuery DateTime Picker control customized as per my needs. When I add it to the CRM entity page it shows an input fields as usual. However when I click into this input field, the DateTime picker control gets opened but not visible completely on the CRM page.
Can anyone help me to get this?
I'm afraid that this is an issue with iframes and browser security. Please see This Post for the reasoning.
I see that you have two options. You can use unsupported methods to add the date picker control to the CRM form page, which would take some somewhat-serious hacking or you could expand the web resource to accommodate the date picker control.

HTML Input Type Date - Select and Collapse

When using an input type date in HTML5, after the user clicks on a date, the calendar stays expanded forcing them to click away from the calendar to make it collapse. I'd like for this to happen in a single click (i.e. when they click on the calendar, the date is recorded, the calendar collapses and they can get on to other business). Can anyone tell me how to do this? Thanks!
<label>Date</label>
<input type="date" id="my_date">
You could do it by using a jQuery plugin such as datepicker from jQuery UI:
http://jqueryui.com/datepicker/
You could also use webshims, which polyfills incapable browsers and gives you nice custom widgets on top of HTML5 form inputs. Here is a demo, which includes some examples with different configurations.
webshims.polyfill('forms forms-ext');

Display text vertically start from bottom to top in rdlc 2010

I want to display text in column header of ssrs 2010 like below image.
i am able to display text vertically but it will display text top to bottom.
I am using visual studio 2010 and local report (RDLC file).
Version 2008 and earlier don't have this feature, see this Microsoft Connect issue.
For SSRS 2008-R2 you should be able to do this, from the MSDN tutorial:
Create a new report or open an existing report.
If the Properties pane is not open, click the View tab and select the Properties check box.
Click the text box for which you want to change text orientation.
Locate the WritingMode property in the Properties pane and in the drop-down list select the text orientation to apply to the text box.
Note: When the properties in the Properties pane are organized into categories, WritingMode is in the Localization category.
In the list box, select Horizontal, Vertical, or Rotate270.
The Rotate270 value is the option you're looking for.
Although Jeroen is correct in his statement in that it is not possible without the use of Rotate 270, if all you want to do is display a static word (like "Category"?) you can do the below method. Unfortunately, for those that want to display an <<Expr>> in this format, this method obviously would not work.
For those of us that do not have this feature, but still want to implement it, what I did was:
Create the text/textbox I wanted to use in Microsoft word and rotate it to the orientation I wanted to use in my report
Take a screenshot, a snip using the Snipping tool, whatever you want to get an image of the text/textbox
Using the toolbox, insert the snip into your report
This visually looks like it did the trick.
#Liquid Core to your comment, I am not sure how you found these options.