Click here to Skip to main content
15,881,248 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionGiving .aspx page as a source for an image Pin
jaishankar270431-Oct-07 5:02
jaishankar270431-Oct-07 5:02 
AnswerRe: Giving .aspx page as a source for an image Pin
pmarfleet31-Oct-07 7:21
pmarfleet31-Oct-07 7:21 
Questiontrim function Pin
Sonia Gupta31-Oct-07 4:51
Sonia Gupta31-Oct-07 4:51 
AnswerRe: trim function Pin
Malcolm Smart31-Oct-07 5:32
Malcolm Smart31-Oct-07 5:32 
JokeRe: trim function Pin
Rocky#31-Oct-07 5:51
Rocky#31-Oct-07 5:51 
Questionget the client hostname or ip address using asp.net Pin
Ramamurthi31-Oct-07 4:13
Ramamurthi31-Oct-07 4:13 
AnswerRe: get the client hostname or ip address using asp.net Pin
Felipe Dalorzo31-Oct-07 10:44
Felipe Dalorzo31-Oct-07 10:44 
QuestionOpening new window from C# code Pin
kaliem31-Oct-07 3:49
kaliem31-Oct-07 3:49 
Hi All, I tried to open a new IE window from C# code and it works for any sample website. However, the same code doesnt work for ajax enabled website. I have removed ajax by deleting

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

from .aspx but still it doesnt work, any clues ??? Do i need to remove something more than that ?

Here is my code for opening the new window that works on pages other than my website page:

string strQS = "http://www.yahoo.com";
StringBuilder strScript = new StringBuilder();
strScript.Append("<script language=JavaScript>");
strScript.Append("window.open('" + strQS + "', \"\",\"height=100,width=400,left=0,top=0,toolbar=no,menubar=no\");");
strScript.Append("</script>");
ClientScript.RegisterClientScriptBlock(this.GetType(), "subscribescript", strScript.ToString());

I would appreciate your help. Thanks

Knowledge is knowing a tomato is a fruit. Wisdom is not putting it in a fruit salad.
AnswerRe: Opening new window from C# code Pin
Not Active31-Oct-07 5:39
mentorNot Active31-Oct-07 5:39 
GeneralRe: Opening new window from C# code Pin
kaliem31-Oct-07 7:33
kaliem31-Oct-07 7:33 
GeneralRe: Opening new window from C# code Pin
Not Active31-Oct-07 9:04
mentorNot Active31-Oct-07 9:04 
Questiongridview Pin
strDesniBek31-Oct-07 3:36
strDesniBek31-Oct-07 3:36 
AnswerRe: gridview Pin
Braulio Dez31-Oct-07 3:42
Braulio Dez31-Oct-07 3:42 
QuestionStrange characters when exporting data Pin
Davy Maes31-Oct-07 3:27
Davy Maes31-Oct-07 3:27 
QuestionAJAX Enabled website Pin
Imthu31-Oct-07 3:21
Imthu31-Oct-07 3:21 
AnswerRe: AJAX Enabled website Pin
Imran Khan Pathan31-Oct-07 3:31
Imran Khan Pathan31-Oct-07 3:31 
GeneralRe: AJAX Enabled website Pin
Imthu31-Oct-07 4:55
Imthu31-Oct-07 4:55 
GeneralRe: AJAX Enabled website Pin
Imthu31-Oct-07 5:00
Imthu31-Oct-07 5:00 
AnswerRe: AJAX Enabled website Pin
Sarani Ravindran1-Nov-07 0:04
Sarani Ravindran1-Nov-07 0:04 
Questiondropdownlist Pin
venky45631-Oct-07 3:09
venky45631-Oct-07 3:09 
AnswerRe: dropdownlist Pin
Imran Khan Pathan31-Oct-07 3:15
Imran Khan Pathan31-Oct-07 3:15 
GeneralRe: dropdownlist Pin
Sarfaraj Ahmed31-Oct-07 3:20
Sarfaraj Ahmed31-Oct-07 3:20 
GeneralRe: dropdownlist Pin
Imran Khan Pathan31-Oct-07 3:26
Imran Khan Pathan31-Oct-07 3:26 
AnswerRe: dropdownlist Pin
Arif patel31-Oct-07 3:27
Arif patel31-Oct-07 3:27 
GeneralRe: dropdownlist Pin
Kasi Viswanathan31-Oct-07 3:46
Kasi Viswanathan31-Oct-07 3:46 

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.