Click here to Skip to main content
15,927,694 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: common methods problems Pin
manish.singhal6-Feb-08 0:50
manish.singhal6-Feb-08 0:50 
GeneralRe: common methods problems Pin
eyeseetee6-Feb-08 1:05
eyeseetee6-Feb-08 1:05 
GeneralRe: common methods problems Pin
manish.singhal6-Feb-08 1:25
manish.singhal6-Feb-08 1:25 
GeneralRe: common methods problems Pin
eyeseetee6-Feb-08 2:15
eyeseetee6-Feb-08 2:15 
Questionsimple: need help handling a gridview against parameters Pin
Shimmy Weitzhandler5-Feb-08 23:23
Shimmy Weitzhandler5-Feb-08 23:23 
GeneralCreating Pop up menus Pin
dilipv5-Feb-08 23:22
dilipv5-Feb-08 23:22 
Generallist box control Pin
Ida_merry5-Feb-08 23:13
Ida_merry5-Feb-08 23:13 
GeneralJavascript Error Pin
danasegaranea5-Feb-08 22:38
danasegaranea5-Feb-08 22:38 
Hi all,
I am using this code to open a new window on the lostfocus of a text box
<input class="SaveHistory" onkeypress="window.event.returnValue = BacoValidateDate(window.event.keycode)"
							id="txtStartdate" onkeydown="SelectStartDate_keydown" onBlur="SelectStartDate_Blur"
							title="F2 - Calendar" type="text" maxLength="10" onchange="window.InvalidFlag_StartDate.innerHTML=Empty"
							size="10" name="txtStartdate" runat="server"><font size="1">&nbsp;(<%= strDateStringValue%>)</font>
						<script language="VBS">



And
<script language="VBS">
							Sub SelectStartDate_clicked
								Dim curDate, calurl, d, curDate2
								curDate = Baco.txtStartDate.Value
								calUrl = "..\..\Calendar.asp"
								If Len(curDate) > 0 Then calUrl = calUrl & "?Date=" & curDate
								d = window.showModalDialog(calUrl, ,"dialogHeight:320px;dialogwidth:315px")
								If Not IsEmpty(d) Then
									Baco.txtStartDate.Value = d
										InvalidFlag_StartDate.innerHTML = Empty
								End If
							End Sub
							Sub SelectStartDate_keydown
								If window.event.keycode=113 Then
									SelectStartDate_clicked
									window.event.returnValue = False
								End If
							End Sub
							Sub SelectStartDate_Blur
							    If <%=Request.QueryString("Action")%> = 4 Then
									window.location="Mypage.aspx?Res_Id=<%=Request.QueryString("Res_Id")%>&Cycle=" & Baco.txtCycle.value  & "&SchCode=<%=Request.QueryString("SchCode")%>&Action=4&StartDate=" & Baco.txtStartDate.Value & "&sCode=" &  Baco.txtSchcode.value
									'Window.location="solWorkSchedule.aspx"
									'window.alert("hai")
							    End If
							End Sub
						</script>



But I getting the javascript error msg as "Object Doesnot support this method in the blur event". Can some one help


Dana
AnswerRe: Javascript Error Pin
danasegaranea5-Feb-08 23:46
danasegaranea5-Feb-08 23:46 
GeneralAllow user to access limited pages Pin
Satish - Developer5-Feb-08 22:23
Satish - Developer5-Feb-08 22:23 
GeneralRe: Allow user to access limited pages Pin
Sandeep Akhare6-Feb-08 1:15
Sandeep Akhare6-Feb-08 1:15 
GeneralRe: Allow user to access limited pages Pin
Satish - Developer6-Feb-08 1:38
Satish - Developer6-Feb-08 1:38 
GeneralRe: Allow user to access limited pages Pin
Member 38798816-Feb-08 18:05
Member 38798816-Feb-08 18:05 
GeneralRe: Allow user to access limited pages Pin
manish.singhal6-Feb-08 1:55
manish.singhal6-Feb-08 1:55 
GeneralRe: Allow user to access limited pages Pin
Sandeep Akhare6-Feb-08 23:57
Sandeep Akhare6-Feb-08 23:57 
GeneralRe: Allow user to access limited pages Pin
manish.singhal10-Feb-08 21:48
manish.singhal10-Feb-08 21:48 
QuestionUser selectable columns. Pin
Tanmay Broachwala5-Feb-08 21:16
Tanmay Broachwala5-Feb-08 21:16 
QuestionAnchor Tag Pin
sirisha guttikonda5-Feb-08 20:51
sirisha guttikonda5-Feb-08 20:51 
GeneralWrong forum Pin
pmarfleet5-Feb-08 21:13
pmarfleet5-Feb-08 21:13 
QuestionHow to Get the Updated Values in DetailsView Which should reflect in GridView Pin
usyra425-Feb-08 20:03
usyra425-Feb-08 20:03 
GeneralI want to integrate my website with paypal Pin
Satish - Developer5-Feb-08 18:55
Satish - Developer5-Feb-08 18:55 
GeneralRe: I want to integrate my website with paypal Pin
Malcolm Smart5-Feb-08 21:08
Malcolm Smart5-Feb-08 21:08 
GeneralADROTATOR Pin
Raam5-Feb-08 17:53
Raam5-Feb-08 17:53 
GeneralRe: ADROTATOR Pin
Malcolm Smart5-Feb-08 21:46
Malcolm Smart5-Feb-08 21:46 
GeneralRe: ADROTATOR Pin
Raam5-Feb-08 23:00
Raam5-Feb-08 23:00 

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.