|
|
 Rank: YAF Forumling
Joined: 12/1/2008 Posts: 2 Location: Seattle
|
Hello,
I am working on a site that was previously developed and when I click to select an item from the drop-down box the following error occurs. This behavior can be seen in 3 pages amongst the entire website. Pages uses master page.
Below is the error message, please help. Thanks!
[NullReferenceException: Object reference not set to an instance of an object.] yaf.Web.controls.ProductSelectBox.ddlCategory_SelectedIndexChanged(Object sender, EventArgs e) +106 System.Web.UI.WebControls.ListControl.OnSelectedIndexChanged(EventArgs e) +105 System.Web.UI.WebControls.DropDownList.RaisePostDataChangedEvent() +134 System.Web.UI.WebControls.DropDownList.System.Web.UI.IPostBackDataHandler.RaisePostDataChangedEvent() +7 System.Web.UI.Page.RaiseChangedEvents() +117 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1646
|
|
|
 Rank: YAF Developer

Joined: 7/12/2005 Posts: 1,324 Location: on Dock Street
|
Unless I'm very much mistaken "ProductSelectBox" isn't ours.  "It's a case of RTFM.. the only problem being we don't have a manual!" When I post FP:Mek in a topic, I'm leaving my footprint there so I can track it once I get into coding/supporting. (Yes I stole this off Ederon  )
|
|
|
 Rank: YAF Forumling
Joined: 12/1/2008 Posts: 2 Location: Seattle
|
I do apologize since I'm not fully aware of the different components. Is there any way you can make a suggestion on what the problem might be?
Is that some sort of compatibility issue?
Thanks.
|
|
|
 Rank: YAF Developer

Joined: 7/12/2005 Posts: 1,324 Location: on Dock Street
|
No problem. Unfortunately without looking into what its trying to do when ddlCategory_SelectedIndexChanged method is called in the code behind I couldn't possibly guess. If you have access to the code behind (i.e. MyPage.aspx.cs) I'd recommend either contracting or subcontracting a c# dev to have a look, or if your familiar but just stuck then try posting on www.asp.net and see if some kindly soul can point you in the right direction.  "It's a case of RTFM.. the only problem being we don't have a manual!" When I post FP:Mek in a topic, I'm leaving my footprint there so I can track it once I get into coding/supporting. (Yes I stole this off Ederon  )
|
|
|
| Users browsing this topic |
|
Guest
|
YAFPro Theme Created by Jaben Cargman (Tiny Gecko)Powered by YAF 1.9.3 RC2 |
YAF © 2003-2008, Yet Another Forum.NETThis page was generated in 0.058 seconds.