[Mono-dev] Controls within a control in ASP.NET
Wael Zeenni
bigzee at zeenni.net
Tue Sep 2 15:21:02 EDT 2008
Hey people,
Not to be a pain or anything, but can someone please let me know if they could figure out what the problem is below? I've attached the file referred to in the backtrace as requested, but I'm not sure how to go about solving the problem.
Any help will be great.
Thanks again.
-----------------------------
Maerk, Petit, thanks for bearing with me. I didn't know I had to attach that file :p
Anyway, as requested, the errors are coming from the one file which I attached along with the backtrace which is as follows:
Server Error in '/' Application
_____
Object reference not set to an instance of an object
Description: HTTP 500. Error processing request.
Stack Trace:
System.NullReferenceException: Object reference not set to an instance of an object
at ASP.default_aspx.__BuildControl__bctrl_4 (ComponentArt.Web.UI.DialogContent __ctrl) [0x00000] in C:\Users\WAELZE~1\AppData\Local\Temp\Wael Zeenni-temp-aspnet-0\d4c29737\App_Web_646ab563_3.cs:434
at ASP.default_aspx.__BuildControl_dlgError () [0x0000d] in C:\Users\WAELZE~1\AppData\Local\Temp\Wael Zeenni-temp-aspnet-0\d4c29737\App_Web_646ab563_3.cs:389
at ASP.default_aspx.__BuildControl_form1 () [0x00018] in C:\Users\WAELZE~1\AppData\Local\Temp\Wael Zeenni-temp-aspnet-0\d4c29737\App_Web_646ab563_3.cs:343
at ASP.default_aspx.__BuildControlTree (ASP.default_aspx __ctrl) [0x00006] in C:\Users\WAELZE~1\AppData\Local\Temp\Wael Zeenni-temp-aspnet-0\d4c29737\App_Web_646ab563_3.cs:196
at ASP.default_aspx.FrameworkInitialize () [0x00006] in C:\Users\WAELZE~1\AppData\Local\Temp\Wael Zeenni-temp-aspnet-0\d4c29737\App_Web_646ab563_3.cs:943
at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00049] in C:\cygwin\tmp\monobuild\build\BUILD\mono-1.9.1\mcs\class\System.Web\System.Web.UI\Page.cs:1282
at System.Web.HttpApplication+<>c__CompilerGenerated6.MoveNext () [0x00d7f] in C:\cygwin\tmp\monobuild\build\BUILD\mono-1.9.1\mcs\class\System.Web\System.Web\HttpApplication.cs:999
at System.Web.HttpApplication.Tick () [0x00000] in C:\cygwin\tmp\monobuild\build\BUILD\mono-1.9.1\mcs\class\System.Web\System.Web\HttpApplication.cs:690
_____
Version information: Mono Version: 2.0.50727.42; ASP.NET Version: 2.0.50727.42
Note that this was run using Mono 1.9.1 and not the 2.0 Preview.
Looking through the file, it seems all the errors are coming from something called System.Web.UI.IParserAccessor. I'm not sure what that means, so I'm hoping at least you might have an idea. If it is indeed a Mono bug, then I will log it as such, but I'd rather make sure first.
Thanks for any help guys.
_____
From: Marek Habersack [mailto:grendel at twistedcode.net]
To: Wael Zeenni [mailto:bigzee at zeenni.net]
Cc: mono-devel-list at lists.ximian.com
Sent: Thu, 28 Aug 2008 15:15:23 -0400
Subject: Re: [Mono-dev] Controls within a control in ASP.NET
On Tue, 26 Aug 2008 05:45:00 -0400
"Wael Zeenni" <bigzee at zeenni.net> wrote:
Hello,
> Petit, Marek, Thanks for the responses so far.
>
> I (finally) got XSP2 and Mono to run in debug mode and now there are line numbers
> into the code files that show up on the error page. Below is what I am getting:
>
> Server Error in '/' Application
[snip]
C:\Users\wzeenni\AppData\Local\Temp\wzeenni-temp-aspnet-0\13ab1697\App_Web_4d5b6eaf_3.cs:1096
> at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00049] in
[snip]
> Does that mean anything to anyone? In the above error that is referring to my
> Default.aspx page, line 37 and 41 are simply the Dialog control that I am using.
In itself it doesn't mean anything - you forgot to attach the generated file (whose
path I left above). Note that each time you generate restart the application, the
file will have a different name - please copy the file and attach it to the mail
along with the new backtrace.
regards,
marek
> I have no clue how to read through the source code of mono for the other .cs
> files. If anyone can help I would REALLY appreciate it.
>
> Thank you.
>
> Zee.
> _____
>
> From: Marek Habersack [mailto:grendel at twistedcode.net]
> To: Wael Zeenni [mailto:bigzee at zeenni.net]
> Cc: mono-devel-list at lists.ximian.com, Petit Eric [mailto:surfzoid at gmail.com]
> Sent: Mon, 25 Aug 2008 04:20:06 -0400
> Subject: Re: [Mono-dev] Controls within a control in ASP.NET
>
> On Mon, 25 Aug 2008 02:17:32 -0400
> "Wael Zeenni" <bigzee at zeenni.net> wrote:
>
> > Dear Eric,
> >
> > Thanks for the response.
> >
> > I ran the ComponentArt DLL through the MoMA and everything turned out fine. There
> > were no PInvokes and no missing Mono functionality.
> > As to where the error is coming up, I know exactly where it's happening. I
> > started a blank aspx page and placed 2 controls in it. One of them is a Dialog
> > control and then, inside this dialog control, I placed a text box. When I ran
> > this through IIS, it worked fine. However, when I ran it with Mono, I got the
> > same error below. Realistically, I don't need to declare these controls using
> > "new" at runtime as I am not creating them dynamically. They are already on the
> > page. However, if this is a Mono workaround, I guess I'll have to try that. But
> > where should I declare these controls? In the PageLoad()? And regarding your
> > other solution about tracing, unfortunately, I'm not that experienced with doing
> > this sort of stuff. I just thought that I couldn't be the only person here with
> > this problem. I'm sure someone else must have had some project where a control
> > is contained within another control :p Any ideas? I really need this to work or
> > else it will effectively kill my web app's cross-platformness :( Zee _____
> It's most likely a bug in Mono. It's hard to fix it given the information in your
> previous mail, though. Could you, please, run the application with mono --debug
> (and make sure that <compilation debug="true"/> is present in your web.config),
> then post the backtrace together with the generated file. That will give more
> information and make it easier to see what's going on.
>
> regards,
>
> marek
>
>
>
>
> !DSPAM:2,48b3d7ae238117706610945!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080902/fc48a065/attachment-0001.html
-------------- next part --------------
// ------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a tool.
// Mono Runtime Version: 2.0.50727.42
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </autogenerated>
// ------------------------------------------------------------------------------
public partial class _Default : System.Web.SessionState.IRequiresSessionState {
#line 10 "C:\Development\ClamTrack\Website\Default.aspx"
protected global::System.Web.UI.HtmlControls.HtmlHead _bctrl_1;
#line default
#line 11 "C:\Development\ClamTrack\Website\Default.aspx"
protected global::System.Web.UI.HtmlControls.HtmlTitle _bctrl_2;
#line default
#line 12 "C:\Development\ClamTrack\Website\Default.aspx"
protected global::System.Web.UI.HtmlControls.HtmlLink _bctrl_3;
#line default
#line 36 "C:\Development\ClamTrack\Website\Default.aspx"
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
#line default
#line 40 "C:\Development\ClamTrack\Website\Default.aspx"
protected global::ComponentArt.Web.UI.Dialog dlgError;
#line default
#line 44 "C:\Development\ClamTrack\Website\Default.aspx"
protected global::ComponentArt.Web.UI.DialogContent _bctrl_4;
#line default
#line 60 "C:\Development\ClamTrack\Website\Default.aspx"
protected global::ComponentArt.Web.UI.DialogContent _bctrl_5;
#line default
#line 82 "C:\Development\ClamTrack\Website\Default.aspx"
protected global::ComponentArt.Web.UI.DialogContent _bctrl_6;
#line default
#line 88 "C:\Development\ClamTrack\Website\Default.aspx"
protected global::System.Web.UI.WebControls.ImageButton btnOK;
#line default
#line 98 "C:\Development\ClamTrack\Website\Default.aspx"
protected global::ComponentArt.Web.UI.Dialog dlgSignIn;
#line default
#line 102 "C:\Development\ClamTrack\Website\Default.aspx"
protected global::ComponentArt.Web.UI.DialogContent _bctrl_7;
#line default
#line 128 "C:\Development\ClamTrack\Website\Default.aspx"
protected global::ComponentArt.Web.UI.DialogContent _bctrl_8;
#line default
#line 139 "C:\Development\ClamTrack\Website\Default.aspx"
protected global::System.Web.UI.WebControls.TextBox txtEmail;
#line default
#line 146 "C:\Development\ClamTrack\Website\Default.aspx"
protected global::System.Web.UI.WebControls.RequiredFieldValidator fvEmail;
#line default
#line 152 "C:\Development\ClamTrack\Website\Default.aspx"
protected global::System.Web.UI.WebControls.TextBox txtPassword;
#line default
#line 159 "C:\Development\ClamTrack\Website\Default.aspx"
protected global::System.Web.UI.WebControls.RequiredFieldValidator RequiredFieldValidator1;
#line default
#line 164 "C:\Development\ClamTrack\Website\Default.aspx"
protected global::System.Web.UI.WebControls.Label lblError;
#line default
#line 173 "C:\Development\ClamTrack\Website\Default.aspx"
protected global::ComponentArt.Web.UI.DialogContent _bctrl_9;
#line default
#line 179 "C:\Development\ClamTrack\Website\Default.aspx"
protected global::System.Web.UI.WebControls.ImageButton btnLogin;
#line default
protected System.Web.HttpApplication ApplicationInstance {
get {
return ((System.Web.HttpApplication)(this.Context.ApplicationInstance));
}
}
protected System.Web.Profile.DefaultProfile Profile {
get {
return ((System.Web.Profile.DefaultProfile)(this.Context.Profile));
}
}
}
namespace ASP {
using System;
using System.Collections;
using System.Collections.Specialized;
using System.Configuration;
using System.Text;
using System.Text.RegularExpressions;
using System.Web;
using System.Web.Caching;
using System.Web.SessionState;
using System.Web.Security;
using System.Web.Profile;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using AjaxControlToolkit;
using ComponentArt.Web.UI;
public class default_aspx : global::_Default, System.Web.IHttpHandler {
private static bool __initialized = false;
private static object __fileDependencies = null;
private static int __autoHandlers;
public default_aspx() {
string[] dependencies;
((global::System.Web.UI.Page)(this)).AppRelativeVirtualPath = "~/Default.aspx";
if ((global::ASP.default_aspx.__initialized == false)) {
dependencies = new string[2];
dependencies[0] = "~/Default.aspx";
dependencies[1] = "~/Default.aspx.cs";
global::ASP.default_aspx.__fileDependencies = this.GetWrappedFileDependencies(dependencies);
global::ASP.default_aspx.__initialized = true;
}
}
[System.Obsolete()]
protected override int AutoHandlers {
get {
return ASP.default_aspx.__autoHandlers;
}
set {
ASP.default_aspx.__autoHandlers = value;
}
}
private void __BuildControlTree(default_aspx __ctrl) {
#line 1 "C:\Development\ClamTrack\Website\Default.aspx"
this.InitializeCulture();
#line default
System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(__ctrl));
#line 1 "C:\Development\ClamTrack\Website\Default.aspx"
__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n\n<html xmlns=\"http://www.w3.org/1999/xhtml\" style=\"overflow:auto;\">\n"));
#line default
#line 1 "C:\Development\ClamTrack\Website\Default.aspx"
this.__BuildControl__bctrl_1();
#line default
#line 1 "C:\Development\ClamTrack\Website\Default.aspx"
__parser.AddParsedSubObject(this._bctrl_1);
#line default
#line 1 "C:\Development\ClamTrack\Website\Default.aspx"
__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\n<body onload=\"ShowDialog();\" style=\"padding-right: 0px; background-position: left top; padding-left: 0px; background-image: url(images/bg_gradient.jpg); padding-bottom: 0px; margin: 0px; padding-top: 0px; background-repeat: repeat-x; background-color: #567db0; font-size: 12px; color: black; font-family: Arial;\">\n"));
#line default
#line 1 "C:\Development\ClamTrack\Website\Default.aspx"
this.__BuildControl_form1();
#line default
#line 1 "C:\Development\ClamTrack\Website\Default.aspx"
__parser.AddParsedSubObject(this.form1);
#line default
#line 1 "C:\Development\ClamTrack\Website\Default.aspx"
__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\n</body>\n</html>\n"));
#line default
}
private System.Web.UI.Control __BuildControl__bctrl_1() {
System.Web.UI.HtmlControls.HtmlHead __ctrl;
#line 10 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl = new System.Web.UI.HtmlControls.HtmlHead("head");
#line default
#line 10 "C:\Development\ClamTrack\Website\Default.aspx"
this._bctrl_1 = __ctrl;
#line default
#line 10 "C:\Development\ClamTrack\Website\Default.aspx"
this.__BuildControl__bctrl_2();
#line default
System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(__ctrl));
#line 10 "C:\Development\ClamTrack\Website\Default.aspx"
__parser.AddParsedSubObject(this._bctrl_2);
#line default
#line 10 "C:\Development\ClamTrack\Website\Default.aspx"
this.__BuildControl__bctrl_3();
#line default
#line 10 "C:\Development\ClamTrack\Website\Default.aspx"
__parser.AddParsedSubObject(this._bctrl_3);
#line default
#line 10 "C:\Development\ClamTrack\Website\Default.aspx"
__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("<script type=\"text/javascript\">\nfunction ShowDialog()\n{\n if(navigator.cookieEnabled)\n {\n // Show only if cookies are enabled on the client browser\n dlgSignIn.Show();\n }\n else\n {\n dlgError.Show();\n }\n}\n\nfunction CloseDialog()\n{\n window.close();\n}\n</script>\n\n"));
#line default
return __ctrl;
}
private System.Web.UI.Control __BuildControl__bctrl_2() {
System.Web.UI.HtmlControls.HtmlTitle __ctrl;
#line 11 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl = new System.Web.UI.HtmlControls.HtmlTitle();
#line default
#line 11 "C:\Development\ClamTrack\Website\Default.aspx"
this._bctrl_2 = __ctrl;
#line default
System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(__ctrl));
#line 11 "C:\Development\ClamTrack\Website\Default.aspx"
__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("Welcome"));
#line default
return __ctrl;
}
private System.Web.UI.Control __BuildControl__bctrl_3() {
System.Web.UI.HtmlControls.HtmlLink __ctrl;
#line 12 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl = new System.Web.UI.HtmlControls.HtmlLink();
#line default
#line 12 "C:\Development\ClamTrack\Website\Default.aspx"
this._bctrl_3 = __ctrl;
#line default
#line 12 "C:\Development\ClamTrack\Website\Default.aspx"
((System.Web.UI.IAttributeAccessor)(__ctrl)).SetAttribute("rel", "stylesheet");
#line default
#line 12 "C:\Development\ClamTrack\Website\Default.aspx"
((System.Web.UI.IAttributeAccessor)(__ctrl)).SetAttribute("type", "text/css");
#line default
#line 12 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl.Href = "styles/WelcomeStyle.css";
#line default
return __ctrl;
}
private System.Web.UI.Control __BuildControl_form1() {
System.Web.UI.HtmlControls.HtmlForm __ctrl;
#line 36 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl = new System.Web.UI.HtmlControls.HtmlForm();
#line default
#line 36 "C:\Development\ClamTrack\Website\Default.aspx"
this.form1 = __ctrl;
#line default
#line 36 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl.ID = "form1";
#line default
System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(__ctrl));
#line 36 "C:\Development\ClamTrack\Website\Default.aspx"
__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\n \n <img src=\"images/blue_curve.jpg\" style=\"width: 482px; height: 157px\" />\n \n "));
#line default
#line 36 "C:\Development\ClamTrack\Website\Default.aspx"
this.__BuildControl_dlgError();
#line default
#line 36 "C:\Development\ClamTrack\Website\Default.aspx"
__parser.AddParsedSubObject(this.dlgError);
#line default
#line 36 "C:\Development\ClamTrack\Website\Default.aspx"
__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\n \n <p />\n "));
#line default
#line 36 "C:\Development\ClamTrack\Website\Default.aspx"
this.__BuildControl_dlgSignIn();
#line default
#line 36 "C:\Development\ClamTrack\Website\Default.aspx"
__parser.AddParsedSubObject(this.dlgSignIn);
#line default
return __ctrl;
}
private System.Web.UI.Control __BuildControl_dlgError() {
ComponentArt.Web.UI.Dialog __ctrl;
#line 40 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl = new ComponentArt.Web.UI.Dialog();
#line default
#line 40 "C:\Development\ClamTrack\Website\Default.aspx"
this.dlgError = __ctrl;
#line default
__ctrl.ApplyStyleSheetSkin(this);
#line 40 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl.ID = "dlgError";
#line default
#line 40 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl.Alignment = ((ComponentArt.Web.UI.DialogAlignType)(ComponentArt.Web.UI.DialogAlignType.MiddleCentre));
#line default
#line 40 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl.HeaderCssClass = "DlgHeaderCss";
#line default
#line 40 "C:\Development\ClamTrack\Website\Default.aspx"
((System.Web.UI.IAttributeAccessor)(__ctrl)).SetAttribute("style", "top: 213px; left: 0px");
#line default
#line 40 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl.AllowDrag = true;
#line default
#line 40 "C:\Development\ClamTrack\Website\Default.aspx"
this.__BuildControl__bctrl_4(__ctrl.Header);
#line default
#line 40 "C:\Development\ClamTrack\Website\Default.aspx"
this.__BuildControl__bctrl_5(__ctrl.Content);
#line default
#line 40 "C:\Development\ClamTrack\Website\Default.aspx"
this.__BuildControl__bctrl_6(__ctrl.Footer);
#line default
return __ctrl;
}
private void __BuildControl__bctrl_4(ComponentArt.Web.UI.DialogContent __ctrl) {
System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(__ctrl));
#line 44 "C:\Development\ClamTrack\Website\Default.aspx"
__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\n <table cellpadding=\"0\" cellspacing=\"0\" width=\"250px\" onmousedown=\"dlgError.StartDrag(event);\">\n <tr>\n <td width=\"8\"><img style=\"display:block;\" src=\"images/top_left.gif\"/></td>\n <td style=\"background-image:url(images/top.gif);padding:10px;\">\n <table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\">\n <tr>\n <td valign=\"middle\" style=\"color:red;font-size:15px;font-family:Arial;font-weight:bold;\">Error</td>\n <td align=\"right\"><img class=\"DlgCloseBtn\" src=\"images/close.gif\" onclick=\"CloseDialog();\" /></td></tr>\n </table>\n </td>\n <td width=\"8\"><img style=\"display:block;\" src=\"images/top_right.gif\"/></td>\n </tr>\n </table>\n "));
#line default
}
private void __BuildControl__bctrl_5(ComponentArt.Web.UI.DialogContent __ctrl) {
System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(__ctrl));
#line 60 "C:\Development\ClamTrack\Website\Default.aspx"
__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\n <table cellpadding=\"0\" cellspacing=\"0\" width=\"250px\">\n <tr>\n <td style=\"background-image:url(images/left_border.gif);background-color:#BAD1EA;\" width=\"8\" valign=\"top\"><img src=\"images/left.gif\" /></td>\n <td style=\"background-color:white;font-size:12px;font-family:Arial;\"><table cellpadding=\"0\" cellspacing=\"0\"><tr><td style=\"padding:10px;\">\n <table border=\"0\" cellpadding=\"5\" style=\"width: 100%\">\n <tr>\n <td style=\"vertical-align: top\" width=\"35px\">\n <img src=\"images/icon_Error.png\" style=\"width: 35px; height: 35px\" /></td>\n <td style=\"vertical-align: top\">\n Sorry, but in order to access this application, cookies must be enabled.<p>\n Please enable cookies in your browser and try again.</p>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n </table>\n<td style=\"background-image:url(images/right_border.gif);background-color:#BAD1EA;\" width=\"8\" valign=\"top\"><img src=\"images/right.gif\" /></td>\n</tr>\n</table>\n "));
#line default
}
private void __BuildControl__bctrl_6(ComponentArt.Web.UI.DialogContent __ctrl) {
System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(__ctrl));
#line 82 "C:\Development\ClamTrack\Website\Default.aspx"
__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\n <table cellpadding=\"0\" cellspacing=\"0\" width=\"250px\" \r\n style=\"height: 45px\">\n <tr>\n <td width=\"8\" valign=\"bottom\" style=\"background-image:url(images/left_border.gif);background-color: #BAD1EA\"><img style=\"display:block;\" src=\"images/bottom_left.gif\"/></td>\n <td style=\"background-position: bottom; padding: 5px 5px 10px 5px; background-image:url('images/bottom.gif'); background-color:#F0F0F0; text-align: right; background-repeat: repeat-x;\">\n "));
#line default
#line 82 "C:\Development\ClamTrack\Website\Default.aspx"
this.__BuildControl_btnOK();
#line default
#line 82 "C:\Development\ClamTrack\Website\Default.aspx"
__parser.AddParsedSubObject(this.btnOK);
#line default
#line 82 "C:\Development\ClamTrack\Website\Default.aspx"
__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\n </td>\n <td width=\"8\" valign=\"bottom\" style=\"background-image:url(images/right_border.gif); background-color: #BAD1EA\"><img style=\"display:block;filter:alpha(opacity=60);\" src=\"images/bottom_right.gif\"/></td>\n </tr>\n </table>\n "));
#line default
}
private System.Web.UI.Control __BuildControl_btnOK() {
System.Web.UI.WebControls.ImageButton __ctrl;
#line 88 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl = new System.Web.UI.WebControls.ImageButton();
#line default
#line 88 "C:\Development\ClamTrack\Website\Default.aspx"
this.btnOK = __ctrl;
#line default
__ctrl.ApplyStyleSheetSkin(this);
#line 88 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl.ID = "btnOK";
#line default
#line 88 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl.ImageUrl = "./images/btn_OK.png";
#line default
#line 88 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl.Height = new System.Web.UI.WebControls.Unit(20, System.Web.UI.WebControls.UnitType.Pixel);
#line default
#line 88 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl.OnClientClick = "CloseDialog();";
#line default
return __ctrl;
}
private System.Web.UI.Control __BuildControl_dlgSignIn() {
ComponentArt.Web.UI.Dialog __ctrl;
#line 98 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl = new ComponentArt.Web.UI.Dialog();
#line default
#line 98 "C:\Development\ClamTrack\Website\Default.aspx"
this.dlgSignIn = __ctrl;
#line default
__ctrl.ApplyStyleSheetSkin(this);
#line 98 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl.ID = "dlgSignIn";
#line default
#line 98 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl.Alignment = ((ComponentArt.Web.UI.DialogAlignType)(ComponentArt.Web.UI.DialogAlignType.MiddleCentre));
#line default
#line 98 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl.HeaderCssClass = "DlgHeaderCss";
#line default
#line 98 "C:\Development\ClamTrack\Website\Default.aspx"
((System.Web.UI.IAttributeAccessor)(__ctrl)).SetAttribute("style", "top: 145px; left: 485px");
#line default
#line 98 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl.AllowDrag = true;
#line default
#line 98 "C:\Development\ClamTrack\Website\Default.aspx"
this.__BuildControl__bctrl_7(__ctrl.Header);
#line default
#line 98 "C:\Development\ClamTrack\Website\Default.aspx"
this.__BuildControl__bctrl_8(__ctrl.Content);
#line default
#line 98 "C:\Development\ClamTrack\Website\Default.aspx"
this.__BuildControl__bctrl_9(__ctrl.Footer);
#line default
return __ctrl;
}
private void __BuildControl__bctrl_7(ComponentArt.Web.UI.DialogContent __ctrl) {
System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(__ctrl));
#line 102 "C:\Development\ClamTrack\Website\Default.aspx"
__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\n <table cellpadding=\"0\" cellspacing=\"0\" \r\n onmousedown=\"dlgSignIn.StartDrag(event);\" width=\"250px\">\n <tr>\n <td width=\"8\">\n <img src=\"images/top_left.gif\" style=\"display:block;\" /></td>\n <td style=\"background-image: url(images/top.gif); padding: 10px;\">\n <table cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">\n <tr>\n <td style=\"width: 22px; color: White; font-size: 15px; font-family: Arial; font-weight: bold;\" \r\n valign=\"middle\">\n <img src=\"images/LockIcon_small.png\" /></td>\n <td style=\"color:White;font-size:15px;font-family:Arial;font-weight:bold;\" \r\n valign=\"middle\">\n Sign in...</td>\n <td align=\"right\">\n <img class=\"DlgCloseBtn\" onclick=\"CloseDialog();\" src=\"images/close.gif\" /></td>\n </tr>\n </table>\n </td>\n <td width=\"8\">\n <img src=\"images/top_right.gif\" style=\"display:block;\" /></td>\n </tr>\n </table>\n "));
#line default
}
private void __BuildControl__bctrl_8(ComponentArt.Web.UI.DialogContent __ctrl) {
System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(__ctrl));
#line 128 "C:\Development\ClamTrack\Website\Default.aspx"
__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\n <table cellpadding=\"0\" cellspacing=\"0\" width=\"250px\">\n <tr>\n <td style=\"background-image:url(images/left_border.gif);background-color:#BAD1EA;filter:alpha(opacity=60);\" width=\"8\" valign=\"top\"><img src=\"images/left.gif\" /></td>\n <td style=\"background-color:white;font-size:12px;font-family:Arial;\"><table cellpadding=\"0\" cellspacing=\"0\"><tr><td style=\"padding:10px;\">\n<table border=\"0\" cellpadding=\"0\" cellspacing=\"1\" \r\n style=\"background-color: #FFFFFF; font-family: Arial, Helvetica, sans-serif; font-size: 11px;\">\n <tr>\n <td style=\"text-align: left; width: 53px;\">\n Email:</td>\n <td>\n "));
#line default
#line 128 "C:\Development\ClamTrack\Website\Default.aspx"
this.__BuildControl_txtEmail();
#line default
#line 128 "C:\Development\ClamTrack\Website\Default.aspx"
__parser.AddParsedSubObject(this.txtEmail);
#line default
#line 128 "C:\Development\ClamTrack\Website\Default.aspx"
__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("</td>\n </tr>\n <tr>\n <td>\n </td>\n <td>\n "));
#line default
#line 128 "C:\Development\ClamTrack\Website\Default.aspx"
this.__BuildControl_fvEmail();
#line default
#line 128 "C:\Development\ClamTrack\Website\Default.aspx"
__parser.AddParsedSubObject(this.fvEmail);
#line default
#line 128 "C:\Development\ClamTrack\Website\Default.aspx"
__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("</td>\n </tr>\n <tr>\n <td style=\"text-align: left\">\n Password:</td>\n <td>\n "));
#line default
#line 128 "C:\Development\ClamTrack\Website\Default.aspx"
this.__BuildControl_txtPassword();
#line default
#line 128 "C:\Development\ClamTrack\Website\Default.aspx"
__parser.AddParsedSubObject(this.txtPassword);
#line default
#line 128 "C:\Development\ClamTrack\Website\Default.aspx"
__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("</td>\n </tr>\n <tr>\n <td>\n </td>\n <td>\n "));
#line default
#line 128 "C:\Development\ClamTrack\Website\Default.aspx"
this.__BuildControl_RequiredFieldValidator1();
#line default
#line 128 "C:\Development\ClamTrack\Website\Default.aspx"
__parser.AddParsedSubObject(this.RequiredFieldValidator1);
#line default
#line 128 "C:\Development\ClamTrack\Website\Default.aspx"
__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("</td>\n </tr>\n </table>\n <br />\n "));
#line default
#line 128 "C:\Development\ClamTrack\Website\Default.aspx"
this.__BuildControl_lblError();
#line default
#line 128 "C:\Development\ClamTrack\Website\Default.aspx"
__parser.AddParsedSubObject(this.lblError);
#line default
#line 128 "C:\Development\ClamTrack\Website\Default.aspx"
__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\n </td></tr></table>\n <td style=\"background-image:url(images/right_border.gif);background-color:#BAD1EA;\" width=\"8\" valign=\"top\"><img src=\"images/right.gif\" /></td>\n </tr>\n </table>\n "));
#line default
}
private System.Web.UI.Control __BuildControl_txtEmail() {
System.Web.UI.WebControls.TextBox __ctrl;
#line 139 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl = new System.Web.UI.WebControls.TextBox();
#line default
#line 139 "C:\Development\ClamTrack\Website\Default.aspx"
this.txtEmail = __ctrl;
#line default
__ctrl.ApplyStyleSheetSkin(this);
#line 139 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl.ID = "txtEmail";
#line default
#line 139 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl.BorderColor = System.Drawing.Color.FromArgb(255, 101, 145, 205);
#line default
#line 139 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl.Width = new System.Web.UI.WebControls.Unit(155, System.Web.UI.WebControls.UnitType.Pixel);
#line default
#line 139 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl.MaxLength = 250;
#line default
#line 139 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl.BorderStyle = ((System.Web.UI.WebControls.BorderStyle)(System.Web.UI.WebControls.BorderStyle.Solid));
#line default
#line 139 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl.BorderWidth = new System.Web.UI.WebControls.Unit(1, System.Web.UI.WebControls.UnitType.Pixel);
#line default
return __ctrl;
}
private System.Web.UI.Control __BuildControl_fvEmail() {
System.Web.UI.WebControls.RequiredFieldValidator __ctrl;
#line 146 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl = new System.Web.UI.WebControls.RequiredFieldValidator();
#line default
#line 146 "C:\Development\ClamTrack\Website\Default.aspx"
this.fvEmail = __ctrl;
#line default
__ctrl.ApplyStyleSheetSkin(this);
#line 146 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl.ID = "fvEmail";
#line default
#line 146 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl.ErrorMessage = "Please enter your email address.";
#line default
#line 146 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl.ForeColor = System.Drawing.Color.Red;
#line default
#line 146 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl.ControlToValidate = "txtEmail";
#line default
#line 146 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl.Font.Size = new System.Web.UI.WebControls.FontUnit(new System.Web.UI.WebControls.Unit(11, System.Web.UI.WebControls.UnitType.Pixel));
#line default
return __ctrl;
}
private System.Web.UI.Control __BuildControl_txtPassword() {
System.Web.UI.WebControls.TextBox __ctrl;
#line 152 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl = new System.Web.UI.WebControls.TextBox();
#line default
#line 152 "C:\Development\ClamTrack\Website\Default.aspx"
this.txtPassword = __ctrl;
#line default
__ctrl.ApplyStyleSheetSkin(this);
#line 152 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl.ID = "txtPassword";
#line default
#line 152 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl.BorderColor = System.Drawing.Color.FromArgb(255, 101, 145, 205);
#line default
#line 152 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl.Width = new System.Web.UI.WebControls.Unit(155, System.Web.UI.WebControls.UnitType.Pixel);
#line default
#line 152 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl.MaxLength = 20;
#line default
#line 152 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl.BorderStyle = ((System.Web.UI.WebControls.BorderStyle)(System.Web.UI.WebControls.BorderStyle.Solid));
#line default
#line 152 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl.BorderWidth = new System.Web.UI.WebControls.Unit(1, System.Web.UI.WebControls.UnitType.Pixel);
#line default
#line 152 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl.TextMode = ((System.Web.UI.WebControls.TextBoxMode)(System.Web.UI.WebControls.TextBoxMode.Password));
#line default
return __ctrl;
}
private System.Web.UI.Control __BuildControl_RequiredFieldValidator1() {
System.Web.UI.WebControls.RequiredFieldValidator __ctrl;
#line 159 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl = new System.Web.UI.WebControls.RequiredFieldValidator();
#line default
#line 159 "C:\Development\ClamTrack\Website\Default.aspx"
this.RequiredFieldValidator1 = __ctrl;
#line default
__ctrl.ApplyStyleSheetSkin(this);
#line 159 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl.ID = "RequiredFieldValidator1";
#line default
#line 159 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl.ErrorMessage = "Please enter your password.";
#line default
#line 159 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl.ForeColor = System.Drawing.Color.Red;
#line default
#line 159 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl.ControlToValidate = "txtPassword";
#line default
#line 159 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl.Font.Size = new System.Web.UI.WebControls.FontUnit(new System.Web.UI.WebControls.Unit(11, System.Web.UI.WebControls.UnitType.Pixel));
#line default
return __ctrl;
}
private System.Web.UI.Control __BuildControl_lblError() {
System.Web.UI.WebControls.Label __ctrl;
#line 164 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl = new System.Web.UI.WebControls.Label();
#line default
#line 164 "C:\Development\ClamTrack\Website\Default.aspx"
this.lblError = __ctrl;
#line default
__ctrl.ApplyStyleSheetSkin(this);
#line 164 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl.ID = "lblError";
#line default
#line 164 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl.Font.Size = new System.Web.UI.WebControls.FontUnit(new System.Web.UI.WebControls.Unit(11, System.Web.UI.WebControls.UnitType.Pixel));
#line default
#line 164 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl.Text = "The email / password combination you entered is invalid.<br>Please re-enter your email and password again.";
#line default
#line 164 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl.Visible = false;
#line default
#line 164 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl.ForeColor = System.Drawing.Color.Red;
#line default
#line 164 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl.BorderWidth = new System.Web.UI.WebControls.Unit(0, System.Web.UI.WebControls.UnitType.Pixel);
#line default
return __ctrl;
}
private void __BuildControl__bctrl_9(ComponentArt.Web.UI.DialogContent __ctrl) {
System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(__ctrl));
#line 173 "C:\Development\ClamTrack\Website\Default.aspx"
__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\n <table cellpadding=\"0\" cellspacing=\"0\" width=\"250px\" \r\n style=\"height: 45px\">\n <tr>\n <td width=\"8\" valign=\"bottom\" style=\"background-image:url(images/left_border.gif);background-color: #BAD1EA\"><img style=\"display:block;\" src=\"images/bottom_left.gif\"/></td>\n <td style=\"background-position: bottom; padding: 5px 5px 10px 5px; background-image:url('images/bottom.gif'); background-color:#F0F0F0; text-align: right; background-repeat: repeat-x;\">\n "));
#line default
#line 173 "C:\Development\ClamTrack\Website\Default.aspx"
this.__BuildControl_btnLogin();
#line default
#line 173 "C:\Development\ClamTrack\Website\Default.aspx"
__parser.AddParsedSubObject(this.btnLogin);
#line default
#line 173 "C:\Development\ClamTrack\Website\Default.aspx"
__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\n </td>\n <td width=\"8\" valign=\"bottom\" style=\"background-image:url(images/right_border.gif); background-color: #BAD1EA\"><img style=\"display:block;filter:alpha(opacity=60);\" src=\"images/bottom_right.gif\"/></td>\n </tr>\n </table>\n "));
#line default
}
private System.Web.UI.Control __BuildControl_btnLogin() {
System.Web.UI.WebControls.ImageButton __ctrl;
#line 179 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl = new System.Web.UI.WebControls.ImageButton();
#line default
#line 179 "C:\Development\ClamTrack\Website\Default.aspx"
this.btnLogin = __ctrl;
#line default
__ctrl.ApplyStyleSheetSkin(this);
#line 179 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl.ID = "btnLogin";
#line default
#line 179 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl.ImageUrl = "./images/btn_Next.png";
#line default
#line 179 "C:\Development\ClamTrack\Website\Default.aspx"
__ctrl.Height = new System.Web.UI.WebControls.Unit(20, System.Web.UI.WebControls.UnitType.Pixel);
#line default
__ctrl.Click += new System.Web.UI.ImageClickEventHandler(this.btnLogin_Click);
return __ctrl;
}
protected override void FrameworkInitialize() {
base.FrameworkInitialize();
this.__BuildControlTree(this);
this.AddWrappedFileDependencies(global::ASP.default_aspx.__fileDependencies);
this.Request.ValidateInput();
}
public override int GetTypeHashCode() {
return 1265973045;
}
}
}
-------------- next part --------------
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list
More information about the Mono-devel-list
mailing list