Click here to Skip to main content
15,899,679 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: email Pin
Ravi Mori22-Sep-09 20:35
Ravi Mori22-Sep-09 20:35 
AnswerRe: email Pin
Abhijit Jana22-Sep-09 21:11
professionalAbhijit Jana22-Sep-09 21:11 
AnswerRe: email Pin
Vimalsoft(Pty) Ltd23-Sep-09 0:34
professionalVimalsoft(Pty) Ltd23-Sep-09 0:34 
QuestionASP.NET Membership Pin
Illegal Operation22-Sep-09 18:56
Illegal Operation22-Sep-09 18:56 
AnswerRe: ASP.NET Membership Pin
Nisha Agrawal23-Sep-09 3:10
Nisha Agrawal23-Sep-09 3:10 
QuestionContent-Disposition attachment not working in IE 7 Pin
sudhirBirlapur22-Sep-09 18:45
sudhirBirlapur22-Sep-09 18:45 
AnswerRe: Content-Disposition attachment not working in IE 7 Pin
S.Dhanasekaran23-Sep-09 0:51
S.Dhanasekaran23-Sep-09 0:51 
QuestionNeed help with dynamic load of several control instances Pin
Michael Eber22-Sep-09 14:19
Michael Eber22-Sep-09 14:19 
I will begin by stating that I am NOT an ASP.NET developer. My new job now pushes me into it.
So with that said I'm trying to do the following:

This asp app is a single screen with the top 2/3 a bunch of dropdowns that the user selects to isolate a specific location.
Once that location is set, I need to dynamically add 4 - 6 legs which the user will provide the name for each leg.
I want to do this one leg at a time so I have a place holder named insertHere and a usercontrol with a lable, textbox, and button which says "Next Leg".

When I click the button Create Legs....my first leg control shows just fine. I enter a leg ID and click the Next Leg button (part of the control). My Next Leg process is this:
protected void NextEventHandler(object sender, EventArgs e)
{
    if (NextEvent != null)
    {
        this.next.Visible = false;
        NextEvent(sender, e);
    }
}

The idea is to make the button invisible then fire the NextEvent up to the parent container. My NextEvent code is simple right now:

protected void HandleNextEvent(object sender, EventArgs e)
{
    // TODO: Add leg to database
    CreateLegsRequestHandler(sender, e);
}


What happens is this: when I click the button Next Leg, my entire control goes invisible and I do not see either the Leg One control or the Leg Two control being displayed. I'm puzzled and confused. Can the ASP.NET gods please help me with why it isn't working?

My desired result:
             xxxxx     dropdown
             xxxxx     dropdown
             xxxxx     dropdown
             xxxxx     dropdown  [Create Legs]

(within PlaceHolder(insertHere).Controls)
             Leg 1  textboxValue1  -invisible buttons-
             Leg 2  textboxValue2  -invisible buttons-
             Leg 3  textboxValue3  -invisible buttons-
             Leg 4  _____________  [Next Leg]  [Done]

AnswerRe: Need help with dynamic load of several control instances Pin
N a v a n e e t h22-Sep-09 15:54
N a v a n e e t h22-Sep-09 15:54 
GeneralRe: Need help with dynamic load of several control instances [modified] Pin
Michael Eber25-Sep-09 13:42
Michael Eber25-Sep-09 13:42 
QuestionProgrammatically set the DataFormatString of a GridView column Pin
David Mujica22-Sep-09 10:22
David Mujica22-Sep-09 10:22 
AnswerRe: Programmatically set the DataFormatString of a GridView column Pin
Abhishek Sur22-Sep-09 12:09
professionalAbhishek Sur22-Sep-09 12:09 
AnswerRe: Programmatically set the DataFormatString of a GridView column Pin
Nisha Agrawal23-Sep-09 3:14
Nisha Agrawal23-Sep-09 3:14 
AnswerResolved - for now Pin
David Mujica23-Sep-09 9:26
David Mujica23-Sep-09 9:26 
GeneralRe: Resolved - for now Pin
Nisha Agrawal23-Sep-09 20:07
Nisha Agrawal23-Sep-09 20:07 
GeneralRe: Resolved - for now Pin
David Mujica24-Sep-09 0:40
David Mujica24-Sep-09 0:40 
Questionalert messages --- title Pin
Hemant Thaker22-Sep-09 8:50
Hemant Thaker22-Sep-09 8:50 
AnswerRe: alert messages --- title Pin
Abhijit Jana22-Sep-09 8:55
professionalAbhijit Jana22-Sep-09 8:55 
AnswerRe: alert messages --- title Pin
Manas Bhardwaj22-Sep-09 9:01
professionalManas Bhardwaj22-Sep-09 9:01 
AnswerRe: alert messages --- title Pin
egenis22-Sep-09 19:19
egenis22-Sep-09 19:19 
AnswerRe: alert messages --- title Pin
Aman Bhullar22-Sep-09 19:36
Aman Bhullar22-Sep-09 19:36 
Question'sys' is undefined in asp.net web application Pin
Sandeep Akhare22-Sep-09 8:27
Sandeep Akhare22-Sep-09 8:27 
AnswerRe: 'sys' is undefined in asp.net web application Pin
Manas Bhardwaj22-Sep-09 8:37
professionalManas Bhardwaj22-Sep-09 8:37 
GeneralRe: 'sys' is undefined in asp.net web application Pin
Sandeep Akhare22-Sep-09 9:07
Sandeep Akhare22-Sep-09 9:07 
GeneralRe: 'sys' is undefined in asp.net web application Pin
Sandeep Akhare22-Sep-09 9:26
Sandeep Akhare22-Sep-09 9:26 

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.