Click here to Skip to main content
15,867,568 members
Home / Discussions / C#
   

C#

 
GeneralRe: Convert "\\r\\n" into "\r\n" Pin
Ashfaque Hussain18-Feb-14 0:39
Ashfaque Hussain18-Feb-14 0:39 
AnswerRe: Convert "\\r\\n" into "\r\n" Pin
Pete O'Hanlon17-Feb-14 20:50
subeditorPete O'Hanlon17-Feb-14 20:50 
GeneralRe: Convert "\\r\\n" into "\r\n" Pin
Ashfaque Hussain17-Feb-14 22:58
Ashfaque Hussain17-Feb-14 22:58 
GeneralRe: Convert "\\r\\n" into "\r\n" Pin
Ashfaque Hussain18-Feb-14 0:35
Ashfaque Hussain18-Feb-14 0:35 
GeneralRe: Convert "\\r\\n" into "\r\n" Pin
Ashfaque Hussain19-Feb-14 1:43
Ashfaque Hussain19-Feb-14 1:43 
GeneralRe: Convert "\\r\\n" into "\r\n" Pin
Pete O'Hanlon19-Feb-14 3:09
subeditorPete O'Hanlon19-Feb-14 3:09 
AnswerRe: Convert "\\r\\n" into "\r\n" Pin
Anand Gunasekaran17-Feb-14 21:33
professionalAnand Gunasekaran17-Feb-14 21:33 
QuestionDatetime can't be change to other format [dd/MM/yyyy] to [MM/dd/yyyy],[yyyy/MM/dd],... like that I am Jquery in asp.net,c# Pin
pkarthionline17-Feb-14 17:51
pkarthionline17-Feb-14 17:51 
Hi,
Datetime can't be change to other format [dd/MM/yyyy] to [MM/dd/yyyy],[yyyy/MM/dd],... like that

<pre lang="text">
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="JqueryDate.aspx.cs" Inherits="DtPicker.JqueryDate" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head >
<title></title>
<script src="Scripts/jquery-1.7.1.min.js"></script>
<script src="Scripts/jquery.jdpicker.js"></script>
<link href="Scripts/jdpicker.css" rel="stylesheet" />

</head>
<script type="text/javascript">
// $(document).ready(function () {

// });

$("#Country").change(function () {
var ddl_value = $('#Country').val();
//$("#test1").val(ddl_value);
$("#dt").val(ddl_value);
location.reload(); // datepicker select to reload
})


$('#dt').jdPicker({
date_format: $("#dt").val()
//date_format:"MM dd YYYY"
})

</script>
<body>
<form id="form1" runat="server">
<select id="Country">
<option value="dd/mm/YYYY">Ind dd/mm/YYYY</option>
<option value="FF dd YYYY">Russia FF dd YYYY</option>
<option value="dd MM YYYY">Qatar dd MM YYYY</option>
<option value="MM dd YYYY">Japan MM dd YYYY</option>
<option value="dd FF YYYY">Singapore dd FF YYYY</option>
<option value="YYYY/mm/dd">Canada YYYY/mm/dd</option>
</select>
<div class="jdpicker_w">
<p>Date:<input type="text" id="dt" size="30" class="jdpicker"/></p>
</div>
</form>
</body>
</html>

</pre>




//=================================================================================================
// JS file
//=================================================================================================

http://jdpicker.paulds.fr/?p=demo

I am using this datetime picker.

how to solve this issue?


Thanks,
Karthikeyan,Bangalore
AnswerRe: Datetime can't be change to other format [dd/MM/yyyy] to [MM/dd/yyyy],[yyyy/MM/dd],... like that I am Jquery in asp.net,c# Pin
V.17-Feb-14 19:37
professionalV.17-Feb-14 19:37 
AnswerRe: Datetime can't be change to other format [dd/MM/yyyy] to [MM/dd/yyyy],[yyyy/MM/dd],... like that I am Jquery in asp.net,c# Pin
Kornfeld Eliyahu Peter17-Feb-14 20:02
professionalKornfeld Eliyahu Peter17-Feb-14 20:02 
RantRe: Datetime can't be change to other format [dd/MM/yyyy] to [MM/dd/yyyy],[yyyy/MM/dd],... like that I am Jquery in asp.net,c# Pin
Richard Deeming18-Feb-14 0:58
mveRichard Deeming18-Feb-14 0:58 
Questionhow to count 3 seconds before running the code? Pin
Jassim Rahma17-Feb-14 3:31
Jassim Rahma17-Feb-14 3:31 
SuggestionRe: how to count 3 seconds before running the code? Pin
Richard MacCutchan17-Feb-14 4:23
mveRichard MacCutchan17-Feb-14 4:23 
AnswerRe: how to count 3 seconds before running the code? Pin
Luojana17-Feb-14 8:08
Luojana17-Feb-14 8:08 
QuestionCharacters are missing in Serial Port Communication Pin
Ashfaque Hussain16-Feb-14 19:10
Ashfaque Hussain16-Feb-14 19:10 
AnswerRe: Characters are missing in Serial Port Communication Pin
OriginalGriff16-Feb-14 20:09
mveOriginalGriff16-Feb-14 20:09 
GeneralRe: Characters are missing in Serial Port Communication Pin
Ashfaque Hussain16-Feb-14 22:41
Ashfaque Hussain16-Feb-14 22:41 
GeneralRe: Characters are missing in Serial Port Communication Pin
OriginalGriff16-Feb-14 22:47
mveOriginalGriff16-Feb-14 22:47 
GeneralRe: Characters are missing in Serial Port Communication Pin
Marco Bertschi17-Feb-14 1:06
protectorMarco Bertschi17-Feb-14 1:06 
GeneralRe: Characters are missing in Serial Port Communication Pin
OriginalGriff17-Feb-14 1:31
mveOriginalGriff17-Feb-14 1:31 
GeneralRe: Characters are missing in Serial Port Communication Pin
Marco Bertschi17-Feb-14 1:44
protectorMarco Bertschi17-Feb-14 1:44 
AnswerRe: Characters are missing in Serial Port Communication Pin
Marco Bertschi17-Feb-14 1:14
protectorMarco Bertschi17-Feb-14 1:14 
QuestionStarting a new project in C# Pin
FilipJ16-Feb-14 15:18
FilipJ16-Feb-14 15:18 
AnswerRe: Starting a new project in C# Pin
Mycroft Holmes16-Feb-14 16:06
professionalMycroft Holmes16-Feb-14 16:06 
GeneralRe: Starting a new project in C# Pin
FilipJ16-Feb-14 16:55
FilipJ16-Feb-14 16:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.