CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2006
    Posts
    141

    ASP.net display data issue

    Hi, I have an issue in managing data to be display in the web page.
    The scenario is below:

    Parent page
    drop down list
    grid view - data is control by drop dropdownlist selection

    Pop up page
    When user click on the item in grid view , this pop up page will be displayed.
    User are able to make changes in this pop up page where his changes will be displayed automatically when user close the pop up page.


    My problem is when i use
    window.opener.location.reload();
    the whole parent page is reloaded.
    What i want is the data in the gridview is refreshed but the dropdownlist is not refresh.
    By this user can only see clearly on what they do.
    Anybody has idea on this or better suggestion in handling this kind of data display?

  2. #2
    Join Date
    Jul 2000
    Location
    Milano, Italy
    Posts
    7,726

    Re: ASP.net display data issue

    if you want partial refresh, you should go with ajax.
    Take a look at scriptManager component (you should have if you use framework 3.0 and above)
    Else you could try with async page
    ...at present time, using mainly Net 4.0, Vs 2010



    Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
    all the other wonderful people who made and make Codeguru a great place.
    Come back soon, you Gurus.

  3. #3
    Join Date
    Nov 2007
    Location
    .NET 3.5 / VS2008 Developer
    Posts
    624

    Re: ASP.net display data issue

    You should also look into using the ModalDialogExtender, instead of opening an entirely new window. It makes it MUCH easier to get the data from the "popup". It even allows you to run server-side code when the "popup" is dismissed to process the data.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured