Click here to Skip to main content
15,891,567 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Open parent window from child window Pin
fly90412-May-09 10:20
fly90412-May-09 10:20 
GeneralRe: Open parent window from child window Pin
netJP12L13-May-09 3:41
netJP12L13-May-09 3:41 
GeneralRe: Open parent window from child window Pin
fly90415-May-09 6:20
fly90415-May-09 6:20 
AnswerRe: Open parent window from child window Pin
Yusuf12-May-09 10:21
Yusuf12-May-09 10:21 
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 
I'm not a Javascript person, so please be kind. I've got an asp.net 2 page that has a master page. I've got a javascript that works fine in a regular asp.net page within the same web. Move it to the page with the master page, and it won't work. Any help appreciated. Also, what's the difference between function setDifference(form) and setDifference = function(form)? Here's the basic stuff:

<script>
setDifference = function(form)
{
var x = document.getElementById('dtTxt1').value;
var y = document.getElementById('dtTxt2').value;
var dt1 = Date.parse(x)
var dt2 = Date.parse(y)
document.getElementById('resultTxt').value = (dt1.valueOf() - dt2.valueOf()) / (60 * 60 * 24 * 1000)
}
</script> 

<asp:TextBox ID="dtTxt1" name="dtTxt1" runat="server" onkeyup="javascript:setDifference(this.form);" onkeydown="javascript:setDifference(this.form);" />
<asp:TextBox name="dtTxt2" id="dtTxt2" runat="server" onkeyup="javascript:setDifference(this.form);" onkeydown="javascript:setDifference(this.form);" />
<asp:textbox name="resultTxt" id="resultTxt" runat="server" />

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 
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 

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.