Click here to Skip to main content
15,887,332 members
Home / Discussions / C#
   

C#

 
QuestionHow to make cursor jump to the next text field Pin
ahchoo9-Mar-06 11:00
ahchoo9-Mar-06 11:00 
AnswerRe: How to make cursor jump to the next text field Pin
Roy Heil9-Mar-06 15:41
professionalRoy Heil9-Mar-06 15:41 
AnswerRe: How to make cursor jump to the next text field Pin
Stefan Troschuetz9-Mar-06 21:14
Stefan Troschuetz9-Mar-06 21:14 
AnswerRe: How to make cursor jump to the next text field Pin
ahchoo10-Mar-06 5:39
ahchoo10-Mar-06 5:39 
QuestionGotFocus of Disabled List View .NET Pin
Lav Pathak9-Mar-06 10:08
Lav Pathak9-Mar-06 10:08 
Questionk-means clustering algorithms Pin
saimee9-Mar-06 7:14
saimee9-Mar-06 7:14 
AnswerRe: k-means clustering algorithms Pin
Roy Heil9-Mar-06 9:24
professionalRoy Heil9-Mar-06 9:24 
Questionuser control Pin
ap_sa9-Mar-06 7:07
ap_sa9-Mar-06 7:07 
i have my user control in namespace called Test1 my user control name is class Header. and i am trying to call that user control in my project number two which is called Test2. i have add reference in my Test2 and

using Test1;

namespace Test2
{

public class default : System.Web.UI.Page
{

private void Page_Load(object sender, System.EventArgs e)
{
Header proBarStatusUC = (Header) Page.FindControl("Header");

proBarStatusUC.Function1();
proBarStatusUC.Function2();
}//load
}//class
}//namespace

This work no problem, but when i try to LoadControl i get error 'file not found Header.ascx'.

using Test1;

namespace Test2
{
public class default : System.Web.UI.Page
{
private void Page_Load(object sender, System.EventArgs e)
{
Header proBarStatusUC = (Header) Page.FindControl("Header");

proBarStatusUC.Function1();
proBarStatusUC.Function2();

Header proBarStatusUC2 = (Header) Page.LoadControl("Header.ascx");

phPlaceHolder.Controls.Add(proBarStatusUC2);
}//load
}//class
}//namespace

if i have my user control in same namespace it worked, that not what i want. i what to call my user control in different project becuase my header will look same for the project and i don't want to create user control for every project. can someone please help me... Thank you,
QuestionC# and XML Pin
hung_ngole9-Mar-06 5:32
hung_ngole9-Mar-06 5:32 
AnswerRe: C# and XML Pin
spin vector9-Mar-06 6:41
spin vector9-Mar-06 6:41 
AnswerRe: C# and XML Pin
eggie59-Mar-06 17:59
eggie59-Mar-06 17:59 
AnswerRe: C# and XML Pin
Andreas X9-Mar-06 20:15
professionalAndreas X9-Mar-06 20:15 
AnswerRe: C# and XML Pin
Guffa9-Mar-06 20:38
Guffa9-Mar-06 20:38 
QuestionC# connection to Analysis services Pin
swap209-Mar-06 5:17
swap209-Mar-06 5:17 
QuestionHow to display smiley? Pin
Codecrammer9-Mar-06 4:41
Codecrammer9-Mar-06 4:41 
JokeRe: How to display smiley? Pin
mav.northwind9-Mar-06 4:56
mav.northwind9-Mar-06 4:56 
GeneralRe: How to display smiley? Pin
Judah Gabriel Himango9-Mar-06 5:10
sponsorJudah Gabriel Himango9-Mar-06 5:10 
AnswerRe: How to display smiley? Pin
Judah Gabriel Himango9-Mar-06 5:11
sponsorJudah Gabriel Himango9-Mar-06 5:11 
QuestionStupid question for web Pin
papa19809-Mar-06 4:32
papa19809-Mar-06 4:32 
AnswerRe: Stupid question for web Pin
Ankit Aneja9-Mar-06 19:33
Ankit Aneja9-Mar-06 19:33 
QuestionClear buffer Pin
hung_ngole9-Mar-06 4:32
hung_ngole9-Mar-06 4:32 
AnswerRe: Clear buffer Pin
leppie9-Mar-06 4:34
leppie9-Mar-06 4:34 
GeneralRe: Clear buffer Pin
hung_ngole9-Mar-06 4:52
hung_ngole9-Mar-06 4:52 
Questionwhere to download Longhorn SDK Pin
Sheel Gohe9-Mar-06 3:27
Sheel Gohe9-Mar-06 3:27 
AnswerRe: where to download Longhorn SDK Pin
gnjunge9-Mar-06 3:35
gnjunge9-Mar-06 3:35 

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.