Click here to Skip to main content
15,890,282 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionhow to reach a UserControl by a Repeater??? Pin
Deeloc7-Aug-07 4:34
Deeloc7-Aug-07 4:34 
AnswerRe: how to reach a UserControl by a Repeater??? Pin
ToddHileHoffer7-Aug-07 7:49
ToddHileHoffer7-Aug-07 7:49 
QuestionRetaining the dynamic controls Pin
sathyanarayanan_v047-Aug-07 4:02
sathyanarayanan_v047-Aug-07 4:02 
AnswerRe: Retaining the dynamic controls Pin
bit_cmdr7-Aug-07 5:42
bit_cmdr7-Aug-07 5:42 
QuestionNo connection could be made because the target machine actively refused it Pin
Daniel_Logan7-Aug-07 4:01
Daniel_Logan7-Aug-07 4:01 
GeneralRe: No connection could be made because the target machine actively refused it Pin
Guffa7-Aug-07 4:41
Guffa7-Aug-07 4:41 
QuestionPaging in a DataList Control Pin
postmaster@programmingknowledge.com7-Aug-07 4:00
postmaster@programmingknowledge.com7-Aug-07 4:00 
QuestionGridview Rowcommand - Javascript (window.open) Pin
Md Arif7-Aug-07 3:32
Md Arif7-Aug-07 3:32 
Hi,
I am having linkbuttons using buttonfield column. grid gets diplayed and when click the linkbutton to open new window using window.open(Javascript)in rowcommand.every thing works fine.

Issue is:
1.when I first time I click the linkbutton on the grid - opens a page A in new window(window.open).
2.when I second time I click the another linkbutton on the grid - opens a page B in new window(window.open).
3.Then I click the back button on the browser of main window(parent window where the grid is) - now It automatically opens up the page A , Which I dont expect.

Please let me know how to avoid the window that get opened up when I go back on the browser.
For your Information I Paste the code I use.

Linkbutton column:

<asp:buttonfield commandname="proj_no" datatextfield="proj_no" headertext="Project No."
="" text="Button">
<itemstyle cssclass="ca_item_proj">
<headerstyle cssclass="ca_header_border">


Rowcommand:

If e.CommandName = "proj_no" Then
Dim i As Integer = Convert.ToInt32(e.CommandArgument)
Dim ctrl As Control = gv_tdlist.Rows(i).Cells(0).Controls(0)
Dim proj_no As String
proj_no = CType(ctrl, LinkButton).Text
Session("projectno") = proj_no
Response.Write("javascript:window.open('LinkAspApp.aspx','','scrollbars=yes,menubar=yes,height=600,width=800,resizable=yes,toolbar=yes,location=yes,status=yes');")
endif


I think this occurs due to Child windows gets cached in the memory of parent
window, so when we go back in the parent window it automatically opens the child windows that were opened before.

Thanks
Mohamed
AnswerRe: Gridview Rowcommand - Javascript (window.open) Pin
Imran Khan Pathan7-Aug-07 3:53
Imran Khan Pathan7-Aug-07 3:53 
QuestionAbout SQL server reporting Pin
SNSDeveloper7-Aug-07 3:04
SNSDeveloper7-Aug-07 3:04 
Questionhow can i check the hperlinks in PDF using .Net 2.0 Pin
koolprasad20037-Aug-07 2:30
professionalkoolprasad20037-Aug-07 2:30 
QuestionResolveAssemblyReference Exception Pin
ali bagheri7-Aug-07 2:09
ali bagheri7-Aug-07 2:09 
AnswerRe: ResolveAssemblyReference Exception Pin
Vasudevan Deepak Kumar7-Aug-07 2:11
Vasudevan Deepak Kumar7-Aug-07 2:11 
QuestionDisplaying data on gridview using ASP.NET AJAX Pin
Mamphekgo Bahula7-Aug-07 1:38
Mamphekgo Bahula7-Aug-07 1:38 
AnswerRe: Displaying data on gridview using ASP.NET AJAX Pin
Vasudevan Deepak Kumar7-Aug-07 2:12
Vasudevan Deepak Kumar7-Aug-07 2:12 
GeneralRe: Displaying data on gridview using ASP.NET AJAX Pin
Mamphekgo Bahula7-Aug-07 2:24
Mamphekgo Bahula7-Aug-07 2:24 
GeneralRe: Displaying data on gridview using ASP.NET AJAX Pin
Vasudevan Deepak Kumar7-Aug-07 3:07
Vasudevan Deepak Kumar7-Aug-07 3:07 
QuestionHow to insatll cdo.dll Pin
attalurisubbu7-Aug-07 1:34
attalurisubbu7-Aug-07 1:34 
AnswerRe: How to insatll cdo.dll Pin
Vasudevan Deepak Kumar7-Aug-07 1:42
Vasudevan Deepak Kumar7-Aug-07 1:42 
Questionhow to create aspx page from another aspx page dynamically Pin
santoshkumarB7-Aug-07 1:15
santoshkumarB7-Aug-07 1:15 
AnswerRe: how to create aspx page from another aspx page dynamically Pin
Christian Graus7-Aug-07 1:21
protectorChristian Graus7-Aug-07 1:21 
GeneralRe: how to create aspx page from another aspx page dynamically Pin
Malcolm Smart7-Aug-07 1:27
Malcolm Smart7-Aug-07 1:27 
GeneralRe: how to create aspx page from another aspx page dynamically Pin
santoshkumarB7-Aug-07 1:28
santoshkumarB7-Aug-07 1:28 
AnswerRe: how to create aspx page from another aspx page dynamically Pin
Vasudevan Deepak Kumar7-Aug-07 1:49
Vasudevan Deepak Kumar7-Aug-07 1:49 
AnswerRe: how to create aspx page from another aspx page dynamically Pin
Mircea Grelus7-Aug-07 3:26
Mircea Grelus7-Aug-07 3:26 

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.