Hello,
I use RadGird in my customized web control and there are two functions are conflicting on property "EnableColumnsViewState", one function is "Multi-column filtering", this function need property "EnableColumnsViewState" set to true. another function is "Changing the grid structure dynamically", let me explain this function more clearly: for example, if you open a grid which include three columns and when you do some searching(AJAXly) on it, the result will be returned only include one column, so in this Ajax request grid's structure is changed dynamically, if property "EnableColumnsViewState" set to true I will meet error like:
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
If I set "EnableColumnsViewState" with false, the search function will normal.
Please give me some advice.
thanks,
LP
I use RadGird in my customized web control and there are two functions are conflicting on property "EnableColumnsViewState", one function is "Multi-column filtering", this function need property "EnableColumnsViewState" set to true. another function is "Changing the grid structure dynamically", let me explain this function more clearly: for example, if you open a grid which include three columns and when you do some searching(AJAXly) on it, the result will be returned only include one column, so in this Ajax request grid's structure is changed dynamically, if property "EnableColumnsViewState" set to true I will meet error like:
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
If I set "EnableColumnsViewState" with false, the search function will normal.
Please give me some advice.
thanks,
LP