2003-09-03 Gaurav Vaish <gvaish_mono AT lycos.com>
[mono.git] / mcs / class / System.Web.Mobile / System.Web.UI.MobileControls.Adapters / HtmlPageAdapter.cs
1 /**
2  * Project   : Mono
3  * Namespace : System.Web.UI.MobileControls.Adapters
4  * Class     : HtmlPageAdapter
5  * Author    : Gaurav Vaish
6  *
7  * Copyright : 2003 with Gaurav Vaish, and with
8  *             Ximian Inc
9  */
10
11 using System;
12 using System.Web.Mobile;
13
14 namespace System.Web.UI.MobileControls.Adapters
15 {
16         public class HtmlPageAdapter : HtmlControlAdapter
17         {
18                 [MonoTODO]
19                 public bool PersistCookielessData
20                 {
21                         get
22                         {
23                                 throw new NotImplementedException();
24                         }
25                         set
26                         {
27                                 throw new NotImplementedException();
28                         }
29                 }
30
31                 public virtual void RenderPostBackEvent(HtmlMobileTextWriter writer,
32                                             string target, string argument)
33                 {
34                         writer.Write("javascript:__doPostBack('" + target + "','" + argument + "')");
35                 }
36         }
37 }