Click here to Skip to main content
15,917,565 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Java script Pin
ybasha7-Oct-07 19:36
ybasha7-Oct-07 19:36 
QuestionMonth to month comparison report options Pin
.NET_Labview7-Oct-07 11:48
.NET_Labview7-Oct-07 11:48 
AnswerRe: Month to month comparison report options Pin
Christian Graus7-Oct-07 11:51
protectorChristian Graus7-Oct-07 11:51 
GeneralRe: Month to month comparison report options Pin
.NET_Labview7-Oct-07 11:57
.NET_Labview7-Oct-07 11:57 
GeneralRe: Month to month comparison report options Pin
Christian Graus7-Oct-07 12:13
protectorChristian Graus7-Oct-07 12:13 
GeneralRe: Month to month comparison report options [modified] Pin
.NET_Labview8-Oct-07 4:23
.NET_Labview8-Oct-07 4:23 
GeneralRe: Month to month comparison report options Pin
.NET_Labview11-Oct-07 3:41
.NET_Labview11-Oct-07 3:41 
GeneralRe: Month to month comparison report options Pin
.NET_Labview11-Oct-07 5:01
.NET_Labview11-Oct-07 5:01 
AnswerRe: Set Null in Ms Access DB Pin
pmarfleet7-Oct-07 10:11
pmarfleet7-Oct-07 10:11 
QuestionLog in Page ( help please ) Pin
Al-jaberi7-Oct-07 7:22
Al-jaberi7-Oct-07 7:22 
AnswerRe: Log in Page ( help please ) Pin
mr.mohsen7-Oct-07 10:14
mr.mohsen7-Oct-07 10:14 
GeneralRe: Log in Page ( help please ) Pin
Al-jaberi7-Oct-07 16:55
Al-jaberi7-Oct-07 16:55 
Questionhow can i insert mpeg files to the database? Pin
ebtihal7-Oct-07 5:16
ebtihal7-Oct-07 5:16 
AnswerRe: how can i insert mpeg files to the database? Pin
Christian Graus7-Oct-07 10:25
protectorChristian Graus7-Oct-07 10:25 
Questionaccess to server controls by javascript???????????? Pin
mr.mohsen7-Oct-07 5:12
mr.mohsen7-Oct-07 5:12 
AnswerRe: access to server controls by javascript? Pin
Guffa7-Oct-07 5:29
Guffa7-Oct-07 5:29 
mr.mohsen wrote:
i know a method that allow me to access a property of a server control such as checkbox or optionbox


No, you don't. You can't access any server control at all from Javascript. The code is accessing the html elements that the server control has rendered.

The server controls only exist on the server to create the html page. Once the page is created and sent to the browser, the server controls doesn't exist any more.

mr.mohsen wrote:
how can i access to the selected value property of a dropdownlist control with javascript?


You can't. You have to access the properties of the html elements that the control has rendered. Use the selectedIndex property to get the index of the selected item, then use that to get the value of the selected item.

Example:

var sel = document.getElementById('idOfTheSelectElement');<br />
var value = sel.options[sel.selectedIndex];


---
single minded; short sighted; long gone;

GeneralRe: access to server controls by javascript? Pin
mr.mohsen7-Oct-07 7:00
mr.mohsen7-Oct-07 7:00 
GeneralRe: access to server controls by javascript? Pin
Christian Graus7-Oct-07 10:26
protectorChristian Graus7-Oct-07 10:26 
Questionasp:CompleteWizardStep Continue Button Pin
Brendan Vogt7-Oct-07 1:57
Brendan Vogt7-Oct-07 1:57 
Questionimage not work in firefox Pin
samforu7-Oct-07 1:07
samforu7-Oct-07 1:07 
AnswerRe: image not work in firefox Pin
Parwej Ahamad7-Oct-07 18:32
professionalParwej Ahamad7-Oct-07 18:32 
QuestionCould not load assembly Pin
IamAmit7-Oct-07 1:00
IamAmit7-Oct-07 1:00 
QuestionSQL server 2005 with Enterprise Library 1.1 Pin
asif m@hmood6-Oct-07 23:16
asif m@hmood6-Oct-07 23:16 
AnswerRe: SQL server 2005 with Enterprise Library 1.1 Pin
Christian Graus6-Oct-07 23:24
protectorChristian Graus6-Oct-07 23:24 
GeneralRe: SQL server 2005 with Enterprise Library 1.1 Pin
asif m@hmood6-Oct-07 23:29
asif m@hmood6-Oct-07 23:29 

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.