arraylist problem
| Author | Topic |
|---|---|
| pallavi gandra Member Joined: 14 May 2008 Country: Posts: 2 | Hi HiI have a problem in loading page. It is taking more time to load page. I have "Triggers" object is of type ArrayList.it has hundreds of records. I need to divide "Triggers" object into smaller groups.so that loading time will be improves.Here is the code.pls help me in this. protected void ReloadTriggers() { m_Triggers.Clear(); m_Variables.Clear(); foreach(BaseObjectReference r in ((TriggerConfigList)SelectedObject).Triggers) m_Triggers.Add(new TriggerConfigListItem(r,m_Variables)); DiscoverTriggers(tcl.TriggerGroup); ChangeSnapshots(null); BaseVariable[] bv = m_Variables.GetObjects(typeof (BaseVariable)) as BaseVariable[]; if(Snapshot!=null) SnapshotAsyncGet(bv); } |
Posted: 14 May 2008 22:44:22










