Click here to Skip to main content
15,904,024 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to receive value from Crystal Formula fields? Pin
superdragon9-Mar-06 16:14
superdragon9-Mar-06 16:14 
GeneralRe: How to receive value from Crystal Formula fields? Pin
superdragon9-Mar-06 16:16
superdragon9-Mar-06 16:16 
GeneralRe: How to receive value from Crystal Formula fields? Pin
darkelv9-Mar-06 16:35
darkelv9-Mar-06 16:35 
QuestionWeird behavior with XPathNavigator Pin
FocusedWolf9-Mar-06 15:01
FocusedWolf9-Mar-06 15:01 
QuestionMulti-line message box line feeds Pin
gmhanna9-Mar-06 14:49
gmhanna9-Mar-06 14:49 
AnswerRe: Multi-line message box line feeds Pin
Sebastian Schneider9-Mar-06 22:22
Sebastian Schneider9-Mar-06 22:22 
AnswerRe: Multi-line message box line feeds Pin
albCode10-Mar-06 2:21
albCode10-Mar-06 2:21 
Questionmbs listview Pin
shopi309-Mar-06 14:11
shopi309-Mar-06 14:11 
AnswerRe: mbs listview Pin
Luis Alonso Ramos12-Mar-06 18:12
Luis Alonso Ramos12-Mar-06 18:12 
QuestionHuge problem with C# Web Application Project Setup!!! Pin
Jessie Blue9-Mar-06 11:57
Jessie Blue9-Mar-06 11:57 
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 

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.