3 Replies - 672 Views - Last Post: 04 June 2012 - 08:42 PM Rate Topic: -----

#1 sreelekha@excolo  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 29-May 12

dropdownlist events not working in server

Posted 29 May 2012 - 11:36 PM

'ASP.frmsalesapplncheck_aspx' does not contain a definition for 'ddlDepartment_SelectedIndexChanged' and no extension method 'ddlDepartment_SelectedIndexChanged' accepting a first argument of type 'ASP.frmsalesapplncheck_aspx' could be found (are you missing a using directive or an assembly reference?)


It is working in local.

Please help..
Thanks in advance..
Is This A Good Question/Topic? 0
  • +

Replies To: dropdownlist events not working in server

#2 Skydiver  Icon User is online

  • Code herder
  • member icon

Reputation: 2039
  • View blog
  • Posts: 6,072
  • Joined: 05-May 12

Re: dropdownlist events not working in server

Posted 30 May 2012 - 12:46 AM

Did you just push the .aspx, but not the corresponding codebehind .cs files up to the server?
Was This Post Helpful? 0
  • +
  • -

#3 RexGrammer  Icon User is offline

  • Coding Dynamo
  • member icon

Reputation: 178
  • View blog
  • Posts: 750
  • Joined: 27-October 11

Re: dropdownlist events not working in server

Posted 30 May 2012 - 01:27 AM

Or did you have an event called 'ddlDepartment_SelectedIndexChanged' and deleted in code but left it in the designer -.-?
Was This Post Helpful? 0
  • +
  • -

#4 sreelekha@excolo  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 29-May 12

Re: dropdownlist events not working in server

Posted 04 June 2012 - 08:42 PM

View PostRexGrammer, on 30 May 2012 - 01:27 AM, said:

Or did you have an event called 'ddlDepartment_SelectedIndexChanged' and deleted in code but left it in the designer -.-?




I fixed the issue.. by changing the codeBehind with codeFile in aspx page..
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1