Click here to Skip to main content
15,896,154 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionSetting ACE is very slow for folder with many files and subfolders. Pin
sumB30-Aug-13 19:12
sumB30-Aug-13 19:12 
AnswerRe: Setting ACE is very slow for folder with many files and subfolders. Pin
Richard MacCutchan30-Aug-13 22:07
mveRichard MacCutchan30-Aug-13 22:07 
GeneralRe: Setting ACE is very slow for folder with many files and subfolders. Pin
sumB1-Sep-13 6:27
sumB1-Sep-13 6:27 
GeneralRe: Setting ACE is very slow for folder with many files and subfolders. Pin
Manfred Rudolf Bihy1-Sep-13 7:39
professionalManfred Rudolf Bihy1-Sep-13 7:39 
QuestionRegarding input controls to use on Forums Pin
Karteek Panakani28-Aug-13 22:32
Karteek Panakani28-Aug-13 22:32 
AnswerRe: Regarding input controls to use on Forums Pin
Richard Deeming29-Aug-13 2:30
mveRichard Deeming29-Aug-13 2:30 
AnswerRe: Regarding input controls to use on Forums Pin
Forbiddenx30-Aug-13 3:49
Forbiddenx30-Aug-13 3:49 
Questionset inputfield value using java in ASP.net Pin
happysoul28-Aug-13 21:45
happysoul28-Aug-13 21:45 
Hello,

I have a web app which uses a java Calandar control, de selected date is written to SQLserver, then on reloading the page the data is retrieved from sqlserver, and needs to set the value of the calendar input field:

This is the Sub to execute my java script:

VB
Public Sub RunJS(ByVal Source As Page, ByVal Script As String)
      Dim strscript As String = Script
      If (Not Source.ClientScript.IsStartupScriptRegistered("clientScript")) Then
          Source.ClientScript.RegisterStartupScript(Source.GetType(), "clientScript", strscript)
      End If
  End Sub


And I use the following code to call this sub:

Dim JavaString As String
Dim IJT As New IJssel
JavaString = " var elem = document.getElementById(""Text2"");elem.value = ""Boe"";"
JavaString = JavaString.Replace("Boe", PMDate.Text)
IJT.RunJS(Me.Page, JavaString)

JavaString = " var elem = document.getElementById(""Text1"");elem.value = ""Boe"";"
JavaString = JavaString.Replace("Boe", CmDate.Text)
IJT.RunJS(Me.Page, JavaString)


The strange thing is that the first field Text2 is filled, and the next Text1 remains empty.

I do execute this code after full pageload, and also checekd the variables CMdate.text and PMdate.text, they both have a Datevalue.

I allready regret Using a Java Calendar control, but had no choice since asp.net datepicker control is not able to be in a popup window.

I hope someone can hand me a solution ?
Thx
SuggestionRe: set inputfield value using java in ASP.net Pin
Richard Deeming29-Aug-13 2:27
mveRichard Deeming29-Aug-13 2:27 
GeneralRe: set inputfield value using java in ASP.net Pin
happysoul29-Aug-13 2:51
happysoul29-Aug-13 2:51 
GeneralRe: set inputfield value using java in ASP.net Pin
Richard Deeming29-Aug-13 2:56
mveRichard Deeming29-Aug-13 2:56 
GeneralRe: set inputfield value using java in ASP.net Pin
happysoul29-Aug-13 3:34
happysoul29-Aug-13 3:34 
QuestionAjax Form URL from List<ViewModel> Pin
eddieangel28-Aug-13 7:16
eddieangel28-Aug-13 7:16 
QuestionDesign Ideas - List Of Custom controls. Pin
Forbiddenx28-Aug-13 5:57
Forbiddenx28-Aug-13 5:57 
GeneralRe: Design Ideas - List Of Custom controls. Pin
AmitGajjar2-Sep-13 21:05
professionalAmitGajjar2-Sep-13 21:05 
Questionbasic questions about viewstate Pin
ThetaClear26-Aug-13 22:16
ThetaClear26-Aug-13 22:16 
AnswerRe: basic questions about viewstate Pin
Keith Barrow28-Aug-13 6:21
professionalKeith Barrow28-Aug-13 6:21 
GeneralRe: basic questions about viewstate Pin
ThetaClear28-Aug-13 7:02
ThetaClear28-Aug-13 7:02 
QuestionHow to insert Header Rows into Gridview with custom method? Pin
arcadeRob26-Aug-13 6:57
arcadeRob26-Aug-13 6:57 
QuestionMenu Navigation Pin
Codes DeCodes26-Aug-13 0:37
Codes DeCodes26-Aug-13 0:37 
AnswerRe: Menu Navigation Pin
Paramu197326-Aug-13 4:10
Paramu197326-Aug-13 4:10 
GeneralRe: Menu Navigation Pin
Codes DeCodes26-Aug-13 18:48
Codes DeCodes26-Aug-13 18:48 
AnswerRe: Menu Navigation Pin
Priyanka Bhagwat28-Aug-13 21:33
professionalPriyanka Bhagwat28-Aug-13 21:33 
GeneralRe: Menu Navigation Pin
Codes DeCodes30-Aug-13 0:45
Codes DeCodes30-Aug-13 0:45 
QuestionUpdatePanel Image -Update Pin
Paramu197325-Aug-13 21:53
Paramu197325-Aug-13 21:53 

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.