Hello,We would like to have a predefined view of the grid, and to block the user ability to edit that view (disabling the ability of deleting/draging fields, measures, etc).I saw the example of saving and loading view state. Does there is another serializable way of doing that (we want to load the states from the server)? and is it possible to block the ability of the user to change the view?Thanks,Yaniv
Hi
You can use use code like below to set initial pivot stuff
DataSource = new FlatDataSource(provider) { Cube = DataSourceBase.GenerateInitialCube("ItemBuy"), Rows = DataSourceBase.GenerateInitialItems("[ClassDescription]"), Columns = DataSourceBase.GenerateInitialItems("[StoreName]"), Measures = DataSourceBase.GenerateInitialItems("NumberOfUnits, LYUnits, PlanUnits") };
To prevent user from drag/drop and delete you should edit control template for that area.
RegardsTodor