RadFormDecorator and RadGrid Issue (GridButtonColumn image not displayed)

5 posts, 0 answers
  1. AndreaT
    AndreaT avatar
    27 posts
    Member since:
    Sep 2007

    Posted 21 Aug 2008 Link to this post

    Hi,

    In a master/content page website I have a content page which hosts a RadFormDecorator, used to docorated a search panel and a RadGrid. The grid has Vista skin. The grid has a classic GridButtonColumn:

    <telerik:GridButtonColumn ConfirmText="ELIMINARE l'elemento Selezionato?"  
                        ButtonType="ImageButton"  
                        ImageUrl="~/admin/images/Delete.gif"  
                        CommandName="Delete" Text="Elimina Elemento" 
                        UniqueName="DeleteColumn"
            <ItemStyle HorizontalAlign="Center" /> 
        <HeaderStyle Width="30px" /> 
    </telerik:GridButtonColumn> 

    when th page is first loaded the images are not displayed. The images are displayed back if I select a row or an ajaxified refresh is forced.

    I removed the decorator and the images are displayed properly.

    Any advice?

    Thank you
    Lorenzo
  2. Leon
    Leon avatar
    373 posts
    Member since:
    Apr 2007

    Posted 21 Aug 2008 Link to this post

    Lorenzo,

    Is this the latest Q2 2008 version you are running? I remember Telerik announced better integration with the FormDecorator control with that version.

    Otherwise, you can work-around the problem through decorating zones:

    http://www.telerik.com/demos/aspnet/prometheus/FormDecorator/Examples/DecorationZoneID/DefaultCS.aspx

    or by excluding the image buttons from the decorated controls.

    Thanks,
    ~Leon
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. AndreaT
    AndreaT avatar
    27 posts
    Member since:
    Sep 2007

    Posted 22 Aug 2008 Link to this post

    No way, Leon. Seems that RadFormDecorator is incompatible with radgrid. I tried all of possible combinations, but I does not work.

    Moreover I found that hitting the browser refresh button RadFormDecorator-RadGrid combination raise a javascript error:

     function Sys$WebForms$PageRequestManager$remove_pageLoaded(handler) { 
            var e = Function._validateParams(arguments, [{name: "handler", type: Function}]); 
            if (e) throw e; 
     
            this._get_eventHandlerList().removeHandler("pageLoaded", handler); 
        } 

    Lorenzo
  5. Kiara
    Kiara avatar
    309 posts
    Member since:
    Jul 2006

    Posted 22 Aug 2008 Link to this post

    Lorenzo, try out whether using decoration zones and excluding the grid from those zones styles by RadFormDecorator is applicable workaround for your case.

    Kiara
  6. AndreaT
    AndreaT avatar
    27 posts
    Member since:
    Sep 2007

    Posted 23 Aug 2008 Link to this post

    Kiara,

    the workaround does not work. I think it is a bug and i will open a support ticket.

    Lorenzo
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017