Click here to Skip to main content
15,921,694 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Dynamic control creation and event handling Pin
Konstantin Vasserman28-Jan-02 10:04
Konstantin Vasserman28-Jan-02 10:04 
GeneralPassing Variables Between Pages in ASP.NET Pin
21-Jan-02 21:48
suss21-Jan-02 21:48 
GeneralRe: Passing Variables Between Pages in ASP.NET Pin
Konstantin Vasserman23-Jan-02 15:08
Konstantin Vasserman23-Jan-02 15:08 
General.NET Positioning controls programatically Pin
Eivind21-Jan-02 4:15
Eivind21-Jan-02 4:15 
GeneralRe: .NET Positioning controls programatically Pin
Konstantin Vasserman21-Jan-02 5:04
Konstantin Vasserman21-Jan-02 5:04 
GeneralRe: .NET Positioning controls programatically Pin
Eivind21-Jan-02 11:39
Eivind21-Jan-02 11:39 
GeneralRe: .NET Positioning controls programatically Pin
Konstantin Vasserman21-Jan-02 11:46
Konstantin Vasserman21-Jan-02 11:46 
GeneralRe: .NET Positioning controls programatically Pin
Eivind21-Jan-02 12:33
Eivind21-Jan-02 12:33 
Thank you Konstantin, this was what I needed to get things right!

By using the FindControl() method, I got a reference to the Form. Here's the code for anyone interested.

Control myUserControl;
myUserControl = Page.LoadControl("Login.ascx"); //my custom user control
Control activeForm;
activeForm = Page.FindControl("myFormId"); //the id of my - element
activeForm.Controls.Add(myUserControl); //add the user control to the form

Big Grin | :-D
Generalform validation Pin
Bruno Lemos21-Jan-02 3:21
Bruno Lemos21-Jan-02 3:21 
GeneralRe: form validation Pin
Konstantin Vasserman21-Jan-02 4:43
Konstantin Vasserman21-Jan-02 4:43 
GeneralRe: form validation Pin
Bruno Lemos21-Jan-02 5:08
Bruno Lemos21-Jan-02 5:08 
GeneralRe: form validation Pin
Konstantin Vasserman21-Jan-02 5:29
Konstantin Vasserman21-Jan-02 5:29 
GeneralRe: form validation Pin
Bruno Lemos21-Jan-02 5:51
Bruno Lemos21-Jan-02 5:51 
GeneralRe: form validation Pin
Konstantin Vasserman21-Jan-02 6:01
Konstantin Vasserman21-Jan-02 6:01 
GeneralRe: form validation Pin
Bruno Lemos21-Jan-02 6:04
Bruno Lemos21-Jan-02 6:04 
GeneralRe: form validation Pin
Konstantin Vasserman21-Jan-02 6:13
Konstantin Vasserman21-Jan-02 6:13 
GeneralRe: form validation Pin
Bruno Lemos21-Jan-02 6:20
Bruno Lemos21-Jan-02 6:20 
GeneralDomain $15/year , Hosting $1/month at www.clicknhost.com Pin
20-Jan-02 19:23
suss20-Jan-02 19:23 
QuestionWhat happened to the HTML/CSS Article section? Pin
Paul Watson19-Jan-02 7:52
sitebuilderPaul Watson19-Jan-02 7:52 
AnswerRe: What happened to the HTML/CSS Article section? Pin
Konstantin Vasserman19-Jan-02 12:37
Konstantin Vasserman19-Jan-02 12:37 
GeneralRe: What happened to the HTML/CSS Article section? Pin
Paul Watson20-Jan-02 1:17
sitebuilderPaul Watson20-Jan-02 1:17 
GeneralRe: What happened to the HTML/CSS Article section? Pin
Konstantin Vasserman20-Jan-02 4:54
Konstantin Vasserman20-Jan-02 4:54 
Generaljumping to a different page Pin
omkamal17-Jan-02 10:29
omkamal17-Jan-02 10:29 
GeneralRe: jumping to a different page Pin
Konstantin Vasserman17-Jan-02 11:20
Konstantin Vasserman17-Jan-02 11:20 
GeneralRe: jumping to a different page Pin
omkamal17-Jan-02 11:30
omkamal17-Jan-02 11:30 

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.