Click here to Skip to main content
15,918,596 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Localization in Javascript Pin
Shog95-Mar-08 18:13
sitebuilderShog95-Mar-08 18:13 
GeneralRe: Localization in Javascript Pin
Vasudevan Deepak Kumar5-Mar-08 19:18
Vasudevan Deepak Kumar5-Mar-08 19:18 
GeneralRe: Localization in Javascript Pin
navi15105-Mar-08 19:30
navi15105-Mar-08 19:30 
GeneralRe: Localization in Javascript Pin
Shog96-Mar-08 4:16
sitebuilderShog96-Mar-08 4:16 
Generaljavascript:window.open, won't Pin
goodideadave5-Mar-08 10:05
goodideadave5-Mar-08 10:05 
QuestionRe: javascript:window.open, won't Pin
Vasudevan Deepak Kumar5-Mar-08 19:15
Vasudevan Deepak Kumar5-Mar-08 19:15 
GeneralRe: javascript:window.open, won't Pin
goodideadave6-Mar-08 5:55
goodideadave6-Mar-08 5:55 
QuestionRe: javascript:window.open, won't Pin
goodideadave10-Mar-08 7:11
goodideadave10-Mar-08 7:11 
I am still having a problem showing a new window with javascript. When a user clicks a linkbutton on my page, it should show BalanceReport.aspx with the accompanying parameters, instead it does nothing. It always works on my system (naturally), it always works on another users' system, and it never works on yet another users' system. In the Page_Load event I do some database stored procedure calls and fill a stringbuilder with HTML that is sent to the page in an asp:Literal control. That seems to work. Javascript is enabled on our browsers (IE6 xpSp2). There are no popup blockers on the suspect system, and other window.opens work. I am unsure where to look next.

This link works:
const string cOnClientClickTemplate = "javascript:window.open('ClaimPopup.aspx?CompPK={0}&ProviderName={1}&FundType={2}',";
const string cPopupDialogArgs = "'newWindow','width=500,height=450');return false;";
NewDiscClaim.OnClientClick = String.Format(cOnClientClickTemplate, ViewState["CompPK"].ToString (), ViewState["ProviderName"].ToString(), "disc") + cPopupDialogArgs;

This link does not work:
const string cOnClientClickReportTemplate = "javascript:window.open('BalanceReport.aspx?CompPK={0}',";
const string cReportDialogArgs = "'newWindow','width=800,height=800,resizable=yes, menubar=yes,toolbar=yes');return false;";
lbtnReport.OnClientClick = String.Format(cOnClientClickReportTemplate, ViewState["CompPK"].ToString()) + cReportDialogArgs;

Any ideas? Thanks.

Someone's gotta be the last to know, but why is it always me?

Questionis it possible two modalbox in html page Pin
absprogrammer5-Mar-08 5:02
absprogrammer5-Mar-08 5:02 
GeneralRe: is it possible two modalbox in html page Pin
Mark J. Miller5-Mar-08 6:05
Mark J. Miller5-Mar-08 6:05 
GeneralRe: is it possible two modalbox in html page Pin
led mike5-Mar-08 6:30
led mike5-Mar-08 6:30 
GeneralRe: is it possible two modalbox in html page Pin
Shog95-Mar-08 6:44
sitebuilderShog95-Mar-08 6:44 
GeneralRe: is it possible two modalbox in html page Pin
Vasudevan Deepak Kumar5-Mar-08 19:20
Vasudevan Deepak Kumar5-Mar-08 19:20 
GeneralRe: is it possible two modalbox in html page Pin
absprogrammer5-Mar-08 23:27
absprogrammer5-Mar-08 23:27 
QuestionWebsite browsing from mobile Pin
prarth4-Mar-08 23:39
prarth4-Mar-08 23:39 
GeneralRe: Website browsing from mobile Pin
Vasudevan Deepak Kumar5-Mar-08 4:39
Vasudevan Deepak Kumar5-Mar-08 4:39 
GeneralRe: Website browsing from mobile Pin
prarth5-Mar-08 20:38
prarth5-Mar-08 20:38 
Generalsending mail from asp.net page Pin
Asit0074-Mar-08 20:20
Asit0074-Mar-08 20:20 
GeneralRe: sending mail from asp.net page Pin
Vasudevan Deepak Kumar5-Mar-08 4:40
Vasudevan Deepak Kumar5-Mar-08 4:40 
GeneralRe: sending mail from asp.net page Pin
Nilesh Hapse5-Mar-08 19:25
Nilesh Hapse5-Mar-08 19:25 
QuestionWhat is the difference between Ajax and Javascript? Pin
meeram3954-Mar-08 18:51
meeram3954-Mar-08 18:51 
AnswerRe: What is the difference between Ajax and Javascript? Pin
Johnny ²4-Mar-08 19:38
Johnny ²4-Mar-08 19:38 
AnswerRe: What is the difference between Ajax and Javascript? Pin
Vasudevan Deepak Kumar5-Mar-08 4:41
Vasudevan Deepak Kumar5-Mar-08 4:41 
AnswerRe: What is the difference between Ajax and Javascript? Pin
lbothell11-Mar-08 7:50
lbothell11-Mar-08 7:50 
GeneralDLLHosts.exe killing server processor Pin
JacquesDP4-Mar-08 18:38
JacquesDP4-Mar-08 18:38 

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.