* AdRotator.cs, BoundColumn.cs, Button.cs, ButtonColumn.cs, DataList.cs, WebControl.cs
- the dummy / unimplemented / partially implemented functions now throw NotImplementedException.
svn path=/trunk/mcs/; revision=1360
}\r
} catch(Excetion e)\r
{\r
- //TODO: Write error. Parsing error has occured\r
throw new HttpException("AdRotator: Unable to parse file" + file);\r
} finally\r
{\r
{\r
//TODO: Implement me\r
fileDirectory = UrlUtils.GetDirectory(TemplateSourceDirectory + MapPathSecure(file));\r
+ throw new NotImplementedException();\r
//TODO: Do I need to check caching?\r
+ return null;\r
}\r
\r
private IDictionary SelectAd()\r
//TODO: Implement Me\r
}\r
}\r
+ throw new NotImplementedException();\r
return null;\r
}\r
\r
\r
private string ResolveAdUrl(string relativeUrl)\r
{\r
+ throw new NotImplementedException();\r
//TODO: Implement me\r
//TODO: Get the full Url from the relativeUrl\r
}\r
AttributeCollection attributeColl = base.Attributes;\r
ICollection keys = attributeColl.Keys;\r
IEnumerator iterator = keys.GetEnumerator();\r
- \r
- \r
+ throw new NotImplementedException();\r
}\r
}\r
}\r
*/\r
\r
using System;\r
+using System.ComponentModel;\r
using System.Web;\r
using System.Web.UI;\r
\r
private string dataField;\r
private string dataFormatString;\r
private bool readOnly;\r
+ \r
+ private PropertyDescriptor desc;\r
\r
- public BoundColumn()\r
+ public BoundColumn(): base()\r
{\r
//TODO: The start work\r
Initialize();\r
\r
public override void Initialize()\r
{\r
+ base.Initialize();\r
dataField = String.Empty;\r
dataFormatString = String.Empty;\r
readOnly = false;\r
+ desc = null;\r
}\r
\r
public override void InitializeCell(TableCell cell, int columnIndex, ListItemType itemType)\r
{\r
//TODO: What to do?\r
+ base.InitializeCell(cell, columnIndex, itemType);\r
+ switch(itemType)\r
+ {\r
+ case \r
+ }\r
+ throw new NotImplementedException();\r
}\r
\r
public virtual string DataField\r
return dataValue.toString();\r
if(dataValue is DateTime)\r
return ((DateTime)dataValue).toString(dataFormatString);\r
+ throw new NotImplementedException();\r
// and so on for int, String, double..\r
// something's wrong here. there must be some shorter method!\r
//string val = dataValue.toString(dataFormatString);\r
writer.AddAttribute("language","javascript");\r
}\r
}\r
+ throw new NotImplementedException();\r
}\r
\r
protected override void RenderContents(HtmlTextWriter writer)\r
{\r
- // Preventing\r
+ // Preventing subclasses to do anything\r
}\r
}\r
}\r
\r
public ButtonColumn()\r
{\r
- //TODO: Initialization\r
Initialize();\r
}\r
\r
{\r
base.InitializeCell(cell, columnIndex, itemType);\r
//TODO: I also have to do some column specific work\r
+ throw new NotImplementedException();\r
}\r
\r
public virtual ButtonColumnType ButtonType\r
set\r
{\r
if(!System.Enum.IsDefined(typeof(ButtonColumnType), value))\r
- throw new ArgumentException(/*To supply the values*/"");\r
+ throw new ArgumentException();\r
ViewState["ButtonType"] = value;\r
}\r
}\r
protected virtual string FormatDataTextValue(object dataTextValue)\r
{\r
// TODO: The LOST WORLD! :))\r
+ throw new NotImplementedException();\r
return String.Empty;\r
}\r
\r
\r
public void CreateControlHierarchy(bool create)\r
{\r
+ throw new NotImplementedException();\r
//TODO: THE LOST WORLD\r
// Put here to get compilation going\r
}\r
{\r
get\r
{\r
+ throw new NotImplementedException("FIXME: \"Internal\" method calls");\r
if(attributes==null)\r
{\r
//TODO: From where to get StateBag and how? I think this method is OK!\r
{\r
get\r
{\r
+ throw new NotImplementedException("FIXME: \"Internal\" method calls");\r
if(controlStyle == null)\r
{\r
controlStyle = CreateControlStyle();\r
*/\r
ControlStyle.CopyFrom(s);\r
//}\r
+ throw new NotImplementedException("FIXME: \"Internal\" method calls");\r
}\r
\r
public void CopyBaseAttributes(WebControl controlSrc)\r
ToolTip = controlSrc.ToolTip;\r
TabIndex = controlSrc.TabIndex;\r
Attributes = controlSrc.Attributes;\r
+ throw new NotImplementedException();\r
}\r
\r
public void MergeStyle(Style s)\r
get\r
{\r
//FIXME: should I do new HtmlTextWriter()?\r
+ throw new NotImplementedException();\r
return tagKey;\r
}\r
}\r
if(tagKey == null)\r
{\r
//FIXME: If it is null, is this the right way? I don't think\r
+ throw new NotImplementedException();\r
tagKey = new HtmlTextWriter();\r
}\r
tagName = Enum.Format(typeof(tagKey), tagKey, "G").ToLower();\r
\r
protected override void LoadViewState(object savedState)\r
{\r
+ throw new NotImplementedException();\r
//TODO: Load viewStates\r
/*\r
* May be will have to first look at Control::LoadViewState \r
\r
protected override object SaveViewState()\r
{\r
+ throw new NotImplementedException();\r
//TODO: Implement me!\r
- // THE LOST WORLD\r
}\r
\r
protected override void TrackViewState()\r
\r
public void SetAttribute(string key, string val)\r
{\r
- Attributes.Item[key] = value;\r
+ Attributes[key] = value;\r
}\r
\r
}\r