Click here to Skip to main content
15,889,281 members
Home / Discussions / ASP.NET
   

ASP.NET

 
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 
Questionhow can recognize in asp.net when user exit from a page ? Pin
B.A6-Oct-07 22:57
B.A6-Oct-07 22:57 
AnswerRe: how can recognize in asp.net when user exit from a page ? Pin
Christian Graus6-Oct-07 23:25
protectorChristian Graus6-Oct-07 23:25 
GeneralRe: how can recognize in asp.net when user exit from a page ? Pin
B.A6-Oct-07 23:40
B.A6-Oct-07 23:40 
AnswerRe: how can recognize in asp.net when user exit from a page ? Pin
John-ph6-Oct-07 23:27
John-ph6-Oct-07 23:27 
Questionabout my database conenction Pin
Nine Tails6-Oct-07 21:34
Nine Tails6-Oct-07 21:34 
AnswerRe: about my database conenction Pin
Christian Graus6-Oct-07 23:25
protectorChristian Graus6-Oct-07 23:25 
QuestionSecurity Exception Pin
IamAmit6-Oct-07 19:47
IamAmit6-Oct-07 19:47 
Questionhas anyone built scott mitchells online photo album? Pin
learningman6-Oct-07 13:49
learningman6-Oct-07 13:49 

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.