Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / March 2008

Tip: Looking for answers? Try searching our database.

Refresh GridView from another page

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
David C - 18 Mar 2008 20:09 GMT
I have an aspx page with a GridView named gvTasks that has a linkbutton on
each row that calls up another pop-up window using the following js
function:

   function openTask(id, coid)
   {
       var surl = "TaskEdit.aspx?id=" + id + "&coid=" + coid;
       void
window.open(surl,null,"height=400,width=600,status=yes,toolbar=no,menubar=no,location=no");
       return false;
   }

Since that pop-up page changes data I would like to have the GridView
refreshed when I close the TaskEdit.aspx pop-up window.  Is there any way to
do this in asp.net?  Thanks.

David
Stan - 18 Mar 2008 20:48 GMT
> I have an aspx page with a GridView named gvTasks that has a linkbutton on
> each row that calls up another pop-up window using the following js
[quoted text clipped - 13 lines]
>
> David

How about using the Server.Transfer()  method from TaskEdit.aspx to
call the host page for gvTasks?
David C - 18 Mar 2008 21:52 GMT
How would that help?  Remember, the opener page (with GridView) stays active
during this whole time so how could I do a Server.Transfer to an already
open web page?  Thanks.

David
On 18 Mar, 19:09, "David C" <dlch...@lifetimeinc.com> wrote:
> I have an aspx page with a GridView named gvTasks that has a linkbutton on
> each row that calls up another pop-up window using the following js
[quoted text clipped - 14 lines]
>
> David

How about using the Server.Transfer()  method from TaskEdit.aspx to
call the host page for gvTasks?

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.