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

C#

 
GeneralRe: Convert "\\r\\n" into "\r\n" Pin
Ashfaque Hussain18-Feb-14 1:39
Ashfaque Hussain18-Feb-14 1:39 
AnswerRe: Convert "\\r\\n" into "\r\n" Pin
Pete O'Hanlon17-Feb-14 21:50
mvaPete O'Hanlon17-Feb-14 21:50 
GeneralRe: Convert "\\r\\n" into "\r\n" Pin
Ashfaque Hussain17-Feb-14 23:58
Ashfaque Hussain17-Feb-14 23:58 
GeneralRe: Convert "\\r\\n" into "\r\n" Pin
Ashfaque Hussain18-Feb-14 1:35
Ashfaque Hussain18-Feb-14 1:35 
GeneralRe: Convert "\\r\\n" into "\r\n" Pin
Ashfaque Hussain19-Feb-14 2:43
Ashfaque Hussain19-Feb-14 2:43 
GeneralRe: Convert "\\r\\n" into "\r\n" Pin
Pete O'Hanlon19-Feb-14 4:09
mvaPete O'Hanlon19-Feb-14 4:09 
AnswerRe: Convert "\\r\\n" into "\r\n" Pin
Anand Gunasekaran17-Feb-14 22:33
professionalAnand Gunasekaran17-Feb-14 22: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 18:51
pkarthionline17-Feb-14 18: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 20:37
professionalV.17-Feb-14 20: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 21:02
professionalKornfeld Eliyahu Peter17-Feb-14 21: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 1:58
mveRichard Deeming18-Feb-14 1:58 
Questionhow to count 3 seconds before running the code? Pin
Jassim Rahma17-Feb-14 4:31
Jassim Rahma17-Feb-14 4:31 
SuggestionRe: how to count 3 seconds before running the code? Pin
Richard MacCutchan17-Feb-14 5:23
mveRichard MacCutchan17-Feb-14 5:23 
AnswerRe: how to count 3 seconds before running the code? Pin
Luojana17-Feb-14 9:08
Luojana17-Feb-14 9:08 
QuestionCharacters are missing in Serial Port Communication Pin
Ashfaque Hussain16-Feb-14 20:10
Ashfaque Hussain16-Feb-14 20:10 
AnswerRe: Characters are missing in Serial Port Communication Pin
OriginalGriff16-Feb-14 21:09
mvaOriginalGriff16-Feb-14 21:09 
GeneralRe: Characters are missing in Serial Port Communication Pin
Ashfaque Hussain16-Feb-14 23:41
Ashfaque Hussain16-Feb-14 23:41 
GeneralRe: Characters are missing in Serial Port Communication Pin
OriginalGriff16-Feb-14 23:47
mvaOriginalGriff16-Feb-14 23:47 
GeneralRe: Characters are missing in Serial Port Communication Pin
Marco Bertschi17-Feb-14 2:06
professionalMarco Bertschi17-Feb-14 2:06 
GeneralRe: Characters are missing in Serial Port Communication Pin
OriginalGriff17-Feb-14 2:31
mvaOriginalGriff17-Feb-14 2:31 
GeneralRe: Characters are missing in Serial Port Communication Pin
Marco Bertschi17-Feb-14 2:44
professionalMarco Bertschi17-Feb-14 2:44 
AnswerRe: Characters are missing in Serial Port Communication Pin
Marco Bertschi17-Feb-14 2:14
professionalMarco Bertschi17-Feb-14 2:14 
QuestionStarting a new project in C# Pin
FilipJ16-Feb-14 16:18
FilipJ16-Feb-14 16:18 
AnswerRe: Starting a new project in C# Pin
Mycroft Holmes16-Feb-14 17:06
professionalMycroft Holmes16-Feb-14 17:06 
GeneralRe: Starting a new project in C# Pin
FilipJ16-Feb-14 17:55
FilipJ16-Feb-14 17: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.