Click here to Skip to main content
15,902,198 members
Home / Discussions / C#
   

C#

 
RantRe: want code Pin
Bram van Kampen10-Feb-10 15:47
Bram van Kampen10-Feb-10 15:47 
AnswerWant Ferrari Pin
J4amieC10-Feb-10 21:53
J4amieC10-Feb-10 21:53 
QuestionUpdate a Desktop Application by Dowloading a File Pin
PDTUM10-Feb-10 6:58
PDTUM10-Feb-10 6:58 
AnswerRe: Update a Desktop Application by Dowloading a File Pin
Giorgi Dalakishvili10-Feb-10 7:11
mentorGiorgi Dalakishvili10-Feb-10 7:11 
GeneralRe: Update a Desktop Application by Dowloading a File Pin
PDTUM11-Feb-10 6:32
PDTUM11-Feb-10 6:32 
QuestionUser Controls and Class References Pin
Andy Braham10-Feb-10 2:15
Andy Braham10-Feb-10 2:15 
AnswerRe: User Controls and Class References Pin
Not Active10-Feb-10 2:33
mentorNot Active10-Feb-10 2:33 
GeneralRe: User Controls and Class References Pin
Andy Braham10-Feb-10 2:53
Andy Braham10-Feb-10 2:53 
Thanks Mark, I was hoping it was something simple, sometimes the easiest things give you the most problems, here is a layout of my code....

myControls.ascx.cs:

namespace myControls
{
   public partial class MyUserControl : System.Web.UI.UserControl
   {
      public MyEnum myEnum; //******* Can not find enum *********

      protected void Page_Load(object sender, EventArgs e)
      {
        (.......)
      } 
   }
}


myControls.ascx

<%@ Control Language="C#" AutoEventWireup="true" CodeFile="myControls.ascx.cs" Inherits="myControls.MyUserControl" %>
<div>

</div>


myControls.Support.cs

namespace myControls
{
   public enum MyEnum
   {
      Day,
      Week,
      Month,      
   }
}
Thanks again,
Andy

AnswerRe: User Controls and Class References Pin
Abhinav S10-Feb-10 2:41
Abhinav S10-Feb-10 2:41 
GeneralRe: User Controls and Class References Pin
Andy Braham10-Feb-10 2:56
Andy Braham10-Feb-10 2:56 
GeneralRe: User Controls and Class References Pin
Abhinav S10-Feb-10 3:31
Abhinav S10-Feb-10 3:31 
AnswerRe: User Controls and Class References Pin
Rob Philpott10-Feb-10 3:04
Rob Philpott10-Feb-10 3:04 
GeneralRe: User Controls and Class References Pin
Andy Braham10-Feb-10 3:07
Andy Braham10-Feb-10 3:07 
GeneralRe: User Controls and Class References Pin
Rob Philpott10-Feb-10 3:13
Rob Philpott10-Feb-10 3:13 
GeneralRe: User Controls and Class References Pin
Andy Braham10-Feb-10 3:23
Andy Braham10-Feb-10 3:23 
GeneralRe: User Controls and Class References Pin
Calla10-Feb-10 3:27
Calla10-Feb-10 3:27 
GeneralRe: User Controls and Class References Pin
Andy Braham10-Feb-10 3:53
Andy Braham10-Feb-10 3:53 
GeneralRe: User Controls and Class References Pin
Rob Philpott10-Feb-10 3:29
Rob Philpott10-Feb-10 3:29 
AnswerRe: User Controls and Class References Pin
Andy Braham10-Feb-10 3:41
Andy Braham10-Feb-10 3:41 
QuestionMessage Removed Pin
10-Feb-10 2:01
professionalV.10-Feb-10 2:01 
AnswerRe: Error message after heavy load Pin
OriginalGriff10-Feb-10 2:03
mveOriginalGriff10-Feb-10 2:03 
GeneralRe: Error message after heavy load Pin
V.10-Feb-10 2:07
professionalV.10-Feb-10 2:07 
AnswerRe: Error message after heavy load Pin
V.10-Feb-10 2:19
professionalV.10-Feb-10 2:19 
GeneralRe: Error message after heavy load Pin
Not Active10-Feb-10 2:31
mentorNot Active10-Feb-10 2:31 
GeneralRe: Error message after heavy load Pin
V.10-Feb-10 2:40
professionalV.10-Feb-10 2:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.