Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
470
Strange Behavior
posted

I have a Web Data Grid on a warp on a web page that has an ASP.Net master page.  When the page loads the gird gets loaded with data in the InitializeDataSource event by setting the Grid.Datasource = Dataset.  When the grid loads it seems the have the wrong fonts and I had set the CellClickAction to RowSelect which doesn't take affect. However, when the grid is refreshed through AJAX(I click a refresh button and the warp is refreshed) the font changes to the correct font and CellClickAction = RowSelect is then working. Granted I am a winforms developer learning ASP.Net but this just isn't making sense to me. I have checked the font on the grid and in the master page and they are set to what I want but the grid seems to ignore that on the initial loading of data. Any ideas of where to look next?

Thanks for your time.

Steve

  • 470
    Offline posted

    I originally had EnableAppStyling = true and it was set to Office2007Black. I set EnableAppStyling = false and not the font is correct and it will allow set the CellClickAction = RowSelect to be active on the initial load. Why would the AppStyling affect the CellClickAction property? Any comments? Anyone?