or
private void filtersSerialization(){ var param = new FindParam(FindType.Content, "p:My Solutions Ltd", new[] { "onclick=~document.getElementById('cancel_return').value = '1';"}); var paramCol = new FindParamCollection { { "Sample", param } }; paramCol.Save(@"d:\AppParams.xml");}<FindParamItem key="Sample" ><FindParam TagName="a" XPath="" NodeIndexPath="" Type="Content" ContentType="TextContent"ContentValue="p:My Solutions Ltd" TagOccurrenceIndex="-1" ><Attributes /><PartialAttributes><iAttribute Name="onclick" Value="document.getElementById('cancel_return').value = '1';" /></PartialAttributes></FindParam></FindParamItem><iAttribute Name="onclick" Value="document.getElementById(\'cancel_return\').value = \'1\';" />app.RefreshVisualTrees();
app.VisualTree.Refresh();
app.Popups[0].VisualTree.Refresh();
Please help me its urgent.....
Thanks in advance
ComboBox cmbBox = app.Find.ByType<ComboBox>();
IList<TextBlock> blocks = cmbBox.Find.AllByType<TextBlock>();
IList<ComboBoxItem> items= cmbBox.Items;
IList<ComboBoxItem> cmbItems = cmbBox.Find.AllByType<ComboBoxItem>();
IList<FrameworkElement> cmbFrameworkItems = cmbBox.Find.AllByType("ComboBoxItem");
Thanks
Kiran
var fileDialog = new FileUploadDialog(ab, toAbsPath(testImage), DialogButton.OPEN);mgr.DialogMonitor.AddDialog(fileDialog);mgr.DialogMonitor.Start();