[Mono-bugs] [Bug 467460] System.Web.UI.WebControls.Substitution is missing

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jan 21 07:52:27 EST 2009


https://bugzilla.novell.com/show_bug.cgi?id=467460

User d.finger at medsolv.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=467460#c2


Daniel Finger <d.finger at medsolv.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |d.finger at medsolv.net




--- Comment #2 from Daniel Finger <d.finger at medsolv.net>  2009-01-21 05:52:27 MST ---
Marek, how about adding the following code to HttpResponse.cs - this would not
implement caching but the control will work for most cases. The method could be
marked as MonoTODO ("unfinished") ?

-----------------------------------------------------------------------------

public void WriteSubstitution (HttpResponseSubstitutionCallback callback)
{
  if ((callback.Target != null) && (callback.Target is Control))
  {
    throw new ArgumentException("Invalid substitution callback", "callback");
  }
  this.writer.Write(callback(this.context));
}

-----------------------------------------------------------------------------

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list