datetimepicker

How can I change the size of popup of datetime picker in .net?

心已入冬 提交于 2019-12-13 08:35:48
问题 I want to increase the size of popup as well as the size of font of popup of datetime picker. The change is done in above red block portion of datetime picker. 回答1: You cannot change the size, it is hard-baked in the native Windows component that implements the calendar. Also obvious from the MonthCalendar class (same animal as the DTP dropdown), note how dragging the sizing handles does nothing at all. And how changing the Font has no effect. Inflexible but not really a problem, any other

String was no recognized as a valid Date TIme Error in Desktop Application

 ̄綄美尐妖づ 提交于 2019-12-13 07:07:12
问题 I have developed an application which is compatible with .net Framework 3.5 to run the build of it in other applications also. The O. S. of built application is Windows 7. And when I run the build in Windows XP this error occurs for following code: dtBillDate.Text = ds.Tables[0].Rows[0]["Dt"].ToString(); Here dtBillDate is a DateTimePickerControl. And the SQL query to fill ds records is: query = "Select M.BillNo,M.PartyName,M.Address,M.City,M.State,M.TaxType, M.BillType,FORMAT(M.BillDt,'dd-mm

Why are the key elements of the anytime jQuery plugin blending in with the background/invisiblized?

柔情痞子 提交于 2019-12-13 06:27:36
问题 The anytime jQuery plugin has its key elements (current month, day, year, hour, etc.) "blanked out" as shown below. Why, but more importantly, how to put some starch back into those key elements? BTW, this is in jsfiddle, so I don't have any "fancy" CSS working behind the scenes; the only CSS I've added is extremely minimal, to wit: labelText { font-family: verdana; white-space: nowrap; } UPDATE Still showing white text on a yellow background in Visual Studio/browserland: 回答1: This has to be

Date format changing after reload page in rails 4 using datetimepicker

天涯浪子 提交于 2019-12-13 04:31:36
问题 I've noticed something strange in my app. When I enter to the main page here: http://leszczyna.wzks.uj.edu.pl/12_stolarski/events_for_seniors/ and click on the second field in search and pick something, the date format appearing is ' dd-mm-yyyy '. But when I click in the top left-hand corner 'Wydarzenia dla seniorów' date format is changing to ' dd/mm/yyyy '. I've noticed that locale is appearing in URL but have no idea if it has impact on that behavior. What is more, when I refresh page

How to show date in datetimepicker when datagridview is clicked?

怎甘沉沦 提交于 2019-12-13 03:55:02
问题 I'm using vb.net. When I try to click the DataGridView to show the data in the DateTimePicker I get an error: Value of '1/1/0001 12:00:00 AM' is not valid for Value . Value should be between MinDate and MaxDate . I need your help. 来源: https://stackoverflow.com/questions/55371311/how-to-show-date-in-datetimepicker-when-datagridview-is-clicked

eonasdan DateTimePicker autoclose doesn't work

自古美人都是妖i 提交于 2019-12-13 02:48:39
问题 If I removed the autoclose it works fine. How to autoclose datetimepicker. I've been searching on this but couldn't find useful information. $('#start_schedule').datetimepicker({ format: 'HH:mm', autoclose: true }); 回答1: It doesn't work actually according to documentation. If you will use showClose: true , it won't recognize, you will get an error. There is no other way rather than using this code in the docs. Hope this help. <div class="container"> <div class="row"> <div class='col-sm-6'>

DateTimePicker not working inside jqGrid. But it's working outside of it

ぃ、小莉子 提交于 2019-12-13 00:22:38
问题 I have a field in jqGrid where I want to use a dataTimePicker. I am using this plugin, http://plugins.jquery.com/datetimepicker/. I am able to create a dateTimePicker outside of the jqGrid as shown in the example in the site above. However, when I try to implement the datetimepicker inside of the jqGrid, it is not working. I am able to implement a datepicker inside of the jqGrid and it's working perfectly. Here's the code <script type="text/javascript"> $("#grid").jqGrid({ url: 'listJSON',

MVC4 DateTimePicker cannot find icon-time and icon-calendar

心不动则不痛 提交于 2019-12-12 23:08:19
问题 I´m using DateTime picker from from this link to get date AND time from user. I´m using bootstrap. Here is my code: <div id="startDateTimePicker" class="input-append date"> Data e Hora Inícial do Gráfico <input id="plotStartDate" name="StartDate" data-format="dd/MM/yyyy hh:mm:ss" value="startDateTime" type="text" /> <span class="add-on"> <i data-time-icon="icon-time" data-date-icon="icon-calendar"></i> </span> </div> <div id="endDateTimePicker" class="input-append date"> Data e Hora Final do

Angular ng-pick-datetime - Disable the input based on a condition

别说谁变了你拦得住时间么 提交于 2019-12-12 23:04:21
问题 I'm working on Angular 8 and I'm using ng-pick-datetime plugin. I wish to disable the date time picker as well as the input element that triggers it based on a condition dynamically. I tried to search but couldn't find any solution. Following is my code:- <input type="text" style="cursor: pointer; border: none; height: 25px; text-align: center; font-size: small; box- shadow: 0 0 0 0 white !important;" placeholder="DD MMM YYYY" class="datepicker" id="date" [disabled]="!editable" #date

Using bootstrap-datetime picker with Vuejs 2

巧了我就是萌 提交于 2019-12-12 19:16:19
问题 I wanted to integrate Datetime picker with vue 2 or webpack. I tried searching but couldn't find related article. Have anyone integrated the Datetime picker with Vue2 or webpack, is there any sample code available for reference? Any help would be highly appreciated. Thanks. 回答1: You can sure find some issues on the subject by just Googling vuejs bootstrap datetimepicker , but honestly I'm not sure VueJS is well tailored to work with Bootstrap, that already have its own (jQuery) logic. There