Click here to Skip to main content
15,905,612 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionHow to Create Dynami Menu InC# Pin
mrgaddam3-Jan-08 19:20
mrgaddam3-Jan-08 19:20 
AnswerRe: How to Create Dynami Menu InC# Pin
Michael Sync3-Jan-08 19:50
Michael Sync3-Jan-08 19:50 
Generalnull reference exception in treeview navigation Pin
uglyeyes3-Jan-08 18:41
uglyeyes3-Jan-08 18:41 
GeneralRe: null reference exception in treeview navigation Pin
TechnoSpike3-Jan-08 23:16
TechnoSpike3-Jan-08 23:16 
GeneralRe: null reference exception in treeview navigation Pin
uglyeyes6-Jan-08 11:23
uglyeyes6-Jan-08 11:23 
Questionhow i can change the froe color of the gridview textbox Pin
jagan1233-Jan-08 18:31
jagan1233-Jan-08 18:31 
AnswerRe: how i can change the froe color of the gridview textbox Pin
Michael Sync3-Jan-08 18:46
Michael Sync3-Jan-08 18:46 
QuestionWorking with Dropdown and text box Pin
this is pumpkin3-Jan-08 17:53
this is pumpkin3-Jan-08 17:53 
Hello Everyone,
I am new to code project and i have a small scenario : i created a small web form for student details. in that, i placed a "dropdown listbox and a text box".
in dropdownbox(ddb), i added 3 items i.e., marks of a student in paper1,paper2,paper3 respectively.
now, i want to select paper1 from the "ddb" and enter the marks in the text-box.
next,i want to select paper2 from the "ddb" and enter the marks in the same text-box.
likewise for the paper3.
and, when i click a button, i would like to see the total.
below is the sample code i used. can anyone please suggest me how to implement this.
Also, please let me know if this is completely stupid thought.


private void Page-Load(....)
{
if(DropDownList1.SelectedIndex==0)
{
MsgBox1.alert("p1");
}
}

private void DropDownList1_SelectedIndexChanged(object sender, System.EventArgs e)
{

if(DropDownList1.SelectedIndex==1)
{
MsgBox1.alert("p2");

}

if(DropDownList1.SelectedIndex==2)
{
MsgBox1.alert("p3");
DropDownList1.SelectedIndex=0;
}

}
GeneralRe: Working with Dropdown and text box Pin
Christian Graus3-Jan-08 17:56
protectorChristian Graus3-Jan-08 17:56 
GeneralRe: Working with Dropdown and text box Pin
janet20083-Jan-08 18:55
janet20083-Jan-08 18:55 
Questionhow to reconise the cell of a grid view when there is a text box in that cell Pin
jagan1233-Jan-08 17:44
jagan1233-Jan-08 17:44 
Generaldatagrid with checkboxes Pin
rameshdontagani3-Jan-08 16:56
rameshdontagani3-Jan-08 16:56 
GeneralRe: datagrid with checkboxes Pin
Christian Graus3-Jan-08 17:13
protectorChristian Graus3-Jan-08 17:13 
GeneralRe: datagrid with checkboxes Pin
rameshdontagani3-Jan-08 17:58
rameshdontagani3-Jan-08 17:58 
QuestionHow to create a browse button to get a folder path Pin
bircut3-Jan-08 15:29
bircut3-Jan-08 15:29 
AnswerRe: How to create a browse button to get a folder path Pin
Christian Graus3-Jan-08 16:47
protectorChristian Graus3-Jan-08 16:47 
AnswerRe: How to create a browse button to get a folder path Pin
Michael Sync3-Jan-08 16:52
Michael Sync3-Jan-08 16:52 
AnswerRe: How to create a browse button to get a folder path [modified] Pin
bircut3-Jan-08 17:17
bircut3-Jan-08 17:17 
GeneralRe: How to create a browse button to get a folder path Pin
Christian Graus3-Jan-08 17:30
protectorChristian Graus3-Jan-08 17:30 
GeneralRe: How to create a browse button to get a folder path [modified] Pin
bircut3-Jan-08 17:37
bircut3-Jan-08 17:37 
GeneralRe: How to create a browse button to get a folder path Pin
Christian Graus3-Jan-08 17:54
protectorChristian Graus3-Jan-08 17:54 
GeneralRe: How to create a browse button to get a folder path [modified] Pin
bircut3-Jan-08 18:51
bircut3-Jan-08 18:51 
QuestionHow to get Client Confirmation Pin
ram19743-Jan-08 14:19
ram19743-Jan-08 14:19 
AnswerRe: How to get Client Confirmation Pin
Christian Graus3-Jan-08 16:49
protectorChristian Graus3-Jan-08 16:49 
GeneralRe: How to get Client Confirmation Pin
ram19743-Jan-08 18:14
ram19743-Jan-08 18:14 

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.