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
618
How to add a Header Image at runtime
posted

Can anyone help me on how to add a header Image at runtime ?

Parents
No Data
Reply
  • 7694
    posted

    Hello,


    You can use the  UltraWebGrid1.Columns[0].Header.Image.Url and set url of image.  Please take a look  at the sample code below:

      protected void Button1_Click(object sender, EventArgs e)
        {
            UltraWebGrid1.Columns[0].Header.Image.Url = "http://news.infragistics.com/Themes/infragistics/images/status_NotAnswered.gif";
        }

    Hope this helps.

Children
No Data