Click here to Skip to main content
15,889,176 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Tree View Control Pin
Geoff Williams24-Feb-11 6:50
Geoff Williams24-Feb-11 6:50 
AnswerRe: Tree View Control Pin
Ali Al Omairi(Abu AlHassan)26-Feb-11 4:07
professionalAli Al Omairi(Abu AlHassan)26-Feb-11 4:07 
Questionrequired source code of Online admission sytem in asp.net Pin
sunny mehra23-Feb-11 16:23
sunny mehra23-Feb-11 16:23 
AnswerRe: required source code of Online admission sytem in asp.net Pin
Anurag Gandhi23-Feb-11 19:59
professionalAnurag Gandhi23-Feb-11 19:59 
AnswerRe: required source code of Online admission sytem in asp.net Pin
R. Giskard Reventlov23-Feb-11 21:56
R. Giskard Reventlov23-Feb-11 21:56 
AnswerRe: required source code of Online admission sytem in asp.net Pin
Ravi Sant23-Feb-11 23:38
Ravi Sant23-Feb-11 23:38 
AnswerRe: required source code of Online admission sytem in asp.net Pin
Keith Barrow24-Feb-11 0:24
professionalKeith Barrow24-Feb-11 0:24 
QuestionAJAX Calender and SQL Server Pin
SarfarajAhmed23-Feb-11 13:48
SarfarajAhmed23-Feb-11 13:48 
Hello Experts!

I am from U.K. and my server hosted in U.S.

I am using Ajax Calender on my page. Ajax Calender Date Format (MM/dd/yyyy) is working fine for retrieving particular data from SQL Server (Localhost and Web Server). But I need U.K. date format which is dd/MM/yyyy. For this reason I have used the following function:

Private Function SelectDate() As String<br />
       Dim NewDate As String = ""<br />
       Try<br />
           Dim SelectedDate As DateTime = txtSelectDate.Text.ToString()<br />
           NewDate = SelectedDate.ToString("MM/dd/yyyy")<br />
       Catch ex As Exception<br />
           lblmessage.Text = "Please put a valid date !! (date format should be dd/mm/yyyy)"<br />
       End Try<br />
       Return NewDate<br />
   End Function


It's working fine on localhost but the problem is:

After publishing on hosting server it's not working properly. Ajax Calender format is dd/MM/yyyy but after clicking btnSearch date format is being changed to MM/dd/yyyy! and I can not retrieve correct information.

Waiting for your advise!
AnswerRe: AJAX Calender and SQL Server Pin
R. Giskard Reventlov23-Feb-11 22:03
R. Giskard Reventlov23-Feb-11 22:03 
GeneralRe: AJAX Calender and SQL Server Pin
SarfarajAhmed23-Feb-11 22:52
SarfarajAhmed23-Feb-11 22:52 
GeneralRe: AJAX Calender and SQL Server Pin
R. Giskard Reventlov24-Feb-11 1:45
R. Giskard Reventlov24-Feb-11 1:45 
GeneralRe: AJAX Calender and SQL Server Pin
SarfarajAhmed24-Feb-11 11:01
SarfarajAhmed24-Feb-11 11:01 
Questionmultiple calls to Sys.Application.notifyScriptLoaded() Pin
Ali AlOmairi (TJIC)23-Feb-11 3:27
Ali AlOmairi (TJIC)23-Feb-11 3:27 
AnswerRe: multiple calls to Sys.Application.notifyScriptLoaded() Pin
omar ibrahim23-Feb-11 11:59
omar ibrahim23-Feb-11 11:59 
GeneralRe: multiple calls to Sys.Application.notifyScriptLoaded() Pin
Ali Al Omairi(Abu AlHassan)23-Feb-11 12:05
professionalAli Al Omairi(Abu AlHassan)23-Feb-11 12:05 
QuestionIframe page login not working fine in IE...,But working fine in Mozila browser..., Pin
Member 387988122-Feb-11 22:29
Member 387988122-Feb-11 22:29 
Questionthe opposite of Page_Validate Pin
Ali Al Omairi(Abu AlHassan)22-Feb-11 4:44
professionalAli Al Omairi(Abu AlHassan)22-Feb-11 4:44 
AnswerRe: the opposite of Page_Validate Pin
JV999923-Feb-11 0:11
professionalJV999923-Feb-11 0:11 
GeneralRe: the opposite of Page_Validate Pin
Ali Al Omairi(Abu AlHassan)23-Feb-11 1:40
professionalAli Al Omairi(Abu AlHassan)23-Feb-11 1:40 
GeneralRe: the opposite of Page_Validate Pin
JV999923-Feb-11 2:40
professionalJV999923-Feb-11 2:40 
GeneralRe: the opposite of Page_Validate Pin
GenJerDan23-Feb-11 4:18
GenJerDan23-Feb-11 4:18 
GeneralRe: the opposite of Page_Validate Pin
JV999923-Feb-11 4:43
professionalJV999923-Feb-11 4:43 
GeneralRe: the opposite of Page_Validate Pin
GenJerDan23-Feb-11 4:46
GenJerDan23-Feb-11 4:46 
GeneralRe: the opposite of Page_Validate [modified] Pin
Not Active23-Feb-11 6:34
mentorNot Active23-Feb-11 6:34 
GeneralRe: the opposite of Page_Validate Pin
Ali Al Omairi(Abu AlHassan)23-Feb-11 10:41
professionalAli Al Omairi(Abu AlHassan)23-Feb-11 10:41 

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.