* ControlAdapter.cs : Style { get; } - Implemented.
* HtmlControlAdapter.cs : Towards finishing.
* HtmlPageAdapter.cs : PersistCookielessData - Mocked.
* HtmlMobileTextWriter.cs
: EnterStyle(Style) - Mocked.
svn path=/trunk/mcs/; revision=17314
+2003-08-13 Gaurav Vaish <gvaish_mono AT lycos.com>
+
+ * ControlAdapter.cs : Style { get; } - Implemented.
+ * HtmlControlAdapter.cs : Towards finishing.
+ * HtmlPageAdapter.cs : PersistCookielessData - Mocked.
+ * HtmlMobileTextWriter.cs
+ : EnterStyle(Style) - Mocked.
+
2003-08-07 Gaurav Vaish <gvaish_mono AT lycos.com>
* ControlAdapter.cs : Mark Render(...) virtual.
}
}
+ public System.Web.UI.MobileControls.Style Style
+ {
+ get
+ {
+ return Control.Style;
+ }
+ }
+
public MobileControl Control
{
get
return false;
}
- public void LoadAdapterState(object state)
+ public virtual void LoadAdapterState(object state)
{
- return;
}
public bool LoadPostData(string postKey,
RenderChildren(writer);
}
- public object SaveAdapterState()
+ public virtual object SaveAdapterState()
{
return null;
}
this.SecondaryUIMode = NotSecondaryUI;
}
- public virtual void LoadAdapterState(object state)
+ public override void LoadAdapterState(object state)
{
if(state != null && state is int)
{
Render((HtmlMobileTextWriter)writer);
}
}
+
+ protected virtual void RenderAsHiddenInputField(HtmlMobileTextWriter writer)
+ {
+ }
+
+ [MonoTODO]
+ protected void RenderBeginLink(HtmlMobileTextWriter writer,
+ string target)
+ {
+ bool isHTTP = false;
+ if(PageAdapter.PersistCookielessData)
+ {
+ if(target.StartsWith("http:") || target.StartsWith("https:"))
+ {
+ throw new NotImplementedException();
+ }
+ }
+ }
+
+ [MonoTODO]
+ protected void RenderEndLink(HtmlMobileTextWriter writer,
+ string target)
+ {
+ throw new NotImplementedException();
+ }
+
+ [MonoTODO]
+ protected void RenderPostBackEventAsAnchor(HtmlMobileTextWriter writer,
+ string argument, string linkText)
+ {
+ throw new NotImplementedException();
+ }
}
}
{
throw new NotImplementedException();
}
+
+ [MonoTODO]
+ public void EnterStyle(System.Web.UI.MobileControls.Style style)
+ {
+ throw new NotImplementedException();
+ }
}
}
*/
using System;
+using System.Web.Mobile;
namespace System.Web.UI.MobileControls.Adapters
{
public class HtmlPageAdapter : HtmlControlAdapter
{
+ [MonoTODO]
+ public bool PersistCookielessData
+ {
+ get
+ {
+ throw new NotImplementedException();
+ }
+ set
+ {
+ throw new NotImplementedException();
+ }
+ }
}
}