What are my options for data loading?

Last post 10-30-2009 4:25 PM by jhastings_iii. 1 replies.

Sort Posts:

  • What are my options for data loading?

    10-30-2009, 12:56 PM
    • All-Star
      28,061 point All-Star
    • bmains
    • Member since 10-22-2004, 12:20 PM
    • Posts 5,654
    • TrustedFriends-MVPs

    Hello,

    Have a view with 3 partials.  Each uses its own data source, so I have a complicated model object that supplies each view with its data source.  In server-side fashion only (not using AJAX), what are my options for data loading?  Do I have to reload all three and recreate the model on every postback?  Since their isn't any direct ViewState, is my options simply caching it myself in Cache or Session, or creating my own viewstate mechanism?  Keeping in mind any of the three partials could trigger the postbacks too.

    Thanks.

    Brian

    "Trust in the Lord and do what is good; dwell in the land and live securely. Take delight in the Lord, and He will give you your heart's desires" (Psalm 37: 3-4).
  • Re: What are my options for data loading?

    10-30-2009, 4:25 PM
    • Member
      24 point Member
    • jhastings_iii
    • Member since 10-30-2009, 3:19 PM
    • Posts 7

    The only other way I can think of is using Html.RenderAction from the MvcFutures project.

    James
Page 1 of 1 (2 items)