Click here to Skip to main content
15,913,610 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionEditing a Word document Pin
dptalt12-May-09 9:17
dptalt12-May-09 9:17 
AnswerRe: Editing a Word document Pin
Christian Graus12-May-09 9:30
protectorChristian Graus12-May-09 9:30 
GeneralRe: Editing a Word document Pin
Ramesh Swaminathan12-May-09 10:08
Ramesh Swaminathan12-May-09 10:08 
Question.net javascript masterpage conflict Pin
janetb9912-May-09 7:44
janetb9912-May-09 7:44 
AnswerRe: .net javascript masterpage conflict Pin
Christian Graus12-May-09 7:47
protectorChristian Graus12-May-09 7:47 
GeneralRe: .net javascript masterpage conflict Pin
janetb9912-May-09 7:50
janetb9912-May-09 7:50 
GeneralRe: .net javascript masterpage conflict Pin
Christian Graus12-May-09 7:53
protectorChristian Graus12-May-09 7:53 
AnswerRe: .net javascript masterpage conflict Pin
Spunky Coder12-May-09 20:56
Spunky Coder12-May-09 20:56 
When using the master pages, the form elements get rendered with different ID's...I mean to say 'dtTxt1' will be rendered as something 'ctl00_dtTxt1'.

You need to check whether the element ID's that are being used actually exist in the page or not. Smile | :)

So try the following...

var x = document.getElementById('ctl00_dtTxt1').value;
var y = document.getElementById('ctl00_dtTxt2').value;

But before doing this check if the element ID is actually appended with ct100 or some other value.

"Don't worry if it doesn't work right. If everything did, you'd be out of a job." (Mosher's Law of Software Engineering)

GeneralRe: .net javascript masterpage conflict Pin
janetb9913-May-09 4:19
janetb9913-May-09 4:19 
QuestionWhe service which takes Filestream as parameter Pin
Member 465900112-May-09 7:03
Member 465900112-May-09 7:03 
AnswerRe: Whe service which takes Filestream as parameter Pin
Yusuf12-May-09 7:32
Yusuf12-May-09 7:32 
AnswerRe: Whe service which takes Filestream as parameter Pin
Member 475589313-May-09 1:11
Member 475589313-May-09 1:11 
Questionproblem with login control in asp.net Pin
aarsh thakur12-May-09 5:28
aarsh thakur12-May-09 5:28 
AnswerRe: problem with login control in asp.net Pin
AlexeiXX312-May-09 6:33
AlexeiXX312-May-09 6:33 
GeneralRe: problem with login control in asp.net Pin
aarsh thakur12-May-09 21:38
aarsh thakur12-May-09 21:38 
QuestionGridView Template Control [modified] Pin
Ibrahim Bello12-May-09 4:59
Ibrahim Bello12-May-09 4:59 
AnswerRe: GridView Template Control Pin
AlexeiXX312-May-09 6:26
AlexeiXX312-May-09 6:26 
GeneralRe: GridView Template Control Pin
Ibrahim Bello14-May-09 6:37
Ibrahim Bello14-May-09 6:37 
GeneralRe: GridView Template Control Pin
AlexeiXX314-May-09 8:40
AlexeiXX314-May-09 8:40 
GeneralRe: GridView Template Control Pin
Ibrahim Bello14-May-09 21:32
Ibrahim Bello14-May-09 21:32 
QuestionFile management website advice Pin
Gene Arnold12-May-09 3:49
Gene Arnold12-May-09 3:49 
AnswerRe: File management website advice Pin
Manas Bhardwaj12-May-09 4:15
professionalManas Bhardwaj12-May-09 4:15 
AnswerRe: File management website advice Pin
Paddy Boyd12-May-09 5:29
Paddy Boyd12-May-09 5:29 
AnswerRe: File management website advice Pin
AlexeiXX312-May-09 6:35
AlexeiXX312-May-09 6:35 
AnswerRe: File management website advice Pin
Gene Arnold12-May-09 14:43
Gene Arnold12-May-09 14:43 

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.