By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,462 Members | 3,388 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,462 IT Pros & Developers. It's quick & easy.

Regular expression validator is not working inside update panel

P: 49
hi

i have a textbox and regular expression validator control .i have placed these control inside update panel.

just im validating the textbox with regular expression validator control

when i enter wrong data in the text box ,it is not showing error.only after i click the button it is showing the error message.

before placing these controls in update panel,the validation was working

but after placing these inside update panel it is not working unless any button on the page is clicked

can anyone help
Dec 13 '07 #1
Share this Question
Share on Google+
1 Reply


radcaesar
Expert 100+
P: 759
The following ASP.NET controls are not compatible with partial-page updates, and are therefore not supported inside an UpdatePanel control:

--TreeView and Menu controls.
--Web Parts controls. For more information, see ASP.NET Web Parts Controls.
FileUpload controls when they are used to upload files as part of an asynchronous postback.
-- GridView and DetailsView controls when their EnableSortingAndPagingCallbacks property is set to true. The default is false.
-- Login, PasswordRecovery, ChangePassword, and CreateUserWizard controls whose contents have not been converted to editable templates.
--The Substitution control.
--Validation controls, which includes the BaseCompareValidator, BaseValidator, CompareValidator, CustomValidator, RangeValidator, RegularExpressionValidator, RequiredFieldValidator, and ValidationSummary control.
Dec 13 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.