I have a grid with 3 columns in list box item. There is a text block which bind with some json data. Based on data I want to show dynamic columns
with bind data. No of columns depend on story data. Here is my code.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
ramya bharathRank #3,780 · 391 reputationPosted Oct 6, 2015, 7:33 PM EDT
Kul Bhooshan115 reputationPosted Oct 7, 2015, 8:34 PM EDT
ramya bharathRank #3,780 · 391 reputationPosted Oct 8, 2015, 8:06 PM EDT
http://www.aspsnippets.com/Articles/Dynamically-add-BoundField-and-TemplateField-Columns-to-GridView-in-ASPNet.aspx
In the above example before adding the field add a onchange event trigger to the required field and call the perform the function in event handler