Image button in extreme left of either filter row or Header row of grid.

2 posts, 0 answers
  1. ankool
    ankool avatar
    50 posts
    Member since:
    Apr 2007

    Posted 29 Oct 2008 Link to this post


    I want to place an image button on extreme left of either header row or filter row inside the grid, i.e. at top left of grid.

    Please let me know how to achieve this , if its possible ?


  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 30 Oct 2008 Link to this post


    You can add the ImageButton to the header of the extreme left column in Grid as shown below.

     protected void RadGrid1_ItemDataBound(object sender, Telerik.Web.UI.GridItemEventArgs e) 
            if (e.Item is GridHeaderItem) 
                GridHeaderItem header = (GridHeaderItem)e.Item; 
                ImageButton imgBtn = new ImageButton(); 
                imgBtn.ID = "ImageButton1"
                imgBtn.ImageUrl = "~/Images/Pic3.gif"
                header["columnUniqueName"].Controls.AddAt(0, imgBtn); 

  3. DevCraft R3 2016 release webinar banner
Back to Top