PanelBar Icon and grid problem

2 posts, 0 answers
  1. Erwin
    Erwin avatar
    74 posts
    Member since:
    Apr 2009

    Posted 26 Aug 2009 Link to this post

    I have a panelbar and I want to put an icon that id bigger than the panel. I would like to make the icon overlap the panelbar. It should look like this:

      |----|

    |-|icon|-------------------|

    | |----|  Panelbar         |

    |--------------------------|

    |                          |

    |                          |

    |                          |

    |--------------------------|

     

    Here the icon overlaps the panelbar. I have tried setting big icons but the panelbar will adjust its size to fit the icon to its size..

    Second problem..Grid inside the panel.

    How can I get the event of the grid inside the panel since in my VB the only companent seen is the panel. I know how to initialize the grid by using this code:

     

        Private _GrdAttachments As RadGrid

     

            _GrdAttachments = DirectCast(PanelAddAttachments.FindItemByValue("panelattachments").FindControl("GrdAttachments"), RadGrid)

     

            _GrdAttachments.DataSource = datasource

     

     

    But I don’t know how to cupture its events like onPrerender and onNeedDataSource

  2. Paul
    Admin
    Paul avatar
    4281 posts

    Posted 26 Aug 2009 Link to this post

    Hello Erwin,

    Unfortunately, you cannot have an image in the item that will overlap the panelbar.

    Best wishes,
    Paul
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top