Coffeehouse Thread

1 post

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

ASP.NET, System.Web.UI.Page, and forms

Back to Forum: Coffeehouse
  • User profile image
    object88

    This seems like a silly oversite to me.

    If I need to get to the form on a page, I have to iterate through the controls on the page object (possibly recursively).  But the page itself has a internal form reference!  Heck, the HtmlinputFile class uses it in it's OnPreRender method to ensure that the page encoding is a specific type.  I end up having to search out the form manually if I want to do the same type of thing (say, I'm manually rendering my html instead of using the HtmlControls objects.

    I call shenanigans!

    Just a minor nitpick, and chance of making the form property public in a later release? 

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.