This is a migrated thread and some comments may be shown as answers.

RadWindow performs postback for underlying link buttons

4 Answers 73 Views
Window
This is a migrated thread and some comments may be shown as answers.
VIJAY
Top achievements
Rank 1
VIJAY asked on 27 Feb 2012, 05:26 AM
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.

4 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 29 Feb 2012, 02:06 PM
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.
0
VIJAY
Top achievements
Rank 1
answered on 01 Mar 2012, 03:34 PM
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.



 
0
VIJAY
Top achievements
Rank 1
answered on 02 Mar 2012, 10:52 AM
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





0
Marin Bratanov
Telerik team
answered on 05 Mar 2012, 12:25 PM
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.
Tags
Window
Asked by
VIJAY
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
VIJAY
Top achievements
Rank 1
Share this question
or