Click here to Skip to main content
15,914,447 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Login/Logout Problem Pin
Sundeep Ganiga1-Apr-09 20:01
Sundeep Ganiga1-Apr-09 20:01 
GeneralRe: Login/Logout Problem Pin
anilpal1-Apr-09 21:52
anilpal1-Apr-09 21:52 
GeneralRe: Login/Logout Problem Pin
Sundeep Ganiga1-Apr-09 22:53
Sundeep Ganiga1-Apr-09 22:53 
AnswerRe: Login/Logout Problem Pin
specialdreamsin1-Apr-09 23:09
specialdreamsin1-Apr-09 23:09 
AnswerRe: Login/Logout Problem Pin
specialdreamsin1-Apr-09 21:54
specialdreamsin1-Apr-09 21:54 
AnswerRe: Login/Logout Problem [modified] Pin
kumar_k5081-Apr-09 23:18
kumar_k5081-Apr-09 23:18 
AnswerRe: Login/Logout Problem Pin
Alok Sharma ji2-Apr-09 12:56
Alok Sharma ji2-Apr-09 12:56 
QuestionUnterminated string constant Pin
rakeshs3121-Apr-09 18:28
rakeshs3121-Apr-09 18:28 
Hi all,

below is my aspx page ,when it is loading it showing the error
"Unterminated string constant". Pls suggest any solutions
<%@ Page language="c#" Codebehind="Schedule.aspx.cs" AutoEventWireup="True" Inherits="ATTAWebAdmin.Schedule" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>Schedule Test</title> 
		<!-- #Include file="CheckSession.htm" -->
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
		<style type="text/css">BODY { MARGIN: 1px }
	.style1 { FONT-WEIGHT: bold; COLOR: #000000 }
		</style>
		<LINK href="acusis_css.css" type="text/css" rel="stylesheet">
		<LINK href="Images/webremote.css" type="text/css" rel="stylesheet">
		<link href="ATTAWebAdmin.css" rel="stylesheet" type="text/css">
		<style type="text/css">.style2 { COLOR: #000000 }
		</style>
		<!-- Client Side JavaScript -->
		<script language="javascript">
		<!--

		//-->
		</script>
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<table height="100%" cellSpacing="1" cellPadding="1" width="100%" align="center" bgColor="#ffffff"
				border="0">
				<tr>
					<td vAlign="top" align="center" bgColor="#ffffff">
						<table height="100%" cellSpacing="1" cellPadding="0" width="100%" align="center" bgColor="#cccccc"
							border="0">
							<tr>
								<td vAlign="top" align="center" bgColor="#ffffff" height="100%">
									<table height="100%" cellSpacing="0" cellPadding="0" width="100%" bgColor="#ffffff" border="0">
										<tr>
											<td class="cell_gap1" vAlign="top" align="left" bgColor="#ffffff" height="2">
												<TABLE id="Table2" cellSpacing="1" cellPadding="1" width="100%" bgColor="#ffffff" border="0"
													runat="server">
													<TR>
														<TD class="style2" align="left" width="25%" bgColor="#ffffff"><IMG src="Images/Header.jpg">
												<DIV style="LEFT: 5px; WIDTH: 200px; POSITION: absolute; TOP: 7px; HEIGHT: 15px"><strong><FONT color="#000000" size="2">&nbsp; 
														Re-Schedule Test</FONT></strong>
												</DIV>
											</TD>
													</TR>
												</TABLE>
											</td>
										</tr>
										<tr>
											<td align="left" bgColor="#ffffff"></td>
										</tr>
										<tr>
											<td class="cell_gap" align="right" bgColor="#ffffff" height="100%">
												<div align="right">
													<table cellSpacing="1" cellPadding="0" width="100%" border="0">
														<tr>
														</tr>
													</table>
													<TABLE height="100%" cellSpacing="1" cellPadding="1" width="100%" align="center" bgColor="#ffffff"
														border="0">
														<TR>
															<TD height="5"><span id="Message" runat="server" EnableViewState="false"></span></TD>
														</TR>
														<TR>
															<TD vAlign="top" align="center">
																<TABLE cellSpacing="1" cellPadding="1" width="300" bgColor="white" border="0">
																	<TR>
																		<TD style="HEIGHT: 5px" noWrap align="right"><FONT color="#993333"><STRONG>Re-Schedule for 
																					Candidate :</STRONG></FONT></TD>
																		<TD style="HEIGHT: 5px"><FONT color="#993333"><STRONG>&nbsp; </STRONG>&nbsp;</FONT>
																			<asp:label id="lblCandidate" runat="server" Width="336px"></asp:label></TD>
																	</TR>
																	<!--<TR>
																		<TD noWrap align="right"><STRONG>Batch *&nbsp;:</STRONG>
																		</TD>
																		<TD><asp:dropdownlist id="SelectBatch" runat="server" AutoPostBack="True" DataTextField="DB_BATCH_NAME"
																				DataValueField="DB_BATCH_NAME"></asp:dropdownlist></TD>
																	</TR>-->
																	<TR>
																		<TD noWrap align="right"><STRONG>Email *&nbsp;:</STRONG>
																		</TD>
																		<TD><asp:textbox id="txtEmail" Runat="server"></asp:textbox>
																			<asp:RequiredFieldValidator id="RequiredFieldValidator1" runat="server" ErrorMessage="Email Cannot be Empty"
																				ControlToValidate="txtEmail"></asp:RequiredFieldValidator>
																			<asp:RegularExpressionValidator id="RegularExpressionValidator1" runat="server" ErrorMessage="Enter a valid Email"
																				ControlToValidate="txtEmail" ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator></TD>
																	</TR>
																	<TR>
																		<TD vAlign="top" align="right"><STRONG>Schedule*:</STRONG></TD>
																		<TD noWrap><asp:label id="lblStatus" runat="server" Width="480px" Font-Bold="True"></asp:label><BR>
																			<asp:calendar id="TestSchedule" runat="server" Width="168px" ShowGridLines="True" BorderColor="#FFCC66"
																				Font-Names="Verdana" Font-Size="8pt" Height="150px" ForeColor="#663399" DayNameFormat="FirstLetter"
																				BackColor="#FFFFCC" BorderWidth="1px">
																				<TodayDayStyle ForeColor="White" BackColor="#FFCC66"></TodayDayStyle>
																				<SelectorStyle BackColor="#FFCC66"></SelectorStyle>
																				<NextPrevStyle Font-Size="9pt" ForeColor="#FFFFCC"></NextPrevStyle>
																				<DayHeaderStyle Height="1px" BackColor="#FFCC66"></DayHeaderStyle>
																				<SelectedDayStyle Font-Bold="True" BackColor="#CCCCFF"></SelectedDayStyle>
																				<TitleStyle Font-Size="9pt" Font-Bold="True" ForeColor="#FFFFCC" BackColor="#990000"></TitleStyle>
																				<OtherMonthDayStyle ForeColor="#CC9966"></OtherMonthDayStyle>
																			</asp:calendar>
																			
																			</TD>
																	</TR>
																	<tr>
																	<td align="right" style="height: 28px">
																	<asp:Label ID="lblreason" runat="server" Text="Reason for Re-Scheduling:" ForeColor="#804000" Font-Bold="True"></asp:Label>
																	</td>
																	<td style="height: 28px">
																	<asp:TextBox ID="txtreason" runat="server" Height="41px" MaxLength="250" TextMode="MultiLine" Width="242px"></asp:TextBox>
																	</td>
																	</tr>
																	<TR>
																		<TD noWrap align="right"><STRONG>Evaluation:</STRONG></TD>
																		<TD noWrap><asp:checkbox id="chkEvalMode" runat="server" Checked="true" Text="Manual"></asp:checkbox></TD>
																	</TR>
																	<TR>
																		<TD align="center" colSpan="2"><asp:button id="btnSubmit"  runat="server" Text="Re-Schedule" ForeColor="#000000" CssClass="normalTextForBtn"></asp:button></TD>
																	</TR>
																</TABLE>
															</TD>
														</TR>
													</TABLE>
												</div>
											</td>
										</tr>
									</table>
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
			<%--<asp:HiddenField ID="hdnDate" runat="server" />--%>/////////////////////////////
		
			<script language="javascript">
			
			
			
			function validateScheduleDate()
			{
				var d = new Date();
				var curr_date = d.getDate();
				var curr_month = d.getMonth();
				var curr_year = d.getFullYear();
				var currDate = ((curr_month+1) + "/" + curr_date + "/" + curr_year);
				
				//alert(currDate);
					//var fdate=Date.parse(document.Form1.txbDTFromDt.value);								
					var tdate=document.getElementById('<%=hdnDate.clientID %>');			
					
					//to check if the number of days entered is correct
					var startdate = new Date(currDate);
					var enddate  =new Date(tdate);
					
					var m3 = startdate.getTime();
					var m4 = enddate.getTime();
					
					var diff1 = m4-m3;
					//alert(((diff1/1000/60/60/24)+1));
					if( ((diff1/1000/60/60/24)+1) >30)			
					{	
						
						alert("Test cannot be scheduled beyond 30 days.");
						return false;
					}

			}
			</script>
		</form>
	</body>
</HTML>

AnswerRe: Unterminated string constant Pin
Piyush Vardhan Singh1-Apr-09 20:03
Piyush Vardhan Singh1-Apr-09 20:03 
QuestionVS 2008 Unit Testing Null Exception Error Pin
dboy2211-Apr-09 15:59
dboy2211-Apr-09 15:59 
AnswerRe: VS 2008 Unit Testing Null Exception Error Pin
N a v a n e e t h1-Apr-09 17:15
N a v a n e e t h1-Apr-09 17:15 
QuestionExporting Grdiview using itextsharp Pin
Mfzc1-Apr-09 14:02
Mfzc1-Apr-09 14:02 
QuestionHow to configure web app to allow strong type parameters in web service??? Pin
Member 39190491-Apr-09 13:47
Member 39190491-Apr-09 13:47 
QuestionHow I can convert my '&lt;%# Eval.......%&gt;' code in Page.aspx to Page.aspx.vb ? Pin
Saba021-Apr-09 12:31
Saba021-Apr-09 12:31 
AnswerRe: How I can convert my '&lt;%# Eval.......%&gt;' code in Page.aspx to Page.aspx.vb ? Pin
N a v a n e e t h1-Apr-09 17:19
N a v a n e e t h1-Apr-09 17:19 
Questionhow do I suppress specific warning messages Pin
MakingALiving1-Apr-09 9:13
MakingALiving1-Apr-09 9:13 
AnswerRe: how do I suppress specific warning messages Pin
mr_muskurahat1-Apr-09 21:59
mr_muskurahat1-Apr-09 21:59 
GeneralRe: how do I suppress specific warning messages Pin
MakingALiving2-Apr-09 2:22
MakingALiving2-Apr-09 2:22 
GeneralRe: how do I suppress specific warning messages Pin
mr_muskurahat2-Apr-09 7:36
mr_muskurahat2-Apr-09 7:36 
GeneralRe: how do I suppress specific warning messages Pin
MakingALiving2-Apr-09 9:30
MakingALiving2-Apr-09 9:30 
QuestionProblem displaying aspx file Pin
StuffyEst1-Apr-09 8:54
StuffyEst1-Apr-09 8:54 
AnswerRe: Problem displaying aspx file Pin
MakingALiving1-Apr-09 9:44
MakingALiving1-Apr-09 9:44 
GeneralRe: Problem displaying aspx file Pin
StuffyEst1-Apr-09 11:03
StuffyEst1-Apr-09 11:03 
GeneralRe: Problem displaying aspx file Pin
MakingALiving2-Apr-09 2:34
MakingALiving2-Apr-09 2:34 
GeneralRe: Problem displaying aspx file Pin
StuffyEst2-Apr-09 11:17
StuffyEst2-Apr-09 11:17 

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.