VS2005, adding an InputPanel to CF custom control.

I have derived from DataGrid to make an editible datagrid.  All is well and it appears in designer and I can add it.  I decided that I want popup input panels so I add Microsoft.WindowsCE.Forms to the reference list and add the 'using' tag.  As soon as I decare InputPanel ip; in the class, when I try to go back to main project and view it in designer ( the custom controls are already in place), it claims that my class no longer has the property 'TableStyles'.  In fact it still does, nothing has changed to affect that as far as I see.  It is still derived from datagrid.  I dont see how the input panel object should effect it.  I hadn't even called its constructor.

Bug or am I missing something


Answer this question

VS2005, adding an InputPanel to CF custom control.

  • SavitaG

    Has done the trick, thanks.

  • Lokka

    Hi Adiraz,
    We will investigate this and get back to you.

    Thanks.

  • steve64

    Hi Adiraz,
    Try
    adding the "DesktopCompatible(true)" design time attribute. See http://dotnet.sys-con.com/read/113332.htm on how to do it.

    HTH.

  • VS2005, adding an InputPanel to CF custom control.