Hello,
When I run the following locally, it executes without error. As soon as I upload it to Azure I get the following javascript error:
The button is defined as follows:
The code behind is a follows:
Thoughts?
When I run the following locally, it executes without error. As soon as I upload it to Azure I get the following javascript error:
SCRIPT5022: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred
while
processing the request on the server. The status code returned from the server was: 500
Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a81e8380f-3d65-467a-87ae-ccddde9a2478%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%3aen-US%3abcbc5876-5d5e-4774-955e-2ecda3d55cd3%3a16e4e7cd%3af7645509%3a22a6274a%3aed16cbdc%3a86526ba7%3a874f8ea2%3a24ee1bba%3a7165f74, line 15 character 16238
The button is defined as follows:
<
telerik:RadButton
ID
=
"loginButton"
runat
=
"server"
Text
=
"Login"
SingleClickText
=
"Validating"
SingleClick
=
"true"
OnClick
=
"btnLoginClick"
>
</
telerik:RadButton
>
The code behind is a follows:
protected
void
btnLoginClick(
object
sender, EventArgs args)
{
try
{
string
uName;
string
uPass;
uName=UsernameBox.Text;
uPass=PasswordBox.Text;
if
(uName==
"admin"
&& uPass==
"password"
)
{
Response.Redirect(
"dsxHome.aspx"
);
}
else
{
loginMessage.InnerText=
"Login Invalid!"
;
}
//end if
}
catch
{
loginMessage.InnerText=
"Problem with Login"
;
}
}
//end function
Thoughts?