Hi,
I have a Telerik Rad Grid and it has Export to excel functionality implemented in it .I am able to export to excel witt out any formatting options.
Now I want to add formatting into excel sheet which is being exported.
I am using telerik rad grid built in method to apply the formatting in Excel.
ie : ExcelMLExportStylesCreated , ExcelMLExportRowCreated
with this method I am unable set the background color to alternating item in excel file.
I want to give back ground color to alternating rows in excel sheet.
Attached image is the result i wanted
Please help me
Thanks,
A2H
<span class="navigation">first line<br /></span><span class="body_text_Heading">second line<br /></span><span class="main">third line<br /></span>and an image<br /><img alt="" src="cid:UniqueID1" /><telerik:RadComboBox runat="server" ID="selJobTitles" DataTextField="DisplayText" DataValueField="JobTitleID" Width="95%" CheckBoxes="true" EnableCheckAllItemsCheckBox="true" EmptyMessage="No Job Titles Selected!" EnableEmbeddedSkins="false" Skin="KMBlack" OnItemDataBound="selJobTitles_ItemDataBound" OnClientDropDownClosed="FlushDropdownCheckboxCache"> <Localization AllItemsCheckedString="All Job Titles" CheckAllString="Check All Job Titles" ItemsCheckedString="Job Title(s) Selected" /></telerik:RadComboBox>function FlushDropdownCheckboxCache(s) { btnHdnReloadFromChecks.click();}imgBinary.DataValue = ReadFileToBytes(fullName)
imgBinary.SavedImageName = pi.OriginalFileName
FindElementByXPath(element).Click(); seems to work fine when running it in my local machine but then does not work when i try to run the same code
on test controller machine. Actually it runs fine when you see the tests running on the test controller machine and if you minimize the test controller window it fails the test. The application uses telerik rad grids. I have implemented a code to right click on grid header. After right clicking on the grid header i am supposed to click on Reset Columns from the context menu. But in this case FindElementByXPath(resetElement).Click(); does not work. It works
when you view it but does not work when minimize the mstsc window.The error shown is Open.QA.Selenium.ElementNotVisibleException: Cannot
click on element. It is able to find the element but can't click on it.
How do I solve this ??