开发者

Asp.Net gridview customization

If you go to http://ifdefined.com/btnet/bugs.aspx you will see a long list of sample data in an asp.net gridview control. What I need to do is something similar. I need to implement the filter开发者_运维百科ing system by placing dropdown controls with dynamic values on the headers and then filter the record according to them.

If you look carefully they are filtering the data based on multiple drodown selections as well.

Kindly help me out. Any kind of input is highly appreciated.

Thanks in advance for your time.


You can:

  1. set the dropdownlists to autoPostback=true
  2. Reload the data in the Dropdownlist selectionChnaged event. Give the gridview a new dataset with the applied filter and call DataBind()
  3. Place the griview + Dropdownlist into an UpdatePanel for ajax functionality
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜