RadWindow performs postback for underlying link buttons

5 posts, 0 answers
  1. VIJAY
    VIJAY avatar
    31 posts
    Member since:
    May 2011

    Posted 26 Feb 2012 Link to this post

    Hi,

    We are having a serious issue with RadWindow, any quick help on this is very much appreciated.

    Scenario:

    We have a aspx page on which there are rad buttons like 'Add', 'Print', 'Filter'. Below these buttons we have a grid placed inside an Asp:UpdatePanel. This grid lists out items and has buttonbound columns which are used for edit/delete funcationality.

    To add a new record we use the 'Add' button displayed above the grid. Upon clicking this button we open up a RadWindow having various fields controls for the user to enter data.

    Now our problem is that Suppose there is a RadComboBox on this RadWindow and the location of the RadComboBox is exactly above the underlying grid's button bound column then instead of showing combo items the grid's edit/delete event gets fired depending on which column of the grid is located exactly below the RadComboBox of the RadWindow.

    I dont understand how can a RadCombo placed on a RadWindow fires a Grid Event for a link on the grid which is located exactly below the RadComboBox . This is very Surprising.


    Waiting for reply from the telerik team as well as people who might have faced this issue before.
  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    4529 posts

    Posted 29 Feb 2012 Link to this post

    Hi Vijay,

    This is some really strange behavior. Are you using the ContentTemplate of the RadWindow to host your popup with the RadComboBox? If so can you please inspect the z-index values the combo box dropdown has as well as any custom positioning your RadButtons may have? Is is possible that they are above the dropdown so actually the click propagates to them? Also, is the grid event triggered when you try to open the combo's dropdown or when you select an item that is above the grid's column? Do you have any server-side handlers attached to the combobox?

    I tried reproducing this scenario by basing it on the Automatic operations grid demo and on the Use as controls container window demo, but things seem to work properly with me and the events are not triggered by the combo: http://screencast.com/t/CNu2iHrSRrx. I am also attaching the modified page as I ran it. Please examine it and try to locate any major differences in the setup with your original page that will help you correct the behavior. If you are not able to do so yourself please post the changes needed to reproduce the issue so we can examine it locally and pinpoint its cause.


    Regards,
    Marin
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. VIJAY
    VIJAY avatar
    31 posts
    Member since:
    May 2011

    Posted 01 Mar 2012 Link to this post

    Hi Marin,
    Thanks for your reply.

    I have attached a snapshot of the issue i am facing.
    Here when i click in the middle of the radcombobox, event associated with the edit link button exactly behind it gets fired.

    Pls let me know if more clarification is needed from my end.

    Thanks in advance.



     
  4. VIJAY
    VIJAY avatar
    31 posts
    Member since:
    May 2011

    Posted 02 Mar 2012 Link to this post

    Hi Marin,

    I found that when i give RadComboBox width in pixel , button behind it are not enabled, but if you give width in percentage, button behind it are enabled .can u tell me about this behaviour





  5. Marin Bratanov
    Admin
    Marin Bratanov avatar
    4529 posts

    Posted 05 Mar 2012 Link to this post

    Hi Vijay,

    As I stated earlier - this is not behavior we are familiar with and my attempts to reproduce it have not been successful. I also tried with percentage, yet things appear to be working fine with me: http://screencast.com/t/6im43gsZh. Currently my best suggestion is to set the width of your RadComboBox in pixels as it works correctly with you. In case you can reproduce this behavior with my page (attached here again, width set in percent) do send it back with the appropriate modifications (just keep it runnable, please) so we can investigate this further.


    Greetings,
    Marin
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top