Using GridView, Master/Details, Updating, in jQuery tabs

Last post 08-27-2009 1:07 PM by RandyHJ. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 08-27-2009 11:34 AM

    • RandyHJ
    • Top 500 Contributor
    • Joined on 08-27-2009
    • Wannabe Slacker
    • Points 30

    Using GridView, Master/Details, Updating, in jQuery tabs

     

    I am using Klaus' jQuery tabs with four tabs. Each tab loads a gridview based on a column value in a SQL Server 2005 database. I want to be able to select a row and have a FormView or DetailsView appear under the grid in the same tab in order to update additional columns in the same table that are not visible in the gridview above.

    Example:

    Gridview shows FirstName, LastName, Telephone from RequestorTable. Gridview also shows CompanyName, City, State from CompanyTable. Gridview shows FilesRequested, RequestID, RequestDate from RequestTable. Each Tab shows the same columns based on the value of the Approved column in the RequestTable and each row is selectable.

    When a user selects a row in the Gridview, I want an editable details view to appear below the GridView in the same tab. This new details view will allow me to update several columns in the RequestTable returned by the SQL DataSource but not shown in the original GridView.

    I would appreciate any help anyone can give me with this. I am new at web development (10 months experience) and a novice at Javascript, AJAX, and ASP.NET. Thanks

     

  •  Advertisement

    Featured Advertisement

     
  • 08-27-2009 11:37 AM In reply to

    • Sonu
    • Top 10 Contributor
    • Joined on 05-22-2006
    • Montreal / Canada
    • Slacker
    • Points 12,183
    • MVP

    Re: Using GridView, Master/Details, Updating, in jQuery tabs

    What have you coded so far for this?

    [MVP since 2005] [MCAD]
    Webmaster of DotNetSlackers
    Question or Suggestion?
    Feel free to ask my any .NET question
    Our Posting FAQ
  • 08-27-2009 11:44 AM In reply to

    • Sonu
    • Top 10 Contributor
    • Joined on 05-22-2006
    • Montreal / Canada
    • Slacker
    • Points 12,183
    • MVP

    Re: Using GridView, Master/Details, Updating, in jQuery tabs

    Sorry, I did not read your post properly. Based on what I understood I assume that the problem is that the gridview does not show the update rows. In that case are you rebinding the GridView again after the Update?

    [MVP since 2005] [MCAD]
    Webmaster of DotNetSlackers
    Question or Suggestion?
    Feel free to ask my any .NET question
    Our Posting FAQ
  • 08-27-2009 1:00 PM In reply to

    • RandyHJ
    • Top 500 Contributor
    • Joined on 08-27-2009
    • Wannabe Slacker
    • Points 30

    Re: Using GridView, Master/Details, Updating, in jQuery tabs

    sonu:

    What have you coded so far for this?

     

     I have the tabs displaying the GridViews, but right now the columns are autogenerated and I don't think that is what I want.

  • 08-27-2009 1:07 PM In reply to

    • RandyHJ
    • Top 500 Contributor
    • Joined on 08-27-2009
    • Wannabe Slacker
    • Points 30

    Re: Using GridView, Master/Details, Updating, in jQuery tabs

    Sonu:

    Sorry, I did not read your post properly. Based on what I understood I assume that the problem is that the gridview does not show the update rows. In that case are you rebinding the GridView again after the Update?

     

     The problem actually is that I am having to learn this as I go. :)

    I don't want the first GridView to show the update columns, I only want those to show on a details view below when the row is selected.

    Thanks,

    Randy

Page 1 of 1 (5 items)