Click here to Skip to main content
15,907,497 members
Home / Discussions / Web Development
   

Web Development

 
QuestionPossible? Keep position absolute consistent in mozilla? [modified] Pin
Justincc4-Sep-07 9:17
professionalJustincc4-Sep-07 9:17 
AnswerRe: Possible? Keep position absolute consistent in mozilla? Pin
George L. Jackson4-Sep-07 10:11
George L. Jackson4-Sep-07 10:11 
GeneralRe: Possible? Keep position absolute consistent in mozilla? Pin
Justincc4-Sep-07 10:17
professionalJustincc4-Sep-07 10:17 
GeneralRe: Possible? Keep position absolute consistent in mozilla? Pin
George L. Jackson4-Sep-07 11:53
George L. Jackson4-Sep-07 11:53 
AnswerRe: Possible? Keep position absolute consistent in mozilla? Pin
Justincc5-Sep-07 3:49
professionalJustincc5-Sep-07 3:49 
GeneralRe: Possible? Keep position absolute consistent in mozilla? Pin
George L. Jackson5-Sep-07 8:04
George L. Jackson5-Sep-07 8:04 
AnswerRe: Possible? Keep position absolute consistent in mozilla? Pin
Justincc5-Sep-07 4:38
professionalJustincc5-Sep-07 4:38 
QuestionEvent Firing?? Pin
tadhg884-Sep-07 4:51
tadhg884-Sep-07 4:51 
Hi i am developing a web app using asp.net and c#, on a page i have 2 cols of dropdown lists the left filled with player names and right filled with possible heights. when a player is selected theres a postback to find and select the appropriate height for the selected player but the problem is there are 14 players ddls and 14 heights ddls all linked to the same function.
but the problem is if no height is available for the selected player then N/A is selected in the heights ddl and the user can then choose the correct date from the ddl available but when i try to save the players details to the database the event to find the correct height is fired and then players height is reset to N/A... if anyone has an ideas or suggestions i would really appreciate them thanks in advance
Tim


private void player_SelectedIndexChanged(object sender, System.EventArgs e)
{
DropDownList ddlPlayer = sender as DropDownList;
string number = ddlPlayer.ID.Substring(ddlPlayer.ID.IndexOf("homeName")+8);

//*** create person object for height details
DAL.ObjectAccess.Person oPerson = new DAL.ObjectAccess.Person();
oPerson.ID = new SqlInt32(Convert.ToInt32(ddlPlayer.SelectedValue.Substring(0, ddlPlayer.SelectedValue.LastIndexOf(":"))));
oPerson.SelectOne();

//*** select correct height from ddl
DropDownList ddlHeight = (DropDownList)this.FindControl("height" + number);
if(ddlHeight != null)
{
ddlHeight.SelectedValue = oPerson.Height.Value.ToString();
}

//*** display age on label
Label lblAge = (Label)this.FindControl("homeSquad" + number);
if(lblAge != null)
{
lblAge.Text = ddlPlayer.SelectedValue.Substring(ddlPlayer.SelectedValue.LastIndexOf(":")+1);
}
}
QuestionSetting Permissions on an MDB File Pin
Brendan Vogt3-Sep-07 23:13
Brendan Vogt3-Sep-07 23:13 
AnswerRe: Setting Permissions on an MDB File Pin
Fred_Smith3-Sep-07 23:23
Fred_Smith3-Sep-07 23:23 
Questionembed flash on button click in c#.net2.0 Pin
harryforum3-Sep-07 22:46
harryforum3-Sep-07 22:46 
QuestionProblem during User Authentication. Pin
nagendrathecoder3-Sep-07 20:21
nagendrathecoder3-Sep-07 20:21 
QuestionPROBLE - Uploading 5MB Excel file Pin
hifiger20043-Sep-07 5:07
hifiger20043-Sep-07 5:07 
AnswerRe: PROBLE - Uploading 5MB Excel file Pin
Fred_Smith3-Sep-07 13:16
Fred_Smith3-Sep-07 13:16 
AnswerRe: PROBLE - Uploading 5MB Excel file Pin
hifiger20045-Sep-07 10:47
hifiger20045-Sep-07 10:47 
QuestionTextBox in DataGrid Pin
nandhububbly3-Sep-07 0:11
nandhububbly3-Sep-07 0:11 
QuestionFunction for IFrame Pin
James_Programmer2-Sep-07 21:55
James_Programmer2-Sep-07 21:55 
QuestionImplementing your own map image in c#.net 2.0 to perform city search Pin
harryforum2-Sep-07 19:52
harryforum2-Sep-07 19:52 
Question[Message Deleted] Pin
dream_liner_7e71-Sep-07 12:14
dream_liner_7e71-Sep-07 12:14 
AnswerRe: identify client Pin
Christian Graus1-Sep-07 13:41
protectorChristian Graus1-Sep-07 13:41 
GeneralRe: identify client Pin
dream_liner_7e71-Sep-07 16:12
dream_liner_7e71-Sep-07 16:12 
GeneralRe: identify client Pin
Vasudevan Deepak Kumar2-Sep-07 0:01
Vasudevan Deepak Kumar2-Sep-07 0:01 
GeneralRe: identify client Pin
Vasudevan Deepak Kumar2-Sep-07 0:03
Vasudevan Deepak Kumar2-Sep-07 0:03 
AnswerRe: identify client Pin
Vasudevan Deepak Kumar2-Sep-07 0:02
Vasudevan Deepak Kumar2-Sep-07 0:02 
AnswerRe: [Message Deleted] Pin
Michael Sync2-Sep-07 16:22
Michael Sync2-Sep-07 16:22 

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.