Datagrid to Excel, catch System.Web.HttpException

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Erik

    #1

    Datagrid to Excel, catch System.Web.HttpException

    Good Morning,

    I am exporting a datagrid to Excel using HtmlTextWriter. Is there a way to catch the System.Web.Http Exception when the application is trying to write the button columns of the datagrid? Or, is there a way to exclude the two button columns from the HtmlTextWriter?

    Thank you,
    Erik
Working...