I am creating a raddock dynamically in the following manner.
Upon a postback enabled button click I am trying to cycle through all the raddocks in a dock zone. In the following manner.
The issue I am having is unless the raddock set to AutoPostback=true, the Raddock cannot be found in the dockzone. I do not want to do a post back everytime I move the raddock from dockzone to dockzone, what am I doing wrong?
RadDock dock=new RadDock(); dock.DockMode = DockMode.Docked; dock.ID= string.Format("RadDock{0}", Guid.NewGuid().ToString().Replace('-', 'a')); dock.Tag=panelID+","+controlType; dock.Title=panelTitle; dock.Text=panelDescription; dock.Width=Unit.Percentage(100); dock.Commands.Add(new DockExpandCollapseCommand());Upon a postback enabled button click I am trying to cycle through all the raddocks in a dock zone. In the following manner.
foreach(RadDock dock in dockzone.Docks) { source=dock.Tag; parsed=source.Split(','); panelid=parsed[0]; paneltype=parsed[1]; WorkspacePanel.PanelID=Convert.ToInt32(panelid); WorkspacePanel.PanelLocation=panellocation; WorkspacePanel.WorkspaceID=workspaceid; }//End For-EachThe issue I am having is unless the raddock set to AutoPostback=true, the Raddock cannot be found in the dockzone. I do not want to do a post back everytime I move the raddock from dockzone to dockzone, what am I doing wrong?