Ask a Question related to ASP.NET General, Design and Development.
-
Konrad R. #1
refreshing main window after editing in popup
Hi all
i have 3 popup windows, in which i can add, edit and
delete records from a table, now after user is done, i
want to refresh main window, i am using
window.opener.form1.btnRefresh.click(), and have handler
in codebehind which refreshes dataset, this works. One and
only problem is that this button is visible, and i dont
want user to see this button
i applied btnRefresh {display:none} , but it doesnt work
my button is :
<asp:Button CssClass="cssBtn" ID="btnDSCleaner"
Runat="server"></asp:Button>
are there any better ways of refreshing opener window,
than this javascript tricks ?
or is there any possibility of hiding this button (Visible
attribute is not a solution, because then button would not
be rendered at all), what i want is that there is a
button, but not visible to user
many thanks in adnvace
Konrad R. Guest
-
DataBinding (Refreshing) a DataGrid within a Popup Window
Hello, I'm trying to set up a modal (preferably) popup window to do asimple web service query. The popup window contains somecriteria fields, a... -
How to use popup window editing datagrid items?
Hello all, I have a datagrid bounded with an Arraylist containing contact objects, and a edit button (<asp:imagebutton/>) in each row When I... -
Popup Request Hanging Main Window
I want the user to have the capability to continue browsing the site as they are recieving a file attachment from a popup window, but any requests... -
Refreshing or Redirecting Opener Window
Is it possible to redirect or refresh the contents of Page1 from within Page2 where Page2 was opened by Page1? -
Returning to main movie from popup-window
HI! On my director movie there is a link which opens protected dir-file as a popup-window and from the popup-window is link which opens pdf-file... -
George Ter-Saakov #2
Re: refreshing main window after editing in popup
See if
window.opener.form1.submit();
will work for you.
George.
"Konrad R." <krotuski@_no_sp.am_mion.elka.pw.edu.pl> wrote in message
news:034101c35d21$a27f9500$a401280a@phx.gbl...> Hi all
>
> i have 3 popup windows, in which i can add, edit and
> delete records from a table, now after user is done, i
> want to refresh main window, i am using
> window.opener.form1.btnRefresh.click(), and have handler
> in codebehind which refreshes dataset, this works. One and
> only problem is that this button is visible, and i dont
> want user to see this button
>
> i applied btnRefresh {display:none} , but it doesnt work
> my button is :
> <asp:Button CssClass="cssBtn" ID="btnDSCleaner"
> Runat="server"></asp:Button>
>
> are there any better ways of refreshing opener window,
> than this javascript tricks ?
>
> or is there any possibility of hiding this button (Visible
> attribute is not a solution, because then button would not
> be rendered at all), what i want is that there is a
> button, but not visible to user
>
> many thanks in adnvace
George Ter-Saakov Guest
-
Konrad R. #3
Re: refreshing main window after editing in popup
actually i am keeping my dataset in viewstate, and handler>-----Original Message-----
>See if
>window.opener.form1.submit();
>will work for you.
procedure that handles that button clicks, removes dataset
from viewstate, so when queried next time, it will get
fresh data from database, so it is not the solution in my
case ( i could of course refresh dataset each round-trip,
but think it would be not efficient)
Konrad R. Guest



Reply With Quote

