Click here to Skip to main content
15,890,185 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: How to access Profile's properties in web.config Pin
$unil Dhiman31-Jan-08 18:09
$unil Dhiman31-Jan-08 18:09 
GeneralDatagrid Pin
kibromg31-Jan-08 17:24
kibromg31-Jan-08 17:24 
QuestionHow to set Windows Authentication cookie using Forms Authentication Pin
Sathish_b8131-Jan-08 17:18
Sathish_b8131-Jan-08 17:18 
QuestionCan you help me in asp.net? Thank you Pin
abglorie31-Jan-08 17:04
abglorie31-Jan-08 17:04 
AnswerRe: Can you help me in asp.net? Thank you Pin
sirisha guttikonda31-Jan-08 17:20
sirisha guttikonda31-Jan-08 17:20 
AnswerRe: Can you help me in asp.net? Thank you Pin
sivaprakas31-Jan-08 17:50
sivaprakas31-Jan-08 17:50 
AnswerRe: Can you help me in asp.net? Thank you Pin
dilipv3-Feb-08 23:26
dilipv3-Feb-08 23:26 
QuestionRetrive Asp:DropDownList Addes Items [modified] Pin
sivaprakas31-Jan-08 16:42
sivaprakas31-Jan-08 16:42 
Hi, I develop a project in ASp.net in my project i use java script function to add textbox value to Dropdownlist when i click ASp.Butoon the Dropdownlist values age disappeared i can't get dropdownlist values how can i get pls help me

sn-asp:TextBox

list-asp:DropDownList

function Button8_onclick()
{

var t
alert("Hai");

//alert(document.form1.elements["dl"].value);

//alert(document.getElementById("sn2").value);if(document.getElementById("sn").value!="")
{

if(document.getElementById("list").value=="1")
{

t = document.getElementById("sn").value

st = new Option(t,t)document.getElementById("snum1").add(st);
}



if(document.getElementById("list").value=="2")
{

t = document.getElementById("sn").value
st = new Option(t,t)

document.getElementById("snum2").add(st);
}



if(document.getElementById("list").value=="3")
{

t = document.getElementById("sn").value
st = new Option(t,t)

document.getElementById("snum3").add(st);
}



if(document.getElementById("list").value=="4")
{

t = document.getElementById("sn").value
st = new Option(t,t)

document.getElementById("snum4").add(st);
}



if(document.getElementById("list").value=="5")
{

t = document.getElementById("sn").value
st = new Option(t,t)

document.getElementById("snum5").add(st);
}



if(document.getElementById("list").value=="6")
{

t = document.getElementById("sn").value
st = new Option(t,t)

document.getElementById("snum6").add(st);
}



if(document.getElementById("list").value=="7")
{

t = document.getElementById("sn").value
st = new Option(t,t)

document.getElementById("snum7").add(st);
}



if(document.getElementById("list").value=="8")
{

t = document.getElementById("sn").value
st = new Option(t,t)

document.getElementById("snum8").add(st);
}



if(document.getElementById("list").value=="9")
{

t = document.getElementById("sn").value
st = new Option(t,t)

document.getElementById("snum9").add(st);
}



if(document.getElementById("list").value=="10")
{

t = document.getElementById("sn").value
st = new Option(t,t)

document.getElementById("snum10").add(st);
}



}

code Window protected void Button10_Click(object sender, EventArgs e)
{

for (int j = 0; j < snum10.Items.Count; j++)
{

//tListt.Items.Add(snListt.Items[j].ToString());

snd[10] = snd[10] + "/" + snum10.Items[j].ToString();
}





}

snd[] string Array

snum1 DropDownlist

modified on Thursday, January 31, 2008 10:49:32 PM

QuestionWork on disscussion Board? Pin
Mian Awais M asood31-Jan-08 14:22
Mian Awais M asood31-Jan-08 14:22 
QuestionHow do I deal with No default member found for type "GridView" Pin
bamagrad31-Jan-08 13:18
bamagrad31-Jan-08 13:18 
GeneralDataGrid Updating Event prob when AutoGenerateEditButton used... Pin
Supriya Tonape31-Jan-08 10:44
Supriya Tonape31-Jan-08 10:44 
GeneralVIsual studio Pin
kibromg31-Jan-08 9:09
kibromg31-Jan-08 9:09 
GeneralRe: VIsual studio [modified] Pin
Venkatesh Mookkan31-Jan-08 18:37
Venkatesh Mookkan31-Jan-08 18:37 
GeneralRe: VIsual studio Pin
dilipv8-Feb-08 1:09
dilipv8-Feb-08 1:09 
GeneralGridView that extends a class that has gridview common functions. Pin
Martin_31-Jan-08 7:45
Martin_31-Jan-08 7:45 
GeneralPersisitent authentication Pin
#realJSOP31-Jan-08 6:33
mve#realJSOP31-Jan-08 6:33 
GeneralRe: Persisitent authentication Pin
Fred_Smith31-Jan-08 10:37
Fred_Smith31-Jan-08 10:37 
GeneralData Grid Pin
kibromg31-Jan-08 5:20
kibromg31-Jan-08 5:20 
AnswerRe: Data Grid Pin
newc131-Jan-08 5:33
newc131-Jan-08 5:33 
GeneralRe: Data Grid Pin
kibromg31-Jan-08 5:52
kibromg31-Jan-08 5:52 
GeneralRe: Data Grid Pin
kibromg31-Jan-08 6:48
kibromg31-Jan-08 6:48 
Generalproblem with customErrors tag Pin
Member 468659031-Jan-08 4:06
Member 468659031-Jan-08 4:06 
GeneralRe: problem with customErrors tag Pin
newc131-Jan-08 4:59
newc131-Jan-08 4:59 
GeneralRe: problem with customErrors tag Pin
Member 468659031-Jan-08 20:59
Member 468659031-Jan-08 20:59 
Questionhow to call two javascript methods for the same onclient click event Pin
jagan12331-Jan-08 3:42
jagan12331-Jan-08 3:42 

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.