简体   繁体   中英

How to return the values in a radgrid?

I have a RadGrid which is DataBound to a IDictionary<string,string> where there are 2 GridTemplateColumn containing a textbox, one showing the Key and the other showing the value. The user can the edit these values.

Is it possible to return a IDictionary which contains the all the values in the RadGrid (including the modified values) based on a button click?

This should be possible by extracting the values from the textboxes manually and updating the source IDictionary object accordingly. You may give it a spin to see how it works for you.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM