Click here to Skip to main content
15,895,011 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Postback problem from ASP.NET page Pin
LancashireLad10-Aug-07 10:41
LancashireLad10-Aug-07 10:41 
AnswerRe: Postback problem from ASP.NET page Pin
Fred_Smith10-Aug-07 11:44
Fred_Smith10-Aug-07 11:44 
GeneralRe: Postback problem from ASP.NET page Pin
LancashireLad11-Aug-07 3:16
LancashireLad11-Aug-07 3:16 
GeneralRe: Postback problem from ASP.NET page Pin
LancashireLad11-Aug-07 3:25
LancashireLad11-Aug-07 3:25 
QuestionCalculate distinces between 2 location Pin
DonVBguy10-Aug-07 5:26
DonVBguy10-Aug-07 5:26 
AnswerRe: Calculate distinces between 2 location Pin
Guffa10-Aug-07 5:56
Guffa10-Aug-07 5:56 
AnswerRe: Calculate distinces between 2 location Pin
Jon Sagara10-Aug-07 8:45
Jon Sagara10-Aug-07 8:45 
QuestionHow to get or set value/text of disabled dropdown list in java script Pin
here2learn10-Aug-07 5:19
here2learn10-Aug-07 5:19 
Hi All. i am making one simple website using microsoft ajax framework 1.0. in that i need to get or set value of disabled dropdown list in java script. when i am trying to get value of ddl in javascript it is allowing me get value till it is enabled, but not allowing to assing value to it.

condition is going worse once i will make ddl disabled. then i am not able to get it's value or assing any value. some where i got answer that if we disable ddl in java script so we can't get it's value. so i tried with disabling in page itself then enabling it in java script then assigned value to it then made it disabled, this all in java script, but after disabling value is gone.

my javascript function is like:
/////////////////////////////////////////

function setcontrols(result)
if(result!="")
{
// ....
//some code to get ID's of controls
//....

var client = result.split(",");
clientName.value=client[0]; // clientName is one asp.net 2.0 textbox
oA.value = client[1]; // oA is asp.net 2.0 dropdownlist which causing problem

alert(window.oA.value); //not working if ddl is disabled otherwise working fine
window.oA.value = "mystring"; // this is not working independent to ddl is disabled or enabled
}

i tried in many ways but didn't get solution. i am working with master page so i have used unique IDs to get controls in this function, so that is not issue as i am getting all properties of controls in this function.

please help me... Frown | :(





Akhilesh Singh

AnswerRe: How to get or set value/text of disabled dropdown list in java script Pin
Guffa10-Aug-07 5:28
Guffa10-Aug-07 5:28 
GeneralRe: How to get or set value/text of disabled dropdown list in java script Pin
here2learn12-Aug-07 18:50
here2learn12-Aug-07 18:50 
QuestionOverFlow Property in HTML 4.01 Pin
nandhububbly10-Aug-07 4:05
nandhububbly10-Aug-07 4:05 
AnswerRe: OverFlow Property in HTML 4.01 Pin
Vasudevan Deepak Kumar10-Aug-07 4:08
Vasudevan Deepak Kumar10-Aug-07 4:08 
GeneralRe: OverFlow Property in HTML 4.01 Pin
nandhububbly10-Aug-07 4:15
nandhububbly10-Aug-07 4:15 
QuestionHow to hide Menubar of IE in a web application? Pin
garimajain_mca10-Aug-07 4:03
garimajain_mca10-Aug-07 4:03 
AnswerRe: How to hide Menubar of IE in a web application? Pin
Vasudevan Deepak Kumar10-Aug-07 4:06
Vasudevan Deepak Kumar10-Aug-07 4:06 
QuestionPop up window problem Pin
ragavan10-Aug-07 2:23
ragavan10-Aug-07 2:23 
Questionhow to Store Text files into SQL SERVER 2000 Pin
Adapala10-Aug-07 2:20
Adapala10-Aug-07 2:20 
AnswerRe: how to Store Text files into SQL SERVER 2000 Pin
Blue_Boy10-Aug-07 2:29
Blue_Boy10-Aug-07 2:29 
AnswerRe: how to Store Text files into SQL SERVER 2000 Pin
leckey10-Aug-07 3:54
leckey10-Aug-07 3:54 
Questionhow to generate unique number Pin
biswa4710-Aug-07 1:51
biswa4710-Aug-07 1:51 
AnswerRe: how to generate unique number Pin
Imran Khan Pathan10-Aug-07 4:09
Imran Khan Pathan10-Aug-07 4:09 
GeneralRe: how to generate unique number Pin
nandhububbly10-Aug-07 4:27
nandhububbly10-Aug-07 4:27 
AnswerRe: how to generate unique number Pin
nandhububbly10-Aug-07 4:10
nandhububbly10-Aug-07 4:10 
QuestionRe: how to generate unique number Pin
Malcolm Smart10-Aug-07 5:00
Malcolm Smart10-Aug-07 5:00 
AnswerRe: how to generate unique number Pin
Justin.Jones10-Aug-07 10:36
Justin.Jones10-Aug-07 10:36 

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.