No3Mc / Phone-Paradise

Phone Paradise | Phone Selling Store

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No definition for SelectedIndexChanged

No3Mc opened this issue · comments

commented

Describe the bug
Error in OnSelectedIndexChanged="lstStocks_SelectedIndexChanged".

To Reproduce
Steps to reproduce the behavior:

  1. Add list box '<asp:ListBox ID="lstStocks" runat="server" Height="300px" OnSelectedIndexChanged="lstStocks_SelectedIndexChanged" Width="517px"></asp:ListBox>'
  2. Run application 'The error will be shown and the application won't be able to run'
  3. See error

Removing OnSelectedIndexChanged="lstStocks_SelectedIndexChanged will fix the error but won't function

Expected behavior
There shouldn't be any error.

Screenshots
image

Additional context
Severity Code Description Project File Line Suppression State
Error 'ASP.stock_astock_aspx' does not contain a definition for 'lstStocks_SelectedIndexChanged' and no extension method 'lstStocks_SelectedIndexChanged' accepting a first argument of type 'ASP.stock_astock_aspx' could be found (are you missing a using directive or an assembly reference?) C:\Users\Desktop\Project Management and Development\PSS\Phone Selling System\PSSFrontOffice\Stock\AStock.aspx 72

commented

Week 23 release had the error. Although it was removed.

commented

Error fixed and release's updated Week 23
image

commented

See #45

commented

See #50