Server Error in '/' Application
Compilation Error
Description:
Error compiling a resource required to service this request. Review your
source file and modify it to fix this error.
Error message: Internal(0,0) : warning CS8018: Could not find the
symbol writer assembly (Mono.CSharp.Debugger.dll). This is normally an
installation problem. Please make sure to compile and install the
mcs/class/Mono.CSharp.Debugger directory.
C:\DOCUME~1\ludmil\LOCALS~1\Temp\tmp2e3e9207.cs(126,0) : error CS0117:
`System.Web.HttpRequest' does not contain a definition for `ValidateInput' (0,0)
: error failed: 1 error(s), 1 warnings
File name: F:\downloads\mono\xsp-0.9\test\button.aspx
Source File: Internal
Line 1: // ------------------------------------------------------------------------------
Line 2: // <autogenerated>
Line 3: // This code was generated by a tool.
Line 4: // Mono Runtime Version: 1.1.4322.573
Line 5: //
Line 6: // Changes to this file may cause incorrect behavior and will be lost if
Line 7: // the code is regenerated.
Line 8: // </autogenerated>
Line 9: // ------------------------------------------------------------------------------
Line 10:
Line 11: namespace ASP {
Line 12: using System;
Line 13: using System.Collections;
Line 14: using System.Collections.Specialized;
Line 15: using System.Configuration;
Line 16: using System.Text;
Line 17: using System.Text.RegularExpressions;
Line 18: using System.Web;
Line 19: using System.Web.Caching;
Line 20: using System.Web.Security;
Line 21: using System.Web.SessionState;
Line 22: using System.Web.UI;
Line 23: using System.Web.UI.WebControls;
Line 24: using System.Web.UI.HtmlControls;
Line 25: using System.IO;
Line 26:
Line 27: public class button_aspx : System.Web.UI.Page, System.Web.SessionState.IRequiresSessionState {
Line 28:
Line 29: private static bool __intialized = false;
Line 30:
Line 31: private static int __autoHandlers;
Line 32:
Line 33: protected System.Web.UI.HtmlControls.HtmlForm ServerForm;
Line 34:
Line 35: protected System.Web.UI.HtmlControls.HtmlButton Button1;
Line 36:
Line 37: protected System.Web.UI.HtmlControls.HtmlGenericControl Span1;
Line 38:
Line 39:
Line 40: void Button1_OnClick(object Source, EventArgs e)
Line 41: {
Line 42: HtmlButton button = (HtmlButton) Source;
Line 43: if (button.InnerText == "Enabled 1"){
Line 44: Span1.InnerHtml="You deactivated Button1";
Line 45: button.InnerText = "Disabled 1";
Line 46: }
Line 47: else {
Line 48: Span1.InnerHtml="You activated Button1";
Line 49: button.InnerText = "Enabled 1";
Line 50: }
Line 51: }
Line 52:
Line 53:
Line 54: public button_aspx () {
Line 55: if ((ASP.button_aspx.__intialized == false)) {
Line 56: ASP.button_aspx.__intialized = true;
Line 57: }
Line 58: }
Line 59:
Line 60: protected override int AutoHandlers {
Line 61: get {
Line 62: return ASP.button_aspx.__autoHandlers;
Line 63: }
Line 64: set {
Line 65: ASP.button_aspx.__autoHandlers = value;
Line 66: }
Line 67: }
Line 68:
Line 69: protected System.Web.HttpApplication ApplicationInstance {
Line 70: get {
Line 71: return ((System.Web.HttpApplication)(this.Context.ApplicationInstance));
Line 72: }
Line 73: }
Line 74:
Line 75: public override string TemplateSourceDirectory {
Line 76: get {
Line 77: return "/";
Line 78: }
Line 79: }
Line 80:
Line 81: private void __BuildControlTree(System.Web.UI.Control __ctrl) {
Line 82: System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(__ctrl));
Line 83: __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\n<html>\n<head>\n\t\n</head>\n<body>\n\t<h3>HtmlButton Sample</h3>\n\t"));
Line 84: this.__BuildControl_ServerForm();
Line 85: __parser.AddParsedSubObject(this.ServerForm);
Line 86: __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\n</body>\n</html>\n\n"));
Line 87: }
Line 88:
Line 89: private System.Web.UI.Control __BuildControl_ServerForm() {
Line 90: System.Web.UI.HtmlControls.HtmlForm __ctrl;
Line 91: __ctrl = new System.Web.UI.HtmlControls.HtmlForm();
Line 92: this.ServerForm = __ctrl;
Line 93: __ctrl.ID = "ServerForm";
Line 94: System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(__ctrl));
Line 95: __parser.AddParsedSubObject(new System.Web.UI.LiteralControl(" \n\t\t"));
Line 96: this.__BuildControl_Button1();
Line 97: __parser.AddParsedSubObject(this.Button1);
Line 98: __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\n\t\t \n\t\t"));
Line 99: this.__BuildControl_Span1();
Line 100: __parser.AddParsedSubObject(this.Span1);
Line 101: __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\n\t"));
Line 102: return __ctrl;
Line 103: }
Line 104:
Line 105: private System.Web.UI.Control __BuildControl_Button1() {
Line 106: System.Web.UI.HtmlControls.HtmlButton __ctrl;
Line 107: __ctrl = new System.Web.UI.HtmlControls.HtmlButton();
Line 108: this.Button1 = __ctrl;
Line 109: __ctrl.ID = "Button1";
Line 110: __ctrl.ServerClick += new System.EventHandler(this.Button1_OnClick);
Line 111: System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(__ctrl));
Line 112: __parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\n\t\tButton1\n\t\t"));
Line 113: return __ctrl;
Line 114: }
Line 115:
Line 116: private System.Web.UI.Control __BuildControl_Span1() {
Line 117: System.Web.UI.HtmlControls.HtmlGenericControl __ctrl;
Line 118: __ctrl = new System.Web.UI.HtmlControls.HtmlGenericControl("span");
Line 119: this.Span1 = __ctrl;
Line 120: __ctrl.ID = "Span1";
Line 121: return __ctrl;
Line 122: }
Line 123:
Line 124: protected override void FrameworkInitialize() {
Line 125: this.TraceModeValue = System.Web.TraceMode.SortByTime;
Line 126: this.Request.ValidateInput();
Line 127: this.__BuildControlTree(this);
Line 128: }
Line 129:
Line 130: public override int GetTypeHashCode() {
Line 131: return 1830361916;
Line 132: }
Line 133: }
Line 134:
Line 135: }
|