I want to use modalpop extender to do complex insert functionality, should I use webservice?

Last post 07-31-2008 3:08 PM by bmains. 3 replies.

Sort Posts:

  • I want to use modalpop extender to do complex insert functionality, should I use webservice?

    07-31-2008, 12:29 PM
    • Member
      465 point Member
    • arnololo
    • Member since 11-05-2002, 9:38 AM
    • Posts 173

    Hello,

    I have a pretty big GridView with about 13 columns. The current insert functionality is done through a popup window, I would like to change that to a modalpopup.
    My issue is that my current insert popup is pretty complex with severals dropdownlist which generate postback when index is changed in order to re-populate the other dropdownlist. I also have a search function with a combo type ahead.

    In term of performance, should I use a web-service for the modalpop to handle all of my insert functionality or should I just have all the code in the page that contains the modalpopup extender?

    Thanks

  • Re: I want to use modalpop extender to do complex insert functionality, should I use webservice?

    07-31-2008, 12:57 PM
    • All-Star
      28,061 point All-Star
    • bmains
    • Member since 10-22-2004, 8:20 AM
    • Posts 5,654
    • TrustedFriends-MVPs

    Hey,

    You could put a formview or detailsview in the modal popup and get that to work that way.  For drop down lists, check out the CascadingDropDownExtender, as that might help.  You could wrap this in an updatepanel too, to postback asynch, or if you like you could use web services, which requires more JavaScript coding effort.

    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: I want to use modalpop extender to do complex insert functionality, should I use webservice?

    07-31-2008, 1:04 PM
    • Member
      465 point Member
    • arnololo
    • Member since 11-05-2002, 9:38 AM
    • Posts 173

    Thanks for your suggestions, but in term of performance, should I use a webservice instead?
    Thanks

  • Re: I want to use modalpop extender to do complex insert functionality, should I use webservice?

    07-31-2008, 3:08 PM
    Answer
    • All-Star
      28,061 point All-Star
    • bmains
    • Member since 10-22-2004, 8:20 AM
    • Posts 5,654
    • TrustedFriends-MVPs

    From the performance perspective, yes probably it is.

    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).
Page 1 of 1 (4 items)