DropDownList CellTemplate w/ Editing/Sorting/Paging

2 replies. Last post: June 22, 2010 2:53 PM by Brad Loveall
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
Brad LoveallMember

We have a scenario where we have a DropDownList in a CellTemplate with values that we would like the user to be able to select. This works just fine, actually, except that when the user sorts or pages or interacts with the grid such that there is a FlyPostback (or full PostBack), the changes are lost. This is different from the behavior in the other cells, where the changed value is retained across Fly and full postbacks. How do we enable such state changes for celltemplates? I looked at the post below and even ran the sample but the sample, despite displaying a grid with the dropdownlist, does not retain the changes when the grid is sorted or paged.

Thanks,

Brad

http://www.intersoftpt.com/Community/WebGrid/How-do-I-initailly-set-the-WebGrid-in-Edit-Mode/

All times are GMT -5. The time now is 8:16 PM.
Previous Next