|
by: Do |
last post by:
Hi,
Has anybody run into problems with Page.IsValid?
My errors show up when the fields aren't filled correctly, but my
processing continues even if the page is invalid.
I leave name and description blank and I do get the error messages. But
the code still continues to run the addfolder method from my class.
Is there something wrong with this?
|
by: Martin |
last post by:
Dear Group
It says in MSDN that a field can be associated with more than one
validators but can one validator be associated with more than one
field? Or do I need a validator for each field? How does it work?
Using Handlers?
Thanks for your efforts!
Martin
|
by: Sam Collett |
last post by:
Is there a way of having a required field validator check to see if at
least one of a set of controls has information in it? I'm sure this can
somehow be done using a custom validator, but would like a validator
that worked like as a custom tag:
<MyValidator:MultipleRequiredFieldValidator
ControlsToValidate="TextBox1,TextBox2,TextBox3" ErrorMessage="You did
not fill in one of the required fields: TextBox1,TextBox2,TextBox3"...
|
by: pmud |
last post by:
Hi,
I have an ASP.Net web page . The page was working fine until I added a
required field field validator. My page has a link button which takes the
user to another page, a submit button which takes the values of the text
boxes & puts them into an SQL database.
After adding the required field validator, when I click any button, (be it
submit button ot link button or any other button), it shows the required
field validator's TEXT i.e...
|
by: bcutting |
last post by:
I have a control which inherits from TextBox and supplies some
additional data functionality. I was hoping to include a boolean flag
"Required" that can be set in the designer. When the flag is set to
True the control should include a RequiredFieldValidator for itself.
No matter how I add the validator within the control it never seems to
show up in the page.
protected override void CreateChildControls()
{
if(m_bRequiredField)
|
|
by: tshad |
last post by:
Can you use a Required Validator on a CheckBoxList?
You can on a RadioButtonList.
But when I try on my CheckBoxList I get the error:
Control 'RFPServiceTypes' referenced by the ControlToValidate property of
'ServiceTypesCheck' cannot be validated
<asp:CheckBoxList id="RFPServiceTypes" CellPadding="0" CellSpacing="0"
|
by: Jeff Stewart |
last post by:
I need a thread to run a subroutine which updates my main form's
progress bar. I've properly marshaled all UI updates to the main UI
thread, and after the main thread starts the worker thread, it waits
for the worker thread to complete by means of a while t.isAlive,
sleep(0) mechanism. But when my worker thread calls my
UpdateProgressBar routine, which calls Me.Invoke, the invoke call
blocks forever. But I can't figure out why the main...
|
by: uttara |
last post by:
Hello All,
I was trying to validate an XML document against a XSD which works
fine. Then I tried to put in a version attribute on the root element and
set it to a fixed value of '1.0' in the schema. Guess what? The
validator completely ignores the attribute inspite of the fact that I
have set the attribute to be required and to have a fixed value of '1.0'.
Any ideas why that could be happening. Any help is appreciated.
Uttara
|
by: Thomas Due |
last post by:
Hi,
I have a class which monitors a TCP socket. This will on occasion raise an event which can be handled by a GUI.
Now, I am aware of the
if(InvokeRequire) {
EventHandler d = new EventHandler();
Invoke(d, new object{sender, e});
} else {
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|