Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6037259
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T06:02:49+00:00 2026-05-23T06:02:49+00:00

I have a page with a RadioButtonList which should post back when the selection

  • 0

I have a page with a RadioButtonList which should post back when the selection is changed. But because of RequiredFieldValidator on the page, the postback is not happening.
It is working fine on //localhost/ but not after deployment to production server.

The error on the page is:
‘event’ is null or not an object

Line: 126
Char: 5
Code: 0

URI: http://web-dev:90/aspnet_client/system_web/2_0_50727/WebUIValidation.js

A few things which I have already tried:

1) aspnet_client folder is in its proper place.

2) I have added Page.Validate() and if(Page.IsValid){} statements with the button on whose click the validation should happen.

3) The ValidatorCommonOnSubmit function in WebUIValidation.js file looks like this:


   function ValidatorCommonOnSubmit() {
    event.returnValue = !Page_BlockSubmit;
   Page_BlockSubmit = false;
   return event.returnValue;}


Can somebody help me with this? Any help would be appreciated. Thanks!!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T06:02:50+00:00Added an answer on May 23, 2026 at 6:02 am

    you can group the required field validator related controls so that it wont effect the radio button list.

    <asp:RequiredFieldValidator ID="rfv" runat="server" ValidationGroup="button1"
            ErrorMessage="*"></asp:RequiredFieldValidator>
      <asp:Button ID="Button1" runat="server" Text="Button1" ValidationGroup="button1"  />
    

    As far as your radio button list is not grouped under “button1” group, it will not have any problem.

    Details here and here

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an ASP.NET web page with a databound RadioButtonList. I do not know
I have a page that is generated which inserts an HTML comment near the
I have a page upon which a user can choose up to many different
I have a page which spawns a popup browser window. I have a JavaScript
I have a page which does quite a bit of work and I don't
I have a custom control which has a RadioButtonList control in it. On selecting
- I'm using ASP.NET 3.5 . I have a page in which i want
I have a page that add Items to RadioButtonList with this code : Protected
I have a RadioButtonList on my .aspx page and I load it in the
I have two radiobuttonlist and one checkboxlist on the page. Ideally based on the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.