2

I have this HTML code

<ajaxtoolkit:collapsiblepanelextender runat="server" id="cpePresentata"
targetcontrolid="panPresentata" expandcontrolid="imgHideShowPresentata"
collapsecontrolid="imgHideShowPresentata" imagecontrolid="imgHideShowPresentata"
collapsedtext="Mostra stato" expandedtext="Nascondi stato"
expandedimage="./Img/expand.jpg" collapsedimage="./Img/collapse.jpg"
suppresspostback="True" behaviorid="cpePresentata"/>

Width Resharper 6.1 no error was displayed.

I upgrade at Resharper 7.1 and expandcontrolid, collapsecontrolid and imagecontrolid are underlined in red. The Resharper message error is "Invalid control type".

Below the HTML code of image

<asp:panel runat="server" id="panHeaderPresentata">
  <div class="collapsePanelHeader">
    <img id="imgHideShowPresentata" src="./Img/expand.jpg" alt="Mostra stato"/>                                           
  </div>
</asp:panel>

I use Visual Studio 2010

Any ideas?

Thanks

Sara

Dmitry Osinovskiy
  • 9,999
  • 1
  • 47
  • 38
sara
  • 124
  • 2
  • 11
  • It's possible Resharper 7.1 doesn't know about the AjaxControlToolkit. Is it a build error or just a warning that you can ignore? – Garrison Neely Jun 13 '13 at 15:01
  • In effects the same error is with ` – sara Jun 14 '13 at 06:05
  • 1
    Seems like a bug. Could you please report this at http://youtrack.jetbrains.com ? If possible, please attach a working page sample. Thanks! – Dmitry Osinovskiy Jun 16 '13 at 12:01
  • Thank you @DmitryOsinovskiy. As suggested I report this at [youtrack.jetbrains.com](http://youtrack.jetbrains.com) – sara Jun 17 '13 at 06:46
  • This still appears to be an issue in Resharper Ultimate 2019.2 unfortunately as I'm seeing the exact same thing that Sara reported – Neil Nov 11 '19 at 11:25

0 Answers0