Ticket Q326154
Visible to All Users

ASPxRadioButton - The "Invalid postback or callback argument" exception is raised if the ASPxRadioButton.GroupName property and the ID property of a parent Table control have the same value.

created 14 years ago

Hello,
as described in http://www.devexpress.com/Support/Center/p/B183290.aspx and http://www.devexpress.com/issue=B183397 I have a similar problem in using a collection of ASPxRadioButtons grouped by using the property namend GroupName. if I use ASPxCheckbox instead of ASPxRadiobutton, all works fine.
Please, can you check this behavior with radiobuttons?
Thanks in advance!

Show previous comments (1)

    Hello Mike,
    thanks for answer, in creating a sample project I have found the issue. The GroupName of a ASPxRadioButton can't be the same name as the ID of a parent object, the ASPxRadioButtton is child of, in this case a table named "MyTable", the Radiobuttons GroupName = "MyTable".
    I don't know, this is a issue of DevExpress ? Please let me know your meaning. Thanks for your work.

    DevExpress Support Team 14 years ago

      Hello Guido,
      Thank you for your reply.
      I think the issue has another source. It seems like ASP.NET behavior. I have modified your project to use standard ASP.NET controls instead of ours. The result is the same.
      When you assign a group name to radio buttons, they render the 'name' attribute with this value. The table also has the same value in its 'id' attribute. It seems to us that during page validation, the ASP.NET engine finds the Table control instead of the necessary radio button control with the same name, which causes an exception.
      I have attached the project. Please examine it and if you have other questions, contact us at any time.
      Best regards,
      Vladimir

        Thanks for your work!

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.