I am trying to build a page that has a RadGrid, some dropdowns, and a RadChart. When the page loads, the data is read from the backend CRM system and used to populate the grid and the drop-downs (which are Start Date, End Date, and Chart Type), and then the idea is for the user to select a Start Date, an End Date, and the Chart Type, and then the chart is supposed to render from the CRM data.
The issue is that when the selection is made from one of the drop downs, the autopostback occurs and either clears the dropdowns, or they retain the data but sloe whatever selection the user made.
I have tried putting the Grid in one UpdatePanel and then the drop-downs and charts in another, but that didn't work. I also tried putting each drop-down in it's own UpdatePanel and the chart in another, and then the drop-down retained the selection, but the OnSelectedIndexChanged did not fire. I was initializing the CRM connection and reading the data from CRM in Page_Load, but then I realized that means this happens on every postback. When I put if (!IsPostback) around the data read, then when a selection was made from a drop-down and postback fired, all the data disappeared.
Can anyone make a suggestion and/or point me at documentation that can help me with this? The functionality I need is
Read the CRM data, populate the drop-downs, render the grid
Enable Grid paging
From the drop-downs, User selects Start Date, End Date, and Chart Type, and then either from ChartType_OnSelectedIndexChanged or a button, the chart renders from the CRM data read at the start.
Thanks in advance for any and all help.