I am sending cs file and aspx file please one check the code and solve this problem
File upload is not working in asp.net with ajax
I am using asp.net2.0 and ajax1.0 in my application .
With out ajax file uplod is working in asp.net with C# ,
When I am using ajax1.0 I am getting that Iam getting error.
I attached jpg file see this page .
HI I am seding cs file and aspx file below
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
using System.IO;
using System.Web.Mail;
using System.Xml;
using System.Text;
using System.Text.RegularExpressions;
public partial class Success : System.Web.UI.Page
{
public string attach1;
int start;
SqlDataAdapter da;
SqlDataAdapter da1;
DataSet ds;
DataSet ds1;
SqlConnection con = new SqlConnection(ConfigurationManager.AppSettings["ConnectionString"]);
protected void Page_Load(object sender, EventArgs e)
{
//btnPost.Attributes.Add("onclick", "javascript:return ValidateUniversity()");
btnPost.Attributes.Add("onclick", "javascript:return countryValid()");
txtUserId.Attributes.Add("onKeypress", "javascript:return NoCheck()");
// btnReset.Visible = false;
if (!IsPostBack)
{
BindDDLYear();
SqlDataAdapter daUSA = new SqlDataAdapter("select * from tbluniversities where country= 'USA'", con);
DataSet dsUSA = new DataSet();
daUSA.Fill(dsUSA);
ddlUSA.Items.Clear();
ddlUSA.DataTextField = "UNIVERSITY";
ddlUSA.DataValueField = "UNIVERSITY";
ddlUSA.DataSource = dsUSA;
ddlUSA.DataBind();
ddlUSA.Items.Insert(0, new ListItem("Select University", "Select"));
}
}
private void BindDDLYear()
{
ddlYear.Items.Add((DateTime.Now.Year - 1).ToString());
ddlYear.Items.Add((DateTime.Now.Year).ToString());
}
private void ResetFormControlValues(Control parent)
{
foreach (Control c in parent.Controls)
{
if (c.Controls.Count > 0)
{
ResetFormControlValues(c);
}
else
{
switch (c.GetType().ToString())
{
case "System.Web.UI.WebControls.TextBox":
((TextBox)c).Text = "";
break;
}
}
}
}
protected void btnReset_Click(object sender, EventArgs e)
{
ResetFormControlValues(this);
Control myForm = Page.FindControl("form1");
foreach (Control ct1 in myForm.Controls)
{
if (ct1.GetType().ToString().Equals("System.Web.UI.WebControls.TextBox"))
((TextBox)ct1).Text = "";
else
if (ct1.GetType().ToString().Equals("System.Web.UI.WebControls.DropDownList"))
{
((DropDownList)ct1).SelectedItem.Selected=false;
}
else if (ct1.GetType().ToString().Equals("System.Web.UI.WebControls.Label"))
{
((Label)ct1).Text = "";
}
}
}
protected void btnPost_Click(object sender, EventArgs e)
{
int Status=0;
HttpPostedFile ulFile = FileUpload1.PostedFile;
if (FileUpload1.PostedFile.ContentLength > 512000)
{
lblImageLength.Text = "Image Length Should be Maximum 500 KB";
FileUpload1.Focus();
return;
}
if (Page.IsValid)
{
string strQuery = "select IML_USERID from IML_SUCESS_STORIES where IML_USERID=" + txtUserId.Text;
SqlDataAdapter da1 = new SqlDataAdapter(strQuery, con);
DataSet ds1 = new DataSet();
da1.Fill(ds1);
if (ds1.Tables[0].Rows.Count > 0)
{
ScriptManager.RegisterStartupScript(Page, GetType(), "Myscript", "alert('With This User Success Story Exist');", true);
return;
}
string strquery1 = "select StudentID from tblStudentRegistration where StudentID='" + txtUserId.Text + "'";
SqlDataAdapter da = new SqlDataAdapter(strquery1, con);
DataSet ds = new DataSet();
da.Fill(ds);
String StrFileName = "";
if (ds.Tables[0].Rows.Count > 0)
{
StrFileName = Path.GetFileName(FileUpload1.PostedFile.FileName);
StrFileName = txtName.Text + " " + txtEmailId.Text + " " + StrFileName;
string strComment = txtComment.Text;
if (txtComment.Text.Contains("'"))
{
strComment = txtComment.Text.Replace("'", "''");
}
if (txtComment.Text.Contains("\""))
{
strComment = txtComment.Text.Replace("\"", "\"\"");
}
string strCity = null, strState = null, strCountry = null;
if (country.Value == "India")
{
strCountry = "India";
//strState = Category.Value;
//if (ddlCity.Value == "Other")
//{
strState = txtState.Text;
strCity = txtCity.Text;
//}
//else
//{
// strCity = ddlCity.Value;
//}
}
else
if (country.Value == "Other")
{
strCountry = txtCountry.Text;
strState = txtState.Text;
strCity = txtCity.Text;
}
string ddlUniversity = null;
if (ddlCountry.SelectedValue == "USA")
{
ddlUniversity = ddlUSA.SelectedItem.Text;
}
else if (ddlCountry.SelectedValue == "UK")
{
ddlUniversity = ddlUK.SelectedItem.Text;
}
else if (ddlCountry.SelectedValue == "AUS")
{
ddlUniversity = ddlAUSUniversity.SelectedItem.Text;
}
SqlCommand cmd = new SqlCommand("insert into IML_SUCESS_STORIES(PSN_NAME,PSN_EMAILID,IML_USERID,PSN_PCOUNTRY,PSN_PSTATE,PSN_PCITY,PSN_IMAGEURL,PSN_COUNTRY,PSN_UNIVERSITY,PSN_COURSE,PSN_YEAR,PSN_INTAKE,PSN_COMMENT) values('" + txtName.Text + "','" + txtEmailId.Text + "','" + txtUserId.Text + "','" + strCountry + "','" + strState + "','" + strCity + "','" + StrFileName + "','" + ddlCountry.SelectedItem.Text + "','" + ddlUniversity + "','" + txtCourse.Text + "'," + ddlYear.SelectedItem.Text + ",'" + ddlIntake.SelectedItem.Text + "','" + strComment + "')", con);
con.Open();
Status = cmd.ExecuteNonQuery();
con.Close();
StringBuilder emailstr;
emailstr = new StringBuilder();
emailstr.Append("");
emailstr.Append("<TABLE cellSpacing=2 cellPadding=2 align=center>");
emailstr.Append("<TBODY><TR><TD bgColor=#c05974 colSpan=2>");
emailstr.Append("</TD></TR>");
emailstr.Append("<TR><TD>");
emailstr.Append("<P>Name:</P>");
emailstr.Append("</TD><TD>" + txtName.Text + "</TD></TR>");
emailstr.Append("<TR><TD>");
emailstr.Append("<P>Phone</P></TD><TD>" + ddlUniversity + "</TD></TR>");
emailstr.Append("<TR><TD><P>Email</P></TD>");
emailstr.Append("<TD>" + ddlYear.SelectedItem.Text + "</TD></TR>");
emailstr.Append("<TR><TD bgColor=#c05974 colSpan=2><P> </P></TD></TR>");
emailstr.Append("<TR><TD><P> </P></TD>");
emailstr.Append("<TD> </TD></TR><TR><TD><P>Cover Letter");
emailstr.Append("</P></TD>" + txtCourse.Text + "</TD></TR>");
emailstr.Append("<TR bgColor=#c05974><TD colSpan=2><P> </P></TD></TR></TBODY>");
emailstr.Append("</TABLE>");
MailMessage MyMail = new MailMessage();
MyMail.From = ConfigurationSettings.AppSettings["strCustomer"].ToString();
MyMail.To = "vijender@impeloverseas.com";
MyMail.Subject = "Success Storys Profile";
MyMail.BodyFormat = MailFormat.Html;
MyMail.Body = emailstr.ToString();
HttpPostedFile ulFiles = FileUpload1.PostedFile;
if (FileUpload1.PostedFile != null)
{
if (FileUpload1.PostedFile.ContentLength > 0)
{
FileUpload1.PostedFile.SaveAs(Server.MapPath("Admin/Photos/" + StrFileName));
}
}
SmtpMail.SmtpServer = "mail.impeloverseas.com";
SmtpMail.Send(MyMail);
}
else
{
lblMessage.Text = "In Vaild UserId";
return;
}
if (Status == 1)
{
Response.Redirect("Success.aspx?Status=1$2SC");
}
}
}
}
////////////////////////////////////////////////////////////////////////////////
<%@ Page Language="C#" AutoEventWireup="true" EnableEventValidation="false" CodeFile="PostSucessStories.aspx.cs"
Inherits="Success" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link href="../styles/style.css" rel="stylesheet" type="text/css" />
<title>Post Success Stories</title>
<script language="javascript" src="JS/list.js" type="text/javascript"></script>
<script language="javascript" type="text/javascript">
function EmptyText()
{
if(document.getElementById("txtCourseKeyword").value != '')
{
document.getElementById("txtCourseKeyword").value="";
}
}
function ValidateUniversity()
{
if(document.getElementById("ddlCountry").value=="AUS" && document.getElementById("ddlAUSUniversity").value=="Select" )
{
document.getElementById("lblUniversity").innerText="Select Australia University";
return false;
}
else
if(document.getElementById("ddlCountry").value=="UK" && document.getElementById("ddlUK").value=="Select" )
{
document.getElementById("lblUniversity").innerText="Select UK University";
return false;
}
else
if(document.getElementById("ddlCountry").value=="USA" && document.getElementById("ddlUSA").value=="Select" )
{
document.getElementById("lblUniversity").innerText="Select USA University";
return false;
}
return true;
}
function NoCheck()
{
if(((event.keyCode>=33) && (event.keyCode<=47)) || ((event.keyCode>=58) && (event.keyCode<=255)))
{
alert('Please enter valid data(Numbers only) ...');
event.returnValue = false;
}
}
function string_start_to_upp_auto(strObj)
{
var index;
var tmpStr;
var tmpChar;
var preString;
var postString;
var strLen;
tmpStr = strObj.value.toLowerCase();
strLen = tmpStr.length;
if (strLen > 0)
{
for (index = 0; index < strLen; index++)
{
if (index == 0)
{
tmpChar = tmpStr.substring(0,1).toUpperCase();
postString = tmpStr.substring(1,strLen);
tmpStr = tmpChar + postString;
}
else
{
tmpChar = tmpStr.substring(index, index+1);
if (tmpChar == "." && index < (strLen-1))
{
tmpChar = tmpStr.substring(index+1, index+2).toUpperCase();
preString = tmpStr.substring(0, index+1);
postString = tmpStr.substring(index+2,strLen);
tmpStr = preString + tmpChar + postString;
}
}
}
}
strObj.value = tmpStr;
}
function string_to_upp_auto(strObj)
{
var index;
var tmpStr;
var tmpChar;
var preString;
var postString;
var strLen;
tmpStr = strObj.value.toLowerCase();
strLen = tmpStr.length;
if (strLen > 0)
{
for (index = 0; index < strLen; index++)
{
if (index == 0)
{
tmpChar = tmpStr.substring(0,1).toUpperCase();
postString = tmpStr.substring(1,strLen);
tmpStr = tmpChar + postString;
}
else
{
tmpChar = tmpStr.substring(index, index+1);
if (tmpChar == " " && index < (strLen-1))
{
tmpChar = tmpStr.substring(index+1, index+2).toUpperCase();
preString = tmpStr.substring(0, index+1);
postString = tmpStr.substring(index+2,strLen);
tmpStr = preString + tmpChar + postString;
}
}
}
}
strObj.value = tmpStr;
}
</script>
<script language="javascript" type="text/javascript">
function dllfun()
{
document.getElementById('ddlEmpty').style.display ='none';
document.getElementById('ddlUSA').style.display='none';
document.getElementById('ddlUK').style.display='none';
document.getElementById('ddlAUSUniversity').style.display='none';
if(document.getElementById('ddlCountry').value=="Select")
{
document.getElementById('ddlEmpty').style.display ='block';
}
else
if(document.getElementById('ddlCountry').value=="USA")
{
document.getElementById('ddlUSA').style.display ='block';
}
else
if(document.getElementById('ddlCountry').value=="UK")
{
document.getElementById('ddlUK').style.display ='block';
}
else
if(document.getElementById('ddlCountry').value=="AUS")
{
document.getElementById('ddlAUSUniversity').style.display ='block';
}
}
function CheckIntake()
{
t = new Date();
var year=document.getElementById('ddlYear').value;
var intake=document.getElementById('ddlIntake').value;
if((intake > t.getMonth()) && ( year==t.getYear()))
document.getElementById('lblIntake').innerText="Select Correct Intake";
else
document.getElementById('lblIntake').innerText="";
}
function drop()
{
if(document.getElementById('ddlCountry').value=="Select")
{
document.getElementById('ddlEmpty').style.display ='block';
document.getElementById('ddlUSA').style.display='none';
document.getElementById('ddlUK').style.display='none';
document.getElementById('ddlAUSUniversity').style.display='none';
}
else if(document.getElementById('ddlCountry').value=="USA")
{
document.getElementById('ddlEmpty').style.display ='none';
document.getElementById('ddlUK').style.display='none';
document.getElementById('ddlAUSUniversity').style.display='none';
document.getElementById('ddlUSA').value="Select";
document.getElementById('ddlUSA').style.display ='block';
}
else if(document.getElementById('ddlCountry').value=="UK")
{
document.getElementById('ddlEmpty').style.display ='none';
document.getElementById('ddlUSA').style.display='none';
document.getElementById('ddlUk').style.display='block';
document.getElementById('ddlAUSUniversity').style.display='none';
document.getElementById('ddlUk').value="Select";
}
else if(document.getElementById('ddlCountry').value=="AUS")
{
document.getElementById('ddlEmpty').style.display ='none';
document.getElementById('ddlUSA').style.display='none';
document.getElementById('ddlUk').style.display='none';
document.getElementById('ddlAUSUniversity').style.display='block';
document.getElementById('ddlAUSUniversity').value="Select";
}
}
</script>
<script language="javascript" type="text/javascript">
function CountryChangedEvent()
{
var country = document.getElementById("country");
var ocountry = document.getElementById("ocountry");
var error_country = document.getElementById("error_country");
var city = document.getElementById("city");
var ocity = document.getElementById("ocity");
var error_city = document.getElementById("error_city");
var ctctype_i = document.getElementById("ctctype_i");
var ctctype_u = document.getElementById("ctctype_u");
var ctc_span = document.getElementById("ctc_span");
ctctype_i.checked = false;
ctctype_u.checked = false;
error_country.style.display = "none";
error_country.innerHTML = "";
error_city.style.display = "none";
error_city.innerHTML = "";
if ( country.value == -1 || country.value == 11 ) {
ocountry.style.display = "none";
city.disabled = false;
city.value = -1;
ocity.style.display = "none";
if ( country.value == 11 ) {
ctctype_i.checked = true;
hideErrorCSS('city','error_city','status_city');
}
}
else if ( country.value == 9999 ) {
ocountry.style.display = "";
city.value = -1;
city.disabled = true;
ocity.style.display = "";
ctctype_u.checked = true;
}
else {
city.value = -1;
city.disabled = true;
ocity.style.display = "";
ocountry.style.display = "none";
ctctype_u.checked = true;
}
}
function SetCountryAreaCode()
{
var country = document.getElementById("country");
var city = document.getElementById("city");
var countrycode = document.getElementById("countrycode");
var areacode = document.getElementById("areacode");
cityCode = new Array();
cityCode['ahmedabad'] = "79";
cityCode['bangalore'] = "80";
cityCode['chennai'] = "44";
cityCode['delhi'] = "11";
cityCode['hyderabad'] = "40";
cityCode['kolkata'] = "33";
cityCode['mumbai'] = "22";
cityCode['noida'] = "120";
cityCode['pune'] = "20";
if ( country.value == -1 )
{
countrycode.value = "";
areacode.value = "";
return;
}
var cityval = city.options[city.selectedIndex].text.toLowerCase();
if ( cityval.indexOf("/") > -1 ) {
var cityvals = cityval.split(" / ");
cityval = cityvals[0];
}
if ( country.value == 11 ) {
countrycode.value = "91";
try {
if ( cityCode[cityval] != null )
areacode.value = cityCode[cityval];
else if ( cityCode[cityvals[1]] != null )
areacode.value = cityCode[cityvals[1]];
else
areacode.value = "";
}catch(e) { areacode.value = ""; }
} else {
if ( countrycode.value == "91" || countrycode.value == "-91" || countrycode.value == "+91" )
countrycode.value = "";
for ( cityIndex in cityCode ) {
if ( areacode.value == cityCode[cityIndex] ) {
areacode.value = "";
break;
}
}
}
}
function Others()
{
if(document.getElementById("country").value =="India")
{
fillCategory();
document.getElementById("Category").style.display ='block'
document.getElementById("ddlCity").style.display ='block'
document.getElementById("txtCountry").style.display ='none'
document.getElementById("txtState").style.display ='none'
document.getElementById("txtCity").style.display ='none'
}
else
if(document.getElementById("country").value =="Other")
{
document.getElementById("Category").style.display ='none'
document.getElementById("ddlCity").style.display ='none'
document.getElementById("txtCountry").style.display ='block'
// document.getElementById("txtCountry").value ='Enter Country'
document.getElementById("txtState").style.display ='block'
// document.getElementById("txtState").value ='Enter State'
document.getElementById("txtCity").style.display ='block'
//document.getElementById("txtCity").value ='Enter City'
}
else
{
document.getElementById("txtCountry").style.display ='none'
document.getElementById("txtState").style.display ='none'
document.getElementById("txtCity").style.display ='none'
}
}
function space()
{
if(document.getElementById("txtCountry").value != '')
{
document.getElementById("txtCountry").value="";
}
}
function spaceState()
{
if(document.getElementById("txtState").value != '')
{
document.getElementById("txtState").value="";
}
}
function spaceCity()
{
if(document.getElementById("txtCity").value != '')
{
document.getElementById("txtCity").value="";
}
}
function ForOtherCity()
{
if(document.getElementById("ddlCity").value =="Other" || document.getElementById("ddlCity").value=="")
{
document.getElementById("txtCity").style.display ='block'
}
else
{
document.getElementById("txtCity").style.display ='none'
}
}
function countryValid()
{
if(document.getElementById("country").value=="India")
{
if(document.getElementById("Category").value=="Select State")
{
alert('Select State');
document.getElementById("Category").focus();
return false;
}
else
{
document.getElementById("txtState").value=document.getElementById("Category").value
}
if(document.getElementById("ddlCity").value=="Select City")
{
alert('Select City');
document.getElementById("ddlCity").focus();
return false;
}
else
{
document.getElementById("txtCity").value=document.getElementById("ddlCity").value
}
}
if(document.getElementById("country").value=="Other")
{
if(document.getElementById("txtCountry").value=="")
{
alert('Enter Country');
document.getElementById("txtCountry").focus();
return false;
}
if(document.getElementById("txtState").value=="")
{
alert('Enter State');
document.getElementById("txtState").focus();
return false;
}
if(document.getElementById("txtCity").value=="")
{
alert('Enter City');
document.getElementById("txtCity").focus();
return false;
}
}
if(document.getElementById("ddlCountry").value=="USA")
{
if(document.getElementById("ddlUSA").value=="Select")
{
alert('Select University');
return false;
}
}
if(document.getElementById("ddlCountry").value=="UK")
{
if(document.getElementById("ddlUK").value=="Select")
{
alert('Select University');
return false;
}
}
if(document.getElementById("ddlCountry").value=="AUS")
{
if(document.getElementById("ddlAUSUniversity").value=="Select")
{
alert('Select University');
return false;
}
}
else
{
return true;
}
}
</script>
</head>
<body onload="dllfun()">
<form id="drop_list" method="POST" name="drop_list" runat="server">
<asp:ScriptManager ID="scm" runat="server"></asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<Triggers>
<asp:PostBackTrigger ControlID="btnPost" />
</Triggers>
<ContentTemplate>
<div>
<div id="container">
<div id="inner-cont">
<div id="header">
<div id="head-top">
<ul>
<li><a title="Impel Overseas Consultants" tabindex="1" href="../index.html">Home</a></li><li><a href="../pdf-files/coporatebrouchere.pdf" title="Impel Corporate Brochure"
target="_blank" tabindex="2">Corporate Brochure</a></li><li><a title="Impel Press Kit" tabindex="3" href="../press-kit.html">Press Kit</a></li><li><a title="Sitemap of Impel Education Consultant" tabindex="4" href="../sitemap.html">
Sitemap</a></li></ul>
</div>
<div id="head-bot">
<a href="../index.html">
<img src="../images/impel-logo.gif" alt="Impel Overseas Consultants Limited" border="0"
longdesc="http://www.impeloverseas.com" class="img3" /></a>
<div id="logo-link">
<ul>
<li><a title="Impel Overseas Consultants" tabindex="6" href="../call-our-experts.html">
Call Our Experts</a></li><li><a title="Impel Corporate Brochure" tabindex="7" href="../customer-care.html">Customer
Care</a></li><li><a title="Impel Press Kit" tabindex="8" href="../impel/login.aspx">Login</a></li><li><a title="Sitemap of Impel Education Consultant" tabindex="9" href="studentregistration.aspx">
Register</a></li></ul>
</div>
</div>
<div id="impel-navi">
<div id="impel-navi-left">
<img src="../images/nav-left.gif" alt="Impel Overseas Consultants" /></div>
<div id="topnavigation">
<ul>
<li><a title="Impel Overseas Consultants" tabindex="10" href="../index.html">Home</a></li><li><a title="Impel Overseas Consultants" tabindex="11" href="../about-impel.html">Company</a></li><li><a title="Impel Overseas Students" tabindex="12" href="../study-destinations-usa.html"
class="current">Students</a></li><li><a title="Impel News & Events" tabindex="13" href="../news-reviews.html">News
& Events</a></li><li><a title="Impel Students Online" tabindex="14" href="../online-enquiry.html">Online</a></li><li><a title="Contact Details Impel" tabindex="15" href="../corporate-office.html">Contact</a></li></ul>
</div>
<div id="impel-navi-right">
<img src="../images/nav-right.gif" alt="Overseas Consultants" /></div>
<div class="clear">
</div>
</div>
<div id="sub-navi">
<ul>
<li><a title="usa Overseas Consultants" tabindex="19" href="../why-study-abraod.html">
Why Study Abroad</a></li><li><a title="impel" tabindex="21" href="#">|</a></li><li><a title="study destinations" tabindex="20" href="../study-destinations-usa.html">
Study Destinations</a></li><li><a title="Impel Overseas Consultants" tabindex="23" href="#">|</a></li><li><a title="Examinations" tabindex="24" href="../ielts.html">Examinations</a></li><li><a title="Impel Overseas Consultants" tabindex="25" href="#">|</a></li><li><a title="Services" tabindex="26" href="../services.html">Services</a></li><li><a title="Impel Overseas Consultants" tabindex="29" href="#">|</a></li><li><a title="sucess stories" tabindex="28" href="Success.aspx" class="current">Success
Stories</a></li><li><a title="Impel Overseas Consultants" tabindex="29" href="#">|</a></li><li><a title="impelities" tabindex="32" href="../forums/index.php">Impelites</a></li><li><a title="Impel Overseas Consultants" tabindex="33" href="#">|</a></li><li><a title="world wide" tabindex="34" href="../impel-world-wide.html">Impel World
Wide</a></li><li><a title="Impel Overseas Consultants" tabindex="35" href="#">|</a></li></ul>
</div>
</div>
<div id="visual-area">
<img src="../images/about-impel.jpg" alt="Impel Overseas Consultants" width="930"
height="193" longdesc="http://www.impeloverseas.com" /></div>
<div id="impel-shadow">
<img src="../images/shadow.jpg" alt="overseas Education" width="930" height="12" /></div>
<div id="content-area">
<div id="subpage-left-area">
<div id="left-area-sub-page-cont">
<h2>
Success Stories</h2>
<div id="yourhere">
<ul>
<li><strong>You are here:</strong> </li>
<li class="pre-page"><a title="Impel" href="index.html">Home</a> </li>
<li class="pre-page"><a title="Impel" href="study-destinations-usa.html">Students</a>
</li>
<li class="currentpage">Post Sucess Stories </li>
</ul>
</div>
<table cellspacing="0" cellpadding="0" border="0">
<tr height="50">
<td colspan="2" style="width: 150px">
<h2>
Personal Profile</h2>
</td>
<td colspan="1" style="width: 150px">
</td>
</tr>
<tr>
<td style="width: 150px">
</td>
<td style="width: 307px">
<asp:Label ID="lblMessage" runat="server" ForeColor="Red" Text=""></asp:Label></td>
<td>
</td>
</tr>
<tr>
<th class="textclass1" >
Name :
</th>
<td style="width: 307px">
<asp:TextBox ID="txtName" onchange="string_to_upp_auto(this)" runat="server" Width="300"></asp:TextBox>
</td>
<td>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtName"
ErrorMessage="*">Enter Name</asp:RequiredFieldValidator></td>
</tr>
<tr>
<td style="width: 150px; height: 10px">
</td>
<td style="width: 307px">
</td>
<td>
</td>
</tr>
<tr>
<th class="textclass1" >
Email ID : </th>
<td style="height: 10px; width: 307px;">
<asp:TextBox ID="txtEmailId" runat="server" Width="300"></asp:TextBox></td>
<td style="height: 10px" align="left">
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtEmailId"
ErrorMessage="*">Enter Mail Id</asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td style="width: 150px; height: 10px">
</td>
<td style="height: 10px; width: 307px;">
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtEmailId"
ErrorMessage="RegularExpressionValidator" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">Enter Valid Email Id</asp:RegularExpressionValidator></td>
<td style="height: 10px">
</td>
</tr>
<tr>
<th class="textclass1" >
Impel User ID :</th>
<td style="width: 307px">
<asp:TextBox ID="txtUserId" runat="server" Width="93"></asp:TextBox></td>
<td>
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtUserId"
ErrorMessage="*">Enter User Id </asp:RequiredFieldValidator></td>
</tr>
<tr>
<td style="width: 150px; height: 10px">
</td>
<td style="width: 307px">
</td>
<td>
</td>
</tr>
<tr>
<th class="textclass1" >
Country : </th>
<td style="width: 307px">
<select id="country" style="width: 100px" name="COUNTRY" onchange="Others()"
runat="server">
<%-- <option value="1">Australia</option>
<option value="2">Bahrain</option>
<option value="3">Bangladesh</option>
<option value="4">Belgium</option>
<option value="5">Canada</option>
<option value="6">Doha</option>
<option value="7">Dubai</option>
<option value="8">France</option>
<option value="9">Germany</option>
<option value="10">Hong Kong</option>--%>
<option value="Select" selected>Select</option>
<option value="India">India</option>
<%--<option value="12">Indonesia</option>
<option value="13">Ireland</option>
<option value="14">Italy</option>
<option value="15">Japan</option>
<option value="16">Kenya</option>
<option value="17">Kuwait</option>
<option value="18">Lebanon</option>
<option value="19">Libya</option>
<option value="20">Malaysia</option>
<option value="21">Maldives</option>
<option value="22">Mauritius</option>
<option value="23">Mexico</option>
<option value="24">Nepal</option>
<option value="25">Netherlands</option>
<option value="26">New Zealand</option>
<option value="27">Norway</option>
<option value="28">Oman</option>
<option value="29">Pakistan</option>
<option value="30">Qatar</option>
<option value="31">Quilon</option>
<option value="32">Russia</option>
<option value="33">Saudi Arabia</option>
<option value="34">Singapore</option>
<option value="35">South Africa</option>
<option value="36">South Korea</option>
<option value="37">Spain</option>
<option value="38">Sri Lanka</option>
<option value="39">Sweden</option>
<option value="40">Switzerland</option>
<option value="41">Thailand</option>
<option value="42">UAE</option>
<option value="43">UK</option>
<option value="44">US</option>
<option value="45">Yemen</option>
<option value="46">Zimbabwe</option>--%>
<option value="Other">Other</option>
</select>
<%-- <asp:DropDownList id="ddlPCountry" runat="server" Width="155px" onChange="drop()">
<asp:ListItem Text="Select" Value="Select"></asp:ListItem>
<asp:ListItem Text="USA" Value="USA"></asp:ListItem>
<asp:ListItem Text="AUS" Value="AUS"></asp:ListItem>
<asp:ListItem Text="UK" Value="UK"></asp:ListItem>
</asp:DropDownList>--%>
<asp:TextBox Width="150" ID="txtCountry" align="left" runat="server" Style="display: none;width: 200px" ></asp:TextBox>
</td>
<td>
<%--<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="*"
ControlToValidate="ddlPCountry" InitialValue="Select">Select Country</asp:RequiredFieldValidator>--%></td>
</tr>
<tr>
<td style="width: 150px; height: 10px">
</td>
<td style="width: 307px">
</td>
<td>
</td>
</tr>
<tr>
<th class="textclass1" >
State : </th>
<td style="width: 307px">
<select id="Category" style="width: 200px" name="Category" runat="server" onchange="SelectSubCat();">
<option value="Select State">Select State</option>
</select>
<asp:TextBox ID="txtState" runat="server" align="left" Style="display: none;width: 200px"
Width="150"></asp:TextBox></td>
<td>
</td>
</tr>
<tr>
<td style="width: 150px; height: 10px">
</td>
<td style="width: 307px">
</td>
<td>
</td>
</tr>
<tr>
<th class="textclass1" >
Nearest City : </th>
<td style="width: 307px">
<select id="ddlCity" name="ddlCity" style="width: 200px" onchange="ForOtherCity()" runat="server">
<option value="Select City">Select City</option>
<option value="Other">Other</option>
</select>
<asp:TextBox ID="txtCity" runat="server" align="left" Style="display: none;width: 200px"
Width="150"></asp:TextBox></td>
<td>
<%--<asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ErrorMessage="*"
ControlToValidate="txtCity">Enter City</asp:RequiredFieldValidator>--%></td>
</tr>
<tr>
<td style="width: 150px; height: 10px">
</td>
<th class="textclass1" >
( Photo size should be lessthan 500KB ) </th>
<td>
</td>
</tr>
<tr>
<th class="textclass1" >
Image : </th>
<td style="width: 307px">
<asp:FileUpload ID="FileUpload1" runat="server" Width="300"></asp:FileUpload>
</td>
<td>
<asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ErrorMessage="*"
ControlToValidate="FileUpload1">Select Photo</asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td style="width: 150px; height: 10px">
</td>
<td style="width: 307px">
<asp:Label ID="lblImageLength" runat="server" ForeColor="Red" Text=""></asp:Label></td>
<td>
</td>
</tr>
<tr height="50">
<td colspan="2" style="height: 50px">
<h2>
Visa Details And Comments</h2>
</td>
<td colspan="1" style="height: 50px">
</td>
</tr>
<tr>
<th class="textclass1">
Country : </th>
<td style="width: 307px">
<asp:DropDownList ID="ddlCountry" runat="server" Width="155px" onChange="drop()">
<asp:ListItem Value="Select" Text="Select"></asp:ListItem>
<asp:ListItem Value="USA" Text="USA"></asp:ListItem>
<asp:ListItem Value="AUS" Text="AUS"></asp:ListItem>
<asp:ListItem Value="UK" Text="UK"></asp:ListItem>
</asp:DropDownList></td>
<td>
<asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ErrorMessage="*"
ControlToValidate="ddlCountry" InitialValue="Select">Select Country</asp:RequiredFieldValidator></td>
</tr>
<tr>
<td style="height: 10px; width: 150px">
</td>
<td style="width: 307px">
</td>
<td>
</td>
</tr>
<tr>
<th class="textclass1" >
University :
</th>
<td style="width: 307px">
<asp:DropDownList ID="ddlAUSUniversity" runat="server" Width="300px">
<asp:ListItem Value="Select" Text="Select"></asp:ListItem>
<asp:ListItem Value="Abbey College">Abbey College</asp:ListItem>
<asp:ListItem Value="Aerospace Aviation College">Aerospace Aviation College</asp:ListItem>
<asp:ListItem Value="AMES International">AMES International</asp:ListItem>
<asp:ListItem Value="Austec Institute for Further Education">Austec Institute for Further Education</asp:ListItem>
<asp:ListItem Value="Australian Catholic University">Australian Catholic University</asp:ListItem>
<asp:ListItem Value="Australian Graduate School">Australian Graduate School</asp:ListItem>
<asp:ListItem Value="Australian Institute of Technology and Education">Australian Institute of Technology and Education</asp:ListItem>
<asp:ListItem Value="Australian National University">Australian National University</asp:ListItem>
<asp:ListItem Value="Australian Nationwide College">Australian Nationwide College</asp:ListItem>
<asp:ListItem Value="Australian School of Medical Imaging">Australian School of Medical Imaging</asp:ListItem>
<asp:ListItem Value="Basair Aviation College">Basair Aviation College</asp:ListItem>
<asp:ListItem Value="Bond University">Bond University </asp:ListItem>
<asp:ListItem Value="Box Hill Institute of TAFE">Box Hill Institute of TAFE</asp:ListItem>
<asp:ListItem Value="Cambridge International College">Cambridge International College</asp:ListItem>
<asp:ListItem Value="Carrick College">Carrick College</asp:ListItem>
<asp:ListItem Value="Central Queensland University">Central Queensland University </asp:ListItem>
<asp:ListItem Value="Charles Darwin University">Charles Darwin University</asp:ListItem>
<asp:ListItem Value="Charles Sturt University">Charles Sturt University </asp:ListItem>
<asp:ListItem Value="Curtin University">Curtin University</asp:ListItem>
<asp:ListItem Value="Deakin University">Deakin University</asp:ListItem>
<asp:ListItem Value="Edith Cowan University">Edith Cowan University </asp:ListItem>
<asp:ListItem Value="Flinders University">Flinders University </asp:ListItem>
<asp:ListItem Value="Griffith University">Griffith University</asp:ListItem>
<asp:ListItem Value="Holmesglen Institute">Holmesglen Institute</asp:ListItem>
<asp:ListItem Value="International Institute of Business and Information Technology">International Institute of Business and Information Technology</asp:ListItem>
<asp:ListItem Value="International Design School">International Design School</asp:ListItem>
<asp:ListItem Value="James Cook University">James Cook University </asp:ListItem>
<asp:ListItem Value="Lamart College of Technology">Lamart College of Technology</asp:ListItem>
<asp:ListItem Value="La Trobe University">La Trobe University</asp:ListItem>
<asp:ListItem Value="Macquarie University">Macquarie University </asp:ListItem>
<asp:ListItem Value="Melbourne Institute of Technology">Melbourne Institute of Technology</asp:ListItem>
<asp:ListItem Value="Melbourne Institute of Tourism And Hospitality">Melbourne Institute of Tourism And Hospitality</asp:ListItem>
<asp:ListItem Value="Meridian International Hotel School">Meridian International Hotel School</asp:ListItem>
<asp:ListItem Value="Monash University">Monash University </asp:ListItem>
<asp:ListItem Value="Murdoch University">Murdoch University </asp:ListItem>
<asp:ListItem Value="Ozford College">Ozford College</asp:ListItem>
<asp:ListItem Value="Queensland University of Technology">Queensland University of Technology </asp:ListItem>
<asp:ListItem Value="Royal Melbourne Institute of Technology">Royal Melbourne Institute of Technology </asp:ListItem>
<asp:ListItem Value="Shafston College">Shafston College</asp:ListItem>
<asp:ListItem Value="Southern Cross University">Southern Cross University</asp:ListItem>
<asp:ListItem Value="Sterling college">Sterling college</asp:ListItem>
<asp:ListItem Value="Strathfield College">Strathfield College</asp:ListItem>
<asp:ListItem Value="Sydney College of Business And IT">Sydney College of Business And IT</asp:ListItem>
<asp:ListItem Value="Swinburne University of Technology">Swinburne University of Technology</asp:ListItem>
<asp:ListItem Value="Unique International College">Unique International College</asp:ListItem>
<asp:ListItem Value="University of Adelaide">University of Adelaide</asp:ListItem>
<asp:ListItem Value="University of Ballarat">University of Ballarat</asp:ListItem>
<asp:ListItem Value="University of Canberra">University of Canberra</asp:ListItem>
<asp:ListItem Value="University of Melbourne">University of Melbourne</asp:ListItem>
<asp:ListItem Value="University of New England">University of New England </asp:ListItem>
<asp:ListItem Value="University of New South Wales">University of New South Wales </asp:ListItem>
<asp:ListItem Value="University of Newcastle">University of Newcastle </asp:ListItem>
<asp:ListItem Value="University of Notre Dame Australia">University of Notre Dame Australia </asp:ListItem>
<asp:ListItem Value="University of Queensland">University of Queensland</asp:ListItem>
<asp:ListItem Value="University of the Sunshine Coast">University of the Sunshine Coast</asp:ListItem>
<asp:ListItem Value="University of South Australia">University of South Australia </asp:ListItem>
<asp:ListItem Value="University of Southern Queensland">University of Southern Queensland </asp:ListItem>
<asp:ListItem Value="University of Sydney">University of Sydney</asp:ListItem>
<asp:ListItem Value="University of Tasmania">University of Tasmania </asp:ListItem>
<asp:ListItem Value="University of Technology">University of Technology</asp:ListItem>
<asp:ListItem Value="University of Western Australia">University of Western Australia </asp:ListItem>
<asp:ListItem Value="University of Western Sydney">University of Western Sydney</asp:ListItem>
<asp:ListItem Value="University of Wollongong">University of Wollongong</asp:ListItem>
<asp:ListItem Value="Victoria Institute of Technology">Victoria Institute of Technology</asp:ListItem>
<asp:ListItem Value="Victoria University">Victoria University</asp:ListItem>
</asp:DropDownList><asp:DropDownList ID="ddlEmpty" runat="Server" Width="300px">
<asp:ListItem Value="Select" Text="Select"></asp:ListItem>
</asp:DropDownList><asp:DropDownList ID="ddlUK" runat="server" Width="300px">
<asp:ListItem Value="Select" Text="Select"></asp:ListItem>
<asp:ListItem Value="Anglia Ruskin University">Anglia Ruskin University</asp:ListItem>
<asp:ListItem Value="Aston University ">Aston University </asp:ListItem>
<asp:ListItem Value="Birmingham University ">Birmingham University </asp:ListItem>
<asp:ListItem Value="Bournemouth University ">Bournemouth University </asp:ListItem>
<asp:ListItem Value="Bradford University ">Bradford University </asp:ListItem>
<asp:ListItem Value="Bristol University ">Bristol University </asp:ListItem>
<asp:ListItem Value="Brunel University ">Brunel University </asp:ListItem>
<asp:ListItem Value="Camberwell College of Arts">Camberwell College of Arts </asp:ListItem>
<asp:ListItem Value="Canterbury Christ Church University ">Canterbury Christ Church University </asp:ListItem>
<asp:ListItem Value="Cardiff University">Cardiff University</asp:ListItem>
<asp:ListItem Value="Central St.Martins School of Art and Design">Central St.Martins School of Art and Design </asp:ListItem>
<asp:ListItem Value="Chelsea College of Arts and Design ">Chelsea College of Arts and Design </asp:ListItem>
<asp:ListItem Value="City University ">City University </asp:ListItem>
<asp:ListItem Value="Courtauld Institute of Art ">Courtauld Institute of Art </asp:ListItem>
<asp:ListItem Value="Coventry University ">Coventry University </asp:ListItem>
<asp:ListItem Value="Cranfield University ">Cranfield University </asp:ListItem>
<asp:ListItem Value="Derby University ">Derby University </asp:ListItem>
<asp:ListItem Value="De Montfort University">De Montfort University </asp:ListItem>
<asp:ListItem Value="Durham University ">Durham University </asp:ListItem>
<asp:ListItem Value="Edinburgh University ">Edinburgh University </asp:ListItem>
<asp:ListItem Value="Exeter University ">Exeter University </asp:ListItem>
<asp:ListItem Value="Glasgow Caledonian University ">Glasgow Caledonian University </asp:ListItem>
<asp:ListItem Value="Glasgow University ">Glasgow University </asp:ListItem>
<asp:ListItem Value="Heriot Watt University ">Heriot Watt University </asp:ListItem>
<asp:ListItem Value="Huddersfield University ">Huddersfield University </asp:ListItem>
<asp:ListItem Value="Institute of Child Health">Institute of Child Health </asp:ListItem>
<asp:ListItem Value="Institute of Neurology">Institute of Neurology </asp:ListItem>
<asp:ListItem Value="Keele University ">Keele University </asp:ListItem>
<asp:ListItem Value="Kingston University ">Kingston University </asp:ListItem>
<asp:ListItem Value="Lancaster University ">Lancaster University </asp:ListItem>
<asp:ListItem Value="Leeds Metropolitan University ">Leeds Metropolitan University </asp:ListItem>
<asp:ListItem Value="Liverpool University">Liverpool University </asp:ListItem>
<asp:ListItem Value="Liverpool Hope University">Liverpool Hope University</asp:ListItem>
<asp:ListItem Value="Liverpool John Moores University ">Liverpool John Moores University </asp:ListItem>
<asp:ListItem Value="London Metropolitan University ">London Metropolitan University </asp:ListItem>
<asp:ListItem Value="London South Bank University">London South Bank University</asp:ListItem>
<asp:ListItem Value="Loughborough University ">Loughborough University </asp:ListItem>
<asp:ListItem Value="Manchester Metropolitan University">Manchester Metropolitan University</asp:ListItem>
<asp:ListItem Value="Middlesex University">Middlesex University </asp:ListItem>
<asp:ListItem Value="Napier University ">Napier University</asp:ListItem>
<asp:ListItem Value="Newcastle University">Newcastle University </asp:ListItem>
<asp:ListItem Value="Nottingham Trent University">Nottingham Trent University</asp:ListItem>
<asp:ListItem Value="Nottingham University">Nottingham University</asp:ListItem>
<asp:ListItem Value="Oxford Brookes University">Oxford Brookes University </asp:ListItem>
<asp:ListItem Value="Oxford University">Oxford University </asp:ListItem>
<asp:ListItem Value="Paisley University">Paisley University </asp:ListItem>
<asp:ListItem Value="Plymouth University">Plymouth University </asp:ListItem>
<asp:ListItem Value="Queen's University Belfast">Queen's University Belfast </asp:ListItem>
<asp:ListItem Value="Reading University">Reading University </asp:ListItem>
<asp:ListItem Value="Robert Gordon University ">Robert Gordon University </asp:ListItem>
<asp:ListItem Value="Roehampton University">Roehampton University</asp:ListItem>
<asp:ListItem Value="St.Andrews University ">St.Andrews University </asp:ListItem>
<asp:ListItem Value="Sheffield Hallam University ">Sheffield Hallam University </asp:ListItem>
<asp:ListItem Value="Southampton Solent University ">Southampton Solent University </asp:ListItem>
<asp:ListItem Value="Staffordshire University">Staffordshire University </asp:ListItem>
<asp:ListItem Value="Stirling University">Stirling University </asp:ListItem>
<asp:ListItem Value="Sunderland University">Sunderland University</asp:ListItem>
<asp:ListItem Value="Thames Valley University">Thames Valley University </asp:ListItem>
<asp:ListItem Value="The Royal Veterinary College">The Royal Veterinary College </asp:ListItem>
<asp:ListItem Value="The Royal College of Music">The Royal College of Music </asp:ListItem>
<asp:ListItem Value="The University of Bath ">The University of Bath </asp:ListItem>
<asp:ListItem Value="The University of Bolton ">The University of Bolton </asp:ListItem>
<asp:ListItem Value="The University of Northampton">The University of Northampton </asp:ListItem>
<asp:ListItem Value="The University of Portsmouth ">The University of Portsmouth </asp:ListItem>
<asp:ListItem Value="The University of Sheffield ">The University of Sheffield </asp:ListItem>
<asp:ListItem Value="The University of Strathclyde">The University of Strathclyde </asp:ListItem>
<asp:ListItem Value="The University of Winchester">The University of Winchester </asp:ListItem>
<asp:ListItem Value="UHI Millennium Institute ">UHI Millennium Institute </asp:ListItem>
<asp:ListItem Value="University of Aberdeen "> University of Aberdeen </asp:ListItem>
<asp:ListItem Value="University of Abertay ">University of Abertay </asp:ListItem>
<asp:ListItem Value="University of Brighton ">University of Brighton </asp:ListItem>
<asp:ListItem Value="University of Buckingham ">University of Buckingham </asp:ListItem>
<asp:ListItem Value="University of Cambridge ">University of Cambridge </asp:ListItem>
<asp:ListItem Value="University of Central England">University of Central England </asp:ListItem>
<asp:ListItem Value="University of Central Lancashire">University of Central Lancashire </asp:ListItem>
<asp:ListItem Value="University of Chester ">University of Chester </asp:ListItem>
<asp:ListItem Value="University of Dundee ">University of Dundee </asp:ListItem>
<asp:ListItem Value="University of Durham Stockton Campus ">University of Durham Stockton Campus </asp:ListItem>
<asp:ListItem Value="University of East Anglia ">University of East Anglia </asp:ListItem>
<asp:ListItem Value="University of East London ">University of East London </asp:ListItem>
<asp:ListItem Value="University of Essex">University of Essex</asp:ListItem>
<asp:ListItem Value="University of Glamorgan">University of Glamorgan </asp:ListItem>
<asp:ListItem Value="University of Gloucestershire">University of Gloucestershire </asp:ListItem>
<asp:ListItem Value="University of Greenwich">University of Greenwich </asp:ListItem>
<asp:ListItem Value="University of Hertfordshire ">University of Hertfordshire </asp:ListItem>
<asp:ListItem Value="University of Hull">University of Hull </asp:ListItem>
<asp:ListItem Value="University of Kent ">University of Kent </asp:ListItem>
<asp:ListItem Value="University of Leeds ">University of Leeds </asp:ListItem>
<asp:ListItem Value="University of Leicester ">University of Leicester </asp:ListItem>
<asp:ListItem Value="University of Lincolnshire and Humberside ">University of Lincolnshire and Humberside </asp:ListItem>
<asp:ListItem Value="University of London ">University of London </asp:ListItem>
<asp:ListItem Value="University of London Birkbeck College ">University of London Birkbeck College </asp:ListItem>
<asp:ListItem Value="University of London Eastman Dental Institute">University of London Eastman Dental Institute</asp:ListItem>
<asp:ListItem Value="University of London Goldsmiths College ">University of London Goldsmiths College </asp:ListItem>
<asp:ListItem Value="University of London Heythrop College ">University of London Heythrop College </asp:ListItem>
<asp:ListItem Value="University of London Imperial College of Science, Technology and Medicine ">University of London Imperial College of Science, Technology and Medicine </asp:ListItem>
<asp:ListItem Value="University of London Imperial College ">University of London Imperial College </asp:ListItem>
<asp:ListItem Value="University of London Institute of Cancer Research">University of London Institute of Cancer Research </asp:ListItem>
<asp:ListItem Value="University of London Institute of Education ">University of London Institute of Education </asp:ListItem>
<asp:ListItem Value="University of London Institute of Psychiatry ">University of London Institute of Psychiatry </asp:ListItem>
<asp:ListItem Value="University of London King's College">University of London King's College</asp:ListItem>
<asp:ListItem Value="University of London, London Business School ">University of London, London Business School </asp:ListItem>
<asp:ListItem Value="University of London Queen Mary ">University of London Queen Mary </asp:ListItem>
<asp:ListItem Value="University of London Royal Holloway">University of London Royal Holloway</asp:ListItem>
<asp:ListItem Value="University of London School of Advanced Studies ">University of London School of Advanced Studies </asp:ListItem>
<asp:ListItem Value="University of London St. George's Hospital Medical School">University of London St. George's Hospital Medical School </asp:ListItem>
<asp:ListItem Value="University of London School of Economics and Political Science">University of London School of Economics and Political Science</asp:ListItem>
<asp:ListItem Value="University of London School of Pharmacy">University of London School of Pharmacy </asp:ListItem>
<asp:ListItem Value="University of London School of Hygiene and Tropical Medicine">University of London School of Hygiene and Tropical Medicine</asp:ListItem>
<asp:ListItem Value="University of London School of Oriental and African Studies">University of London School of Oriental and African Studies </asp:ListItem>
<asp:ListItem Value="University of London School of Slavonic and East European Studies ">University of London School of Slavonic and East European Studies </asp:ListItem>
<asp:ListItem Value="University of London University College ">University of London University College </asp:ListItem>
<asp:ListItem Value="University of Luton ">University of Luton </asp:ListItem>
<asp:ListItem Value="University of Manchester ">University of Manchester </asp:ListItem>
<asp:ListItem Value="University of Northumbria ">University of Northumbria </asp:ListItem>
<asp:ListItem Value="University of Salford ">University of Salford </asp:ListItem>
<asp:ListItem Value="University of Southampton ">University of Southampton </asp:ListItem>
<asp:ListItem Value="University of Surrey ">University of Surrey </asp:ListItem>
<asp:ListItem Value="University of Sussex ">University of Sussex </asp:ListItem>
<asp:ListItem Value="University of Teesside ">University of Teesside </asp:ListItem>
<asp:ListItem Value="University of the West of England ">University of the West of England </asp:ListItem>
<asp:ListItem Value="University of Ulster ">University of Ulster </asp:ListItem>
<asp:ListItem Value="University of Wales ">University of Wales </asp:ListItem>
<asp:ListItem Value="University of Wales Aberystwyth ">University of Wales Aberystwyth </asp:ListItem>
<asp:ListItem Value="University of Wales Bangor ">University of Wales Bangor </asp:ListItem>
<asp:ListItem Value="University of Wales Institute [Cardiff]">University of Wales Institute [Cardiff] </asp:ListItem>
<asp:ListItem Value="University of Wales Lampeter ">University of Wales Lampeter </asp:ListItem>
<asp:ListItem Value="University of Wales Newport ">University of Wales Newport </asp:ListItem>
<asp:ListItem Value="University of Wales Swansea">University of Wales Swansea</asp:ListItem>
<asp:ListItem Value="University of Warwick ">University of Warwick </asp:ListItem>
<asp:ListItem Value="University of Westminster ">University of Westminster </asp:ListItem>
<asp:ListItem Value="University of Wolverhampton ">University of Wolverhampton </asp:ListItem>
<asp:ListItem Value="University of Worcester">University of Worcester</asp:ListItem>
<asp:ListItem Value="University of York ">University of York </asp:ListItem>
</asp:DropDownList><asp:DropDownList ID="ddlUSA" runat="server" Width="300px" AutoPostBack="false">
<asp:ListItem Value="Select" Text="Select"></asp:ListItem>
</asp:DropDownList></td>
<td style="width: 200px">
</td>
</tr>
<tr>
<td style="height: 10px; width: 150px">
</td>
<td style="width: 307px">
<asp:Label ID="lblUniversity" runat="server" ForeColor="Red" Text=""></asp:Label></td>
<td>
</td>
</tr>
<tr>
<th class="textclass1">
Course : </th>
<td style="width: 307px">
<asp:TextBox ID="txtCourse" runat="server"
Width="290"></asp:TextBox></td>
<td>
<asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" ErrorMessage="*"
ControlToValidate="txtCourse">Enter Course</asp:RequiredFieldValidator></td>
</tr>
<tr>
<td style="height: 10px; width: 150px">
</td>
<td style="width: 307px">
</td>
<td>
</td>
</tr>
<tr>
<th class="textclass1">
Year : </th>
<td style="width: 307px">
<asp:DropDownList ID="ddlYear" runat="server" Width="155px">
<asp:ListItem Value="0" Text="Select"></asp:ListItem>
</asp:DropDownList></td>
<td>
<asp:RequiredFieldValidator ID="RequiredFieldValidator12" runat="server" ErrorMessage="*"
ControlToValidate="ddlYear">Select Year</asp:RequiredFieldValidator></td>
</tr>
<tr>
<td style="height: 10px; width: 150px">
</td>
<td style="width: 307px">
</td>
<td>
</td>
</tr>
<tr>
<th class="textclass1"> Intake : </th>
<td style="width: 307px">
<asp:DropDownList ID="ddlIntake" runat="server" onchange="CheckIntake()" Width="155px">
<asp:ListItem Value="-1" Text="Select"></asp:ListItem>
<asp:ListItem Value="0">Jan</asp:ListItem>
<asp:ListItem Value="1">Feb</asp:ListItem>
<asp:ListItem Value="2">March</asp:ListItem>
<asp:ListItem Value="3">April</asp:ListItem>
<asp:ListItem Value="4">May</asp:ListItem>
<asp:ListItem Value="5">June</asp:ListItem>
<asp:ListItem Value="6">July</asp:ListItem>
<asp:ListItem Value="7">Aug</asp:ListItem>
<asp:ListItem Value="8">Sep</asp:ListItem>
<asp:ListItem Value="9">Oct</asp:ListItem>
<asp:ListItem Value="10">Nov</asp:ListItem>
<asp:ListItem Value="11">Dec</asp:ListItem>
</asp:DropDownList></td>
<td>
<asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server" ErrorMessage="*"
ControlToValidate="ddlIntake">Select Intake</asp:RequiredFieldValidator></td>
</tr>
<tr>
<td style="height: 10px; width: 150px">
</td>
<td style="width: 307px">
<asp:Label ID="lblIntake" runat="server" ForeColor="Red" Text=""></asp:Label></td>
<td>
</td>
</tr>
<tr>
<th class="textclass1">
Comment: p</th>
<td style="height: 84px; width: 307px;">
<font size="1" face="arial, helvetica, sans-serif"> ( Comment Should be Minimum 200 characters. )<br>
<asp:TextBox ID="txtComment" runat="server"
Width="290px" TextMode="MultiLine" MaxLength="1000" Height="63px"></asp:TextBox><br />
<asp:RegularExpressionValidator ID="rdvComment" runat="server" ErrorMessage="Comment Should be Minimum 200 and Maximum 1000 " ValidationExpression="^^[\w\W]{200,1000}$" ControlToValidate="txtComment"></asp:RegularExpressionValidator>
</td>
<td style="height: 84px">
<asp:RequiredFieldValidator ID="RequiredFieldValidator13" runat="server" ErrorMessage="*"
ControlToValidate="txtComment">Enter Comment</asp:RequiredFieldValidator></td>
</tr>
<tr>
<td style="height: 10px; width: 150px">
</td>
<td style="width: 307px">
</td>
<td>
</td>
</tr>
<tr>
<td>
</td>
<td style="width: 307px">
<asp:Button ID="btnPost" runat="server" Text="Post" OnClick="btnPost_Click" style="cursor:pointer;border:solid #ffffff 1px; background-image: url(../images/button_bg.gif); background-repeat: repeat-x;background-position: bottom;border:solid #CCCCCC 1px;font-weight: bold;" Height="25px" Width="57px"></asp:Button>
<asp:Button ID="btnReset" Visible="false" OnClick="btnReset_Click" runat="server" Text="Reset"
ValidationGroup="false" CausesValidation="False" style="cursor:pointer;border:solid #ffffff 1px; background-image: url(../images/button_bg.gif); background-repeat: repeat-x;background-position: bottom;height: 25px;border:solid #CCCCCC 1px;font-weight: bold;"></asp:Button></td>
<td>
</td>
</tr>
</table>
</div>
<p>
</p>
</div>
<%-- <div class="clear">
</div>--%>
</div>
<div id="right-area">
<div class="right-a-buttom">
<img src="../images/callme.gif" alt="call me" /></div>
<div id="subpage-navi">
<ul>
<li><a title="Call Impel Expert Counsellor" tabindex="101" href="../call-our-experts.html">
Call Our Experts Now</a></li><li><a title="Impel apply online" tabindex="103" href="#">Live Online Chat...</a></li><li><a title="Send a free SMS" tabindex="104" href="#">Send free SMS</a></li><li><a title="Impel Coures wizard" tabindex="105" href="#">Course Wizard</a></li><li><a title="Latest news of Overseas Education" tabindex="106" href="../news-reviews.html">
Latest News</a></li><li><a title="FAQs" tabindex="107" href="../frequently-asked-questions.html">Frequently
Asked Questions</a></li><li><a title="Students Succes stories" tabindex="108" href="success.aspx">Success Stories</a></li></ul>
</div>
<div id="subpage-navi-gradient">
</div>
<div class="clear">
</div>
</div>
<div class="clear">
</div>
</div>
<div id="footer">
<div id="footer-navi">
<div id="footer-left">
<img src="../images/foot-navi-left.gif" alt="Impel Overseas Consultants" /></div>
<div id="footer-mid">
<ul>
<li><a title="Impel Overseas Consultants" tabindex="50" href="../index.html">Home</a></li><li><a title="Call Impel Expert Counsellor" tabindex="51" href="../call-our-experts.html">
Call Our Experts</a></li><li><a title="Impel students enquiry online" tabindex="52" href="online-enquiry.html">
Enquiry Online</a></li><li><a title="Impel apply online" tabindex="53" href="studentregistration.aspx">Apply
Online</a></li><li><a title="Tell a friend about impel" tabindex="54" href="tell-a-friend.aspx">Tell
a Friend</a></li><li><a title="Impel Forums" tabindex="55" href="../forums/index.php">Forums</a></li><li><a title="Add Impel site toFavourites" tabindex="56" href="../javascript:addbookmark()">
Add to Favourites</a></li><li><a title="Feed on Impel Study Abroad" tabindex="57" href="feedback.aspx">Feed back</a></li><li><a title="Impel e-news" tabindex="58" href="e-news.aspx" class="current">e-news</a></li></ul>
</div>
<div id="footer-right">
<img src="../images/foot-navi-right.gif" alt="Overseas Consultants" /></div>
</div>
<div class="clear">
</div>
</div>
<div id="impel-certifications">
<a href="education-uk-certificate.html">
<img src="../images/education-uk.jpg" alt="Education UK Agent" border="0" class="img2" /></a>
<a href="aaaoe-certificate.html">
<img src="../images/aaaoe.jpg" alt="aaaoe - impel overseas" border="0" class="img" /></a>
<a href="http://www.nafsa.org/">
<img src="../images/nafsa.jpg" alt="nafsa - impel certifcation" border="0" class="img" /></a>
<a href="aaeri-certificate.html">
<img src="../images/aaeri.jpg" alt="aaeri - impel overseas" class="img" /></a>
<a href="http://www.pieronline.org/qeac/?txtSearch=Impel&page=qeac&u=">
<img src="../images/qeac.jpg" alt="qualified education agent counsellor" class="img" /></a>
<a href="certificate-compliance.html">
<img src="../images/iso.jpg" alt="impel ISO certified" class="img" /></a>
</div>
<div id="impel-cert-bot">
<img src="../images/impel-cert-bot.gif" alt="impel" width="934" height="9" /></div>
</div>
<div id="bottom-links">
<p>
© 2007 Impel Overseas Consultants Limited. All rights reserved. <a href="../privacy-policy.html">
Privacy Policy </a>| <a href="../terms-and-conditions.html">Terms and Conditions</a>
| <a href="../disclaimer.html">Disclaimer</a></p>
</div>
</div>
</ContentTemplate>
</asp:UpdatePanel>
<asp:UpdateProgress id="pnlProgress" runat="server">
<ProgressTemplate>
<ajaxToolkit:AlwaysVisibleControlExtender id="aceUpdate" runat="Server" TargetControlID="pnlUpdatePro" VerticalSide="Middle" HorizontalSide="center">
</ajaxToolkit:AlwaysVisibleControlExtender>
<asp:Panel ID="pnlUpdatePro" runat="server">
<div id="masterlogin" class="drag" style="position:absolute">
<table align="center">
<tr>
<td>
<img src="images/Picture7.gif" alt="please wait..." />
</td>
</tr>
</table>
</div>
</asp:Panel>
</ProgressTemplate>
</asp:UpdateProgress>
</form>
</body>
</html>
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54: 55: 56: 57: 58: 59: 60: 61: 62: 63: 64: 65: 66: 67: 68: 69: 70: 71: 72: 73: 74: 75: 76: 77: 78: 79: 80: 81: 82: 83: 84: 85: 86: 87: 88: 89: 90: 91: 92: 93: 94: 95: 96: 97: 98: 99: 100: 101: 102: 103: 104: 105: 106: 107: 108: 109: 110: 111: 112: 113: 114: 115: 116: 117: 118: 119: 120: 121: 122: 123: 124: 125: 126: 127: 128: 129: 130: 131: 132: 133: 134: 135: 136: 137: 138: 139: 140: 141: 142: 143: 144: 145: 146: 147: 148: 149: 150: 151: 152: 153: 154: 155: 156: 157: 158: 159: 160: 161: 162: 163: 164: 165: 166: 167: 168: 169: 170: 171: 172: 173: 174: 175: 176: 177: 178: 179: 180: 181: 182: 183: 184: 185: 186: 187: 188: 189: 190: 191: 192: 193: 194: 195: 196: 197: 198: 199: 200: 201: 202: 203: 204: 205: 206: 207: 208: 209: 210: 211: 212: 213: 214: 215: 216: 217: 218: 219: 220: 221: 222: 223: 224: 225: 226: 227: 228: 229: 230: 231: 232: 233: 234: 235: 236: 237: 238: 239: 240: 241: 242: 243: 244: 245: 246: 247: 248: 249: 250: 251: 252: 253: 254: 255: 256: 257: 258: 259: 260: 261: 262: 263: 264: 265: 266: 267: 268: 269: 270: 271: 272: 273: 274: 275: 276: 277: 278: 279: 280: 281: 282: 283: 284: 285: 286: 287: 288: 289: 290: 291: 292: 293: 294: 295: 296: 297: 298: 299: 300: 301: 302: 303: 304: 305: 306: 307: 308: 309: 310: 311: 312: 313: 314: 315: 316: 317: 318: 319: 320: 321: 322: 323: 324: 325: 326: 327: 328: 329: 330: 331: 332: 333: 334: 335: 336: 337: 338: 339: 340: 341: 342: 343: 344: 345: 346: 347: 348: 349: 350: 351: 352: 353: 354: 355: 356: 357: 358: 359: 360: 361: 362: 363: 364: 365: 366: 367: 368: 369: 370: 371: 372: 373: 374: 375: 376: 377: 378: 379: 380: 381: 382: 383: 384: 385: 386: 387: 388: 389: 390: 391: 392: 393: 394: 395: 396: 397: 398: 399: 400: 401: 402: 403: 404: 405: 406: 407: 408: 409: 410: 411: 412: 413: 414: 415: 416: 417: 418: 419: 420: 421: 422: 423: 424: 425: 426: 427: 428: 429: 430: 431: 432: 433: 434: 435: 436: 437: 438: 439: 440: 441: 442: 443: 444: 445: 446: 447: 448: 449: 450: 451: 452: 453: 454: 455: 456: 457: 458: 459: 460: 461: 462: 463: 464: 465: 466: 467: 468: 469: 470: 471: 472: 473: 474: 475: 476: 477: 478: 479: 480: 481: 482: 483: 484: 485: 486: 487: 488: 489: 490: 491: 492: 493: 494: 495: 496: 497: 498: 499: 500: 501: 502: 503: 504: 505: 506: 507: 508: 509: 510: 511: 512: 513: 514: 515: 516: 517: 518: 519: 520: 521: 522: 523: 524: 525: 526: 527: 528: 529: 530: 531: 532: 533: 534: 535: 536: 537: 538: 539: 540: 541: 542: 543: 544: 545: 546: 547: 548: 549: 550: 551: 552: 553: 554: 555: 556: 557: 558: 559: 560: 561: 562: 563: 564: 565: 566: 567: 568: 569: 570: 571: 572: 573: 574: 575: 576: 577: 578: 579: 580: 581: 582: 583: 584: 585: 586: 587: 588: 589: 590: 591: 592: 593: 594: 595: 596: 597: 598: 599: 600: 601: 602: 603: 604: 605: 606: 607: 608: 609: 610: 611: 612: 613: 614: 615: 616: 617: 618: 619: 620: 621: 622: 623: 624: 625: 626: 627: 628: 629: 630: 631: 632: 633: 634: 635: 636: 637: 638: 639: 640: 641: 642: 643: 644: 645: 646: 647: 648: 649: 650: 651: 652: 653: 654: 655: 656: 657: 658: 659: 660: 661: 662: 663: 664: 665: 666: 667: 668: 669: 670: 671: 672: 673: 674: 675: 676: 677: 678: 679: 680: 681: 682: 683: 684: 685: 686: 687: 688: 689: 690: 691: 692: 693: 694: 695: 696: 697: 698: 699: 700: 701: 702: 703: 704: 705: 706: 707: 708: 709: 710: 711: 712: 713: 714: 715: 716: 717: 718: 719: 720: 721: 722: 723: 724: 725: 726: 727: 728: 729: 730: 731: 732: 733: 734: 735: 736: 737: 738: 739: 740: 741: 742: 743: 744: 745: 746: 747: 748: 749: 750: 751: 752: 753: 754: 755: 756: 757: 758: 759: 760: 761: 762: 763: 764: 765: 766: 767: 768: 769: 770: 771: 772: 773: 774: 775: 776: 777: 778: 779: 780: 781: 782: 783: 784: 785: 786: 787: 788: 789: 790: 791: 792: 793: 794: 795: 796: 797: 798: 799: 800: 801: 802: 803: 804: 805: 806: 807: 808: 809: 810: 811: 812: 813: 814: 815: 816: 817: 818: 819: 820: 821: 822: 823: 824: 825: 826: 827: 828: 829: 830: 831: 832: 833: 834: 835: 836: 837: 838: 839: 840: 841: 842: 843: 844: 845: 846: 847: 848: 849: 850: 851: 852: 853: 854: 855: 856: 857: 858: 859: 860: 861: 862: 863: 864: 865: 866: 867: 868: 869: 870: 871: 872: 873: 874: 875: 876: 877: 878: 879: 880: 881: 882: 883: 884: 885: 886: 887: 888: 889: 890: 891: 892: 893: 894: 895: 896: 897: 898: 899: 900: 901: 902: 903: 904: 905: 906: 907: 908: 909: 910: 911: 912: 913: 914: 915: 916: 917: 918: 919: 920: 921: 922: 923: 924: 925: 926: 927: 928: 929: 930: 931: 932: 933: 934: 935: 936: 937: 938: 939: 940: 941: 942: 943: 944: 945: 946: 947: 948: 949: 950: 951: 952: 953: 954: 955: 956: 957: 958: 959: 960: 961: 962: 963: 964: 965: 966: 967: 968: 969: 970: 971: 972: 973: 974: 975: 976: 977: 978: 979: 980: 981: 982: 983: 984: 985: 986: 987: 988: 989: 990: 991: 992: 993: 994: 995: 996: 997: 998: 999: 1000: 1001: 1002: 1003: 1004: 1005: 1006: 1007: 1008: 1009: 1010: 1011: 1012: 1013: 1014: 1015: 1016: 1017: 1018: 1019: 1020: 1021: 1022: 1023: 1024: 1025: 1026: 1027: 1028: 1029: 1030: 1031: 1032: 1033: 1034: 1035: 1036: 1037: 1038: 1039: 1040: 1041: 1042: 1043: 1044: 1045: 1046: 1047: 1048: 1049: 1050: 1051: 1052: 1053: 1054: 1055: 1056: 1057: 1058: 1059: 1060: 1061: 1062: 1063: 1064: 1065: 1066: 1067: 1068: 1069: 1070: 1071: 1072: 1073: 1074: 1075: 1076: 1077: 1078: 1079: 1080: 1081: 1082: 1083: 1084: 1085: 1086: 1087: 1088: 1089: 1090: 1091: 1092: 1093: 1094: 1095: 1096: 1097: 1098: 1099: 1100: 1101: 1102: 1103: 1104: 1105: 1106: 1107: 1108: 1109: 1110: 1111: 1112: 1113: 1114: 1115: 1116: 1117: 1118: 1119: 1120: 1121: 1122: 1123: 1124: 1125: 1126: 1127: 1128: 1129: 1130: 1131: 1132: 1133: 1134: 1135: 1136: 1137: 1138: 1139: 1140: 1141: 1142: 1143: 1144: 1145: 1146: 1147: 1148: 1149: 1150: 1151: 1152: 1153: 1154: 1155: 1156: 1157: 1158: 1159: 1160: 1161: 1162: 1163: 1164: 1165: 1166: 1167: 1168: 1169: 1170: 1171: 1172: 1173: 1174: 1175: 1176: 1177: 1178: 1179: 1180: 1181: 1182: 1183: 1184: 1185: 1186: 1187: 1188: 1189: 1190: 1191: 1192: 1193: 1194: 1195: 1196: 1197: 1198: 1199: 1200: 1201: 1202: 1203: 1204: 1205: 1206: 1207: 1208: 1209: 1210: 1211: 1212: 1213: 1214: 1215: 1216: 1217: 1218: 1219: 1220: 1221: 1222: 1223: 1224: 1225: 1226: 1227: 1228: 1229: 1230: 1231: 1232: 1233: 1234: 1235: 1236: 1237: 1238: 1239: 1240: 1241: 1242: 1243: 1244: 1245: 1246: 1247: 1248: 1249: 1250: 1251: 1252: 1253: 1254: 1255: 1256: 1257: 1258: 1259: 1260: 1261: 1262: 1263: 1264: 1265: 1266: 1267: 1268: 1269: 1270: 1271: 1272: 1273: 1274: 1275: 1276: 1277: 1278: 1279: 1280: 1281: 1282: 1283: 1284: 1285: 1286: 1287: 1288: 1289: 1290: 1291: 1292: 1293: 1294: 1295: 1296: 1297: 1298: 1299: 1300: 1301: 1302: 1303: 1304: 1305: 1306: 1307: 1308: 1309: 1310: 1311: 1312: 1313: 1314: 1315: 1316: 1317: 1318: 1319: 1320: 1321: 1322: 1323: 1324: 1325: 1326: 1327: 1328: 1329: 1330: 1331: 1332: 1333: 1334: 1335: 1336: 1337: 1338: 1339: 1340: 1341: 1342: 1343: 1344: 1345: 1346: 1347: 1348: 1349: 1350: 1351: 1352: 1353: 1354: 1355: 1356: 1357: 1358: 1359: 1360: 1361: 1362: 1363: 1364: 1365: 1366: 1367: 1368: 1369: 1370: 1371: 1372: 1373: 1374: 1375: 1376: 1377: 1378: 1379: 1380: 1381: 1382: 1383: 1384: 1385: 1386: 1387: 1388: 1389: 1390: 1391: 1392: 1393: 1394: 1395: 1396: 1397: 1398: 1399: 1400: 1401: 1402: 1403: 1404: 1405: 1406: 1407: 1408: 1409: 1410: 1411: 1412: 1413: 1414: 1415: 1416: 1417: 1418: 1419: 1420: 1421: 1422: 1423: 1424: 1425: 1426: 1427: 1428: 1429: 1430: 1431: 1432: 1433: 1434: 1435: 1436: 1437: 1438: 1439: 1440:





by: WanaBRichPosted on 2008-05-16 at 05:55:22ID: 21582230
Can you check the file size from FileUpload1.PostedFile?
It might be that you value is null because of Ajax it has not be retrieved yet.
You may have to wrap the file upload in update panels and wait for the upload to complete.
You may have to implement threading / blocking to wait until the operation completes.
I cant see page life cycle in the code you may need to post the code snippet of the full page so I can see when the method is called in relation to the update panels.