Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsbuild failurebuild failure
Previous
 
Next
New Post
6/9/2010 7:49 PM
 
Could someone shed some light - v05.01.01 RC1 won't build because of a couple of issues in EventList.ascx.vb -

* 'SelectedCategory' is not a member of 'System.Web.UI.UserControl' (around line 117)
* Event 'CastegorySelectedChanged' cannot be found (aroud line 367)

Line numbers are approximate and within 10-20 because I have some other code added to the file.

Thanks!

Eric Swanzey
www.swanzey.com
 
New Post
6/10/2010 2:18 AM
 
It looks as if your project dependencies or references are not correct.
In the Events solution, there are 2 projects: Events and the Events Schedule control. The project Events should have a reference (in the solution) to the Events Schedule control.
Does this help?

XCESS expertise center b.v.
Regards,
Ernst Peter
LinkedIn Profile Ernst Peter Tamminga


XCESS: DNN/Evoq specialist, zie www.xcess.nl

Events 7.0.1 - Released
Reports 6.1.0 - Released
 
New Post
6/10/2010 2:53 AM
 
The SelectCategory control is used in all the main views, so if you don't get the error in Month view I think your project should have references OK. Selectedcategory is a property of the SelectCategory control which is of type 'Global.DorNetNuke.Modules.Events.SelectCategory', which should be part of the main Events project. Try remving and re-adding the control to the List View ascx and check the type is set correctly in the designer.

Cheers
Roger

DNN MVP
Events - Get the latest version - Upgrade now!!
Feedback 6.4.2 - Now available - Give it a go!
Find us on Codeplex - DNN Events, DNN Feedback
Requirements/Bugs - Please submit them on Codeplex
 
New Post
6/10/2010 10:05 AM
 
Thanks for the replies Ernst and Roger.

I identified the cause - the auto-generated designer files have incorrect references after any changes made to the corresponding ascx files. For example, EventList.ascx.designer.vb would auto-gen and change 'Protected WithEvents SelectCategory As Global.DotNetNuke.Modules.Events.SelectCategory' to 'Protected WithEvents SelectCategory As Global.System.Web.UI.UserControl'.

I'm not sure how to let it auto-gen and have it keep the correct references, but at least it's easy enough to correct them each time an ascx file is touched.

Eric Swanzey
www.swanzey.com
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsbuild failurebuild failure


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out