creating my own HtmlInputText

Discussion in 'ASP .Net' started by George Ter-Saakov, Jun 29, 2007.

  1. I am adding some functionality to HtmlInputText so i derived my class from
    it.
    The problem is when i switch page to desing mode the VS shows an error and
    do not render control.

    Unable to cast object of type
    'System.Web.UI.Design.HtmlIntrinsicControlDesigner' to type
    'System.Web.UI.Design.ControlDesigner'

    Not sure how to fix it and make it work in design time
    Here is how my class looks like
    public class GTextBox : System.Web.UI.HtmlControls.HtmlInputText

    {

    }

    PS: It works fine in a runtime.

    George.
    George Ter-Saakov, Jun 29, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Chris Barrow
    Replies:
    2
    Views:
    522
    Chris Barrow
    Nov 13, 2003
  2. Wolfgang Schmidt
    Replies:
    2
    Views:
    491
    Wolfgang Schmidt
    Mar 2, 2004
  3. Ma³y Piotruœ

    ASP.NET: HtmlInputText = Nothing

    Ma³y Piotruœ, Dec 4, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    433
    Ken Cox - Microsoft MVP
    Dec 4, 2005
  4. Stefan Siegl
    Replies:
    1
    Views:
    772
  5. Jim in Arizona
    Replies:
    0
    Views:
    394
    Jim in Arizona
    Sep 12, 2006
Loading...

Share This Page