I am using the Excel Copy Paste example as shown in the sample. The only difference is I am using a mster page, have an AJAX list searcher on the page.
https://ko.infragistics.com/samples/aspnet/data-grid/clipboard
When the page loads I can see the grid but when I select the drop down, page refreshes and the ultrawebgrid loses it style and has the selectedtabstyle applied to the whole grid (gwtTabSelectedBlack2k7)
When I hover my mouse over the sheets, the grid is visible again sometimes. I am trying to figure out this for couple of days but without any luck, please help.
How are you setting the style, in your web.config, code behind and/or via javascript?
In the aspx page as shown below:
="igwtTabHoverBlack2k7">
>
="14"
/>
="igwtTabSelectedBlack2k7">
Do you have this in your web.config? Also do you have the css files in your directory and what not?<infragistics.web styleSetName="Office2007Black" styleSetPath="~/ig_res" enableAppStyling="true" />
I don't have that in my web config. I added the css files which were given as part of sample in my project and also have my other css files along with it..
Do I need to add that line?
If I right click on the grid, context menu shows up along with the grid. So is there a script in context menu click which renders the grid. Maybe I can call explicitly this ocde whenever page refreshes.
thanks
You can normally do that yes I just find it is easier to use app styling to handle all this stuff for you (it does it very well)... Inside Visual Studio if you click on the Tools menu and select Application Syling Configuration you can import Office2007Black which is what I think you are using and set it as the default it will add all the files and references for you.
Give that a shot real quick and remove your IG_CSS files from the example and tell me what happens.
np
Thanks so much. it worked. My nightmare of 3 days is over. Thanks to you.