Click here to Skip to main content
15,914,419 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: no access to application in lan Pin
Abhishek Sur13-Aug-09 4:36
professionalAbhishek Sur13-Aug-09 4:36 
Questiongridview Pin
ptvce12-Aug-09 23:09
ptvce12-Aug-09 23:09 
AnswerRe: gridview Pin
Coding C#12-Aug-09 23:36
Coding C#12-Aug-09 23:36 
AnswerRe: gridview Pin
Abhijit Jana12-Aug-09 23:43
professionalAbhijit Jana12-Aug-09 23:43 
QuestionOpening new page with window.open() and passing query strings to it [modified] Pin
Chesnokov Yuriy12-Aug-09 22:55
professionalChesnokov Yuriy12-Aug-09 22:55 
AnswerRe: Opening new page with window.open() and passing query strings to it Pin
Abhishek Sur12-Aug-09 23:52
professionalAbhishek Sur12-Aug-09 23:52 
AnswerRe: Opening new page with window.open() and passing query strings to it Pin
Chesnokov Yuriy13-Aug-09 0:31
professionalChesnokov Yuriy13-Aug-09 0:31 
GeneralRe: Opening new page with window.open() and passing query strings to it Pin
Abhishek Sur13-Aug-09 2:28
professionalAbhishek Sur13-Aug-09 2:28 
yes. The code I provided just does that.

Check if you have correctly applied the code or not.

Just see what I have done:
In designer I wrote :
<asp:Button ID="btnid" runat="server" />


On the server side I wrote :

btnid.Attributes.Add("onclick", "javascript: window.open('testform.aspx', 'download', 'left=1000,top=1000');return false;");


Thus whenever the button is clicked the new window will load the page, and it calls the server but the opener window doesnt post back.

If you want to check just place Response.Write("Testing Postback"); on the OnClick event of btnid. You will see the calling page doesnt write the string.

Hope you understand. Thumbs Up | :thumbsup: Thumbs Up | :thumbsup:

Abhishek Sur

My Latest Articles
Create CLR objects in SQL Server 2005
C# Uncommon Keywords
Read/Write Excel using OleDB

Don't forget to click "Good Answer" if you like to.

Questionlistviewcontrol Pin
mylogics12-Aug-09 22:14
professionalmylogics12-Aug-09 22:14 
AnswerRe: listviewcontrol Pin
Coding C#12-Aug-09 22:21
Coding C#12-Aug-09 22:21 
GeneralRe: listviewcontrol Pin
mylogics12-Aug-09 23:33
professionalmylogics12-Aug-09 23:33 
GeneralRe: listviewcontrol Pin
Coding C#12-Aug-09 23:41
Coding C#12-Aug-09 23:41 
QuestionAjax Tab Container Pin
KhandelwalA12-Aug-09 21:41
KhandelwalA12-Aug-09 21:41 
AnswerRe: Ajax Tab Container Pin
mylogics12-Aug-09 23:55
professionalmylogics12-Aug-09 23:55 
Questiongridview paging problem Pin
ptvce12-Aug-09 21:36
ptvce12-Aug-09 21:36 
AnswerRe: gridview paging problem Pin
Coding C#12-Aug-09 22:18
Coding C#12-Aug-09 22:18 
GeneralRe: gridview paging problem Pin
ptvce12-Aug-09 23:04
ptvce12-Aug-09 23:04 
GeneralRe: gridview paging problem Pin
Coding C#12-Aug-09 23:45
Coding C#12-Aug-09 23:45 
QuestionIs it possible to get the value of previous page view state value in current page? Pin
Lijo Rajan12-Aug-09 21:15
Lijo Rajan12-Aug-09 21:15 
AnswerRe: Is it possible to get the value of previous page view state value in current page? Pin
Coding C#12-Aug-09 21:39
Coding C#12-Aug-09 21:39 
AnswerRe: Is it possible to get the value of previous page view state value in current page? Pin
Christian Graus12-Aug-09 22:51
protectorChristian Graus12-Aug-09 22:51 
QuestionSMTP configure Pin
kavinnagarajan12-Aug-09 20:54
kavinnagarajan12-Aug-09 20:54 
AnswerRe: SMTP configure Pin
Abhijit Jana12-Aug-09 22:50
professionalAbhijit Jana12-Aug-09 22:50 
QuestionStylish buttons and dropdown Pin
greendragons12-Aug-09 20:17
greendragons12-Aug-09 20:17 
AnswerRe: Stylish buttons and dropdown Pin
Abhishek Sur12-Aug-09 22:05
professionalAbhishek Sur12-Aug-09 22:05 

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.