what are the chances of 300 people validating the same control at the same time?

On Wed, Dec 31, 2008 at 3:07 PM, Brandon Betances <[email protected]> wrote:
>
> depends on how fast the server is! lol
>
> On Wed, Dec 31, 2008 at 12:25 PM, Chuck <[email protected]> wrote:
>>
>> I thought a good-practice goal was to hit the server as little as
>> possible, if you could help it, especially if it can be done on client
>> side....  Correct me if I'm wrong though.
>>
>> However, if you have 300 people (or more) constantly hitting the
>> server just to validate stuff, wouldn't that slow the server down?
>>
>> On Dec 30, 4:48 pm, Brandon <[email protected]> wrote:
>>> Or you can use server side validation and just use an if statement on
>>> button click
>>>
>>> Sent from my iPod
>>>
>>> On Dec 30, 2008, at 11:24 AM, Cerebrus <[email protected]> wrote:
>>>
>>>
>>>
>>> > My suggestion *would* be to use the CustomValidator too, but
>>> > especially with the Client script (Javascript). This is typically the
>>> > kind of validation that should not cause a postback and require server
>>> > side validation.
>>>
>>> > Looking for a suitable Javascript may prove to be overkill... this is
>>> > one of the simplest validation scenarios and you should easily be able
>>> > to write the validation function on your own. (assuming basic JS
>>> > skills).
>>>
>>> > On Dec 30, 1:10 am, Chuck <[email protected]> wrote:
>>> >> Try the validation controls.   Look for reference 
>>> >> here:http://quickstarts.asp.net/QuickStartv20/aspnet/doc/ctrlref/validatio
>>> >> ...
>>>
>>> >> I would try to set it up under the custom validator.
>>>
>>> >> I know there's a javascript way to doing it; you might be able to
>>> >> google javascript validation and take it from there.
>>>
>>> >> If I find anything, I'll let you know.
>>>
>>> >> On Dec 29, 1:54 pm, Stacie <[email protected]> wrote:
>>>
>>> >>> I have a textbox (OtherHours) and listbox (OtherHoursType) in my web
>>> >>> form (using VS 2005/VB.net).  If the user enters hours into the
>>> >>> OtherHours control then they must also select an Other Hours Type in
>>> >>> the OtherHoursType control. I'm having difficulty figuring out how
>>> >>> to
>>> >>> write validation for this.  Does anyone know how to do this or
>>> >>> have a
>>> >>> good online reference to recommend?- Hide quoted text -
>>>
>>> >> - Show quoted text -
>

Reply via email to