Click here to Skip to main content
15,916,692 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: How can I add elements in to a .Net Drop down list server control using Javascript function. Like I have 3 dropdown list server controls. I want change the date field whenever month or year changed. If possible please give some code snippet. Pin
Christian Graus26-Dec-06 15:37
protectorChristian Graus26-Dec-06 15:37 
GeneralHow can I add elements in to a .Net Drop down list server control using Javascript function. Like I have 3 dropdown list server controls. I want change the date field whenever month or year changed. If possible please give some code snippet. Pin
indian14326-Dec-06 17:54
indian14326-Dec-06 17:54 
QuestionCan I add elements in to a Drop down list server control Pin
indian14326-Dec-06 1:17
indian14326-Dec-06 1:17 
AnswerRe: Can I add elements in to a Drop down list server control Pin
Christian Graus26-Dec-06 15:16
protectorChristian Graus26-Dec-06 15:16 
GeneralRe: Can I add elements in to a Drop down list server control Pin
indian14326-Dec-06 22:18
indian14326-Dec-06 22:18 
QuestionCrystal Report on Web Form Pin
Arghya_mp26-Dec-06 0:46
Arghya_mp26-Dec-06 0:46 
QuestionCan I access any Server control in Javascript function in .Net Pin
indian14325-Dec-06 18:52
indian14325-Dec-06 18:52 
AnswerRe: Can I access any Server control in Javascript function in .Net Pin
Christian Graus26-Dec-06 15:19
protectorChristian Graus26-Dec-06 15:19 
indian143 wrote:
I want to access a Server control in .net within a Javascript function


Your aspx needs to get the ID from the server code. Like this:

document.getElementById('<%=tbCmpName.ClientID%>')


indian143 wrote:
How can I declare string variables in Javascript?


var str = "this is a string";


indian143 wrote:
And one more question, how can I get the length of a string?


str.length, I believe.

Google will find you tons of javascript tutorials.



Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog

QuestionXMLHTTPRequest not working consistantly Pin
JimmyRopes25-Dec-06 9:27
professionalJimmyRopes25-Dec-06 9:27 
Questionjava script for preloader Pin
kitokatakito25-Dec-06 1:41
kitokatakito25-Dec-06 1:41 
AnswerRe: java script for preloader Pin
Bradml25-Dec-06 2:52
Bradml25-Dec-06 2:52 
QuestionWhat Is The Best Way To Print Simple Reports From ASP.NET Applications Pin
Gaul24-Dec-06 8:44
Gaul24-Dec-06 8:44 
AnswerRe: What Is The Best Way To Print Simple Reports From ASP.NET Applications Pin
Bradml24-Dec-06 9:11
Bradml24-Dec-06 9:11 
AnswerRe: What Is The Best Way To Print Simple Reports From ASP.NET Applications Pin
Bradml24-Dec-06 9:13
Bradml24-Dec-06 9:13 
Questionfavicon Pin
Waldermort23-Dec-06 6:49
Waldermort23-Dec-06 6:49 
AnswerRe: favicon Pin
Bradml23-Dec-06 18:02
Bradml23-Dec-06 18:02 
GeneralRe: favicon Pin
Waldermort23-Dec-06 19:25
Waldermort23-Dec-06 19:25 
AnswerRe: favicon Pin
haggenx2-Jan-07 4:59
haggenx2-Jan-07 4:59 
GeneralRe: favicon Pin
Bradml2-Jan-07 5:01
Bradml2-Jan-07 5:01 
QuestionCookies in IE7 Pin
Amit Kumar G23-Dec-06 3:54
Amit Kumar G23-Dec-06 3:54 
AnswerRe: Cookies in IE7 Pin
Bradml23-Dec-06 4:08
Bradml23-Dec-06 4:08 
AnswerRe: Cookies in IE7 Pin
Amit Kumar G23-Dec-06 4:53
Amit Kumar G23-Dec-06 4:53 
QuestionCan I access any Server control in Javascript function in .Net Pin
indian14323-Dec-06 1:36
indian14323-Dec-06 1:36 
AnswerRe: Can I access any Server control in Javascript function in .Net Pin
Bradml23-Dec-06 2:22
Bradml23-Dec-06 2:22 
GeneralRe: Can I access any Server control in Javascript function in .Net Pin
indian14323-Dec-06 2:39
indian14323-Dec-06 2:39 

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.