protected override void AddAttributesToElement (ScriptTextWriter writer) { base.AddAttributesToElement (writer); if (Property != "") writer.WriteAttributeString ("property", Property); if (Value != "") writer.WriteAttributeString ("value", Value); }
protected override void AddAttributesToElement (ScriptTextWriter writer) { base.AddAttributesToElement (writer); if (CssClass != "") writer.WriteAttributeString ("cssClass", CssClass); if (ClientID != null && ClientID != "") writer.WriteAttributeString ("targetElement", ClientID); }
protected override void AddAttributesToElement(ScriptTextWriter writer) { base.AddAttributesToElement(writer); if (CssClass != "") { writer.WriteAttributeString("cssClass", CssClass); } if (ClientID != null && ClientID != "") { writer.WriteAttributeString("targetElement", ClientID); } }
protected override void AddAttributesToElement (ScriptTextWriter writer) { base.AddAttributesToElement (writer); if (Method != "") writer.WriteAttributeString ("method", Method); }
protected override void AddAttributesToElement (ScriptTextWriter writer) { base.AddAttributesToElement (writer); foreach (string prop in valueProperties.Keys) writer.WriteAttributeString (prop, (string)valueProperties[prop]); }
protected virtual void AddAttributesToElement(ScriptTextWriter writer) { if (ID != null && ID != "") { writer.WriteAttributeString("id", ID); } }
protected override void AddAttributesToElement (ScriptTextWriter writer) { base.AddAttributesToElement (writer); if (Target != "") writer.WriteAttributeString ("target", Target); }
protected override void AddAttributesToElement(ScriptTextWriter writer) { base.AddAttributesToElement(writer); foreach (string prop in valueProperties.Keys) { writer.WriteAttributeString(prop, (string)valueProperties[prop]); } }
protected override void AddAttributesToElement(ScriptTextWriter writer) { base.AddAttributesToElement(writer); if (Target != "") { writer.WriteAttributeString("target", Target); } }
protected override void AddAttributesToElement(ScriptTextWriter writer) { base.AddAttributesToElement(writer); if (Method != "") { writer.WriteAttributeString("method", Method); } }
protected override void AddAttributesToElement(ScriptTextWriter writer) { base.AddAttributesToElement(writer); if (Property != "") { writer.WriteAttributeString("property", Property); } if (PropertyKey != "") { writer.WriteAttributeString("propertykey", PropertyKey); } if (Value != "") { writer.WriteAttributeString("value", Value); } }
protected override void RenderScriptTagContents (ScriptTextWriter writer) { base.RenderScriptTagContents (writer); if (AutoCompletionServiceMethod != "" && AutoCompletionServiceUrl != "") { writer.WriteStartElement ("behaviors"); writer.WriteStartElement ("autoComplete"); writer.WriteAttributeString ("serviceURL", AutoCompletionServiceUrl); writer.WriteAttributeString ("serviceMethod", AutoCompletionServiceMethod); if (AutoCompletionMinimumPrefixLength != 0) writer.WriteAttributeString ("minimumPrefixLength", AutoCompletionMinimumPrefixLength.ToString()); writer.WriteAttributeString ("completionList", ID + "__autocomplete"); // XXX ? writer.WriteEndElement (); // autoComplete writer.WriteEndElement (); // behaviors } }
protected override void RenderScriptTagContents (ScriptTextWriter writer) { base.RenderScriptTagContents (writer); writer.WriteStartElement ("layoutTemplate"); writer.WriteStartElement ("template"); writer.WriteAttributeString ("layoutElement", ID + "_layoutTemplate"); // XXX ? writer.WriteEndElement (); // template writer.WriteEndElement (); // layoutTemplate writer.WriteStartElement ("itemTemplate"); writer.WriteEndElement (); // itemTemplate }
public void RenderScript(ScriptTextWriter writer) { writer.WriteStartElement("binding"); if (Automatic == false) { writer.WriteAttributeString("automatic", Automatic.ToString()); } if (DataContext != "") { writer.WriteAttributeString("dataContext", DataContext); } if (DataPath != "") { writer.WriteAttributeString("dataPath", DataPath); } if (Direction != BindingDirection.In) { writer.WriteAttributeString("direction", Direction.ToString()); } if (ID != "") { writer.WriteAttributeString("id", ID); } if (Property != "") { writer.WriteAttributeString("property", Property); } if (PropertyKey != "") { writer.WriteAttributeString("propertyKey", PropertyKey); } if (TransformerArgument != "") { writer.WriteAttributeString("transformerArgument", TransformerArgument); } writer.WriteEndElement(); }
public void RenderHandlers (ScriptTextWriter writer) { writer.WriteAttributeString (Name, Handler); }
protected virtual void AddAttributesToElement (ScriptTextWriter writer) { if (ID != null && ID != "") writer.WriteAttributeString ("id", ID); }
public void RenderScript (ScriptTextWriter writer) { writer.WriteStartElement ("binding"); if (Automatic == false) writer.WriteAttributeString ("automatic", Automatic.ToString()); if (DataContext != "") writer.WriteAttributeString ("dataContext", DataContext); if (DataPath != "") writer.WriteAttributeString ("dataPath", DataPath); if (Direction != BindingDirection.In) writer.WriteAttributeString ("direction", Direction.ToString()); if (ID != "") writer.WriteAttributeString ("id", ID); if (Property != "") writer.WriteAttributeString ("property", Property); if (PropertyKey != "") writer.WriteAttributeString ("propertyKey", PropertyKey); if (TransformerArgument != "") writer.WriteAttributeString ("transformerArgument", TransformerArgument); writer.WriteEndElement (); }
public void RenderHandlers(ScriptTextWriter writer) { writer.WriteAttributeString(Name, Handler); }