Ask a Question related to ASP.NET General, Design and Development.
-
Arjen #1
Validator does'nt work!
Hello,
Here is my file input field:
<INPUT id="ImageFileUpload" style="WIDTH: 353px" type="file"
name="XmlFileUpload" runat="server" width="300" cssclass="NormalTextBox">
Here is my validator:
<asp:RequiredFieldValidator Display="Static" id="RequiredSrc" runat="server"
ControlToValidate="ImageFileUpload" CssClass="NormalRed" />
I select a file and the validator comes with the error messeage.
Why??? It only should do the when there is no file selected!
Can somebody help me?
Thanks!
Arjen Guest
-
application does'nt load
Hello The following server-side script is saved as chooseflv.asc in a folder named chooseflv on the server side. I also created a streams folder... -
Win2003 Does'nt See Multiprocessors
I just installed Win2K3 Ent. Server on a quad CPU Compaq Proliant 6500 server. During boot-up the BIOS reports all four CPUs with their speed and... -
"Select" & "Order By" OK- ''WHERE'' Does'nt Work !
Before i post actual code, as i need a speedyish reply. Can i first ask if anyone knows off the top of their head, if there is a likely obvious... -
Why IO#readlines does'nt accept a Regexp?
as in the subject, I just noticed that readlines just accepts a string as line Separator, and I wonder why it works this way. Some explanations? ... -
WHENEVER SQLERROR does'nt always work
On 26 Jun 2003 05:09:48 -0700, ni4ni@hotmail.com (Guy) wrote: Why catch parsing errors? Your scripts are static aren't they? Just correct the... -
Leeor Geva #2
Re: Validator does'nt work!
I believe
<asp:RequiredFieldValidator
will only work with an
<asp:TextBox
and not your HTML <Input
This is also because you can use the validator in code-behind.
-Leeor
"Arjen" <boah123@hotmail.com> wrote in message
news:bgemu1$j40$1@news2.tilbu1.nb.home.nl...runat="server"> Hello,
>
> Here is my file input field:
> <INPUT id="ImageFileUpload" style="WIDTH: 353px" type="file"
> name="XmlFileUpload" runat="server" width="300" cssclass="NormalTextBox">
>
> Here is my validator:
> <asp:RequiredFieldValidator Display="Static" id="RequiredSrc"> ControlToValidate="ImageFileUpload" CssClass="NormalRed" />
>
> I select a file and the validator comes with the error messeage.
> Why??? It only should do the when there is no file selected!
>
> Can somebody help me?
>
> Thanks!
>
>
Leeor Geva Guest



Reply With Quote

