473,466 Members | 1,408 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Few things - Validation, Tables etc

Hey a couple of questions

I have multiple usercontrols on my page + buttons that Cuase validations
the issue is that the page validates as a whole and you cannot Group
validate

the work around i am using is to disable all validators on the page then
enable all validators on my control container
the worry i have here is at the point when validation on the page is
disabled this may leave some
fields open to hackers and problematic data if the spoof the page? any ideas
around this

The other issue i have is that i have a large cell and i want to put a table
within the cell and specify height of 80%
but this does not work properly
any ideas on these
Thanks
Nov 17 '05 #1
2 1249
PJ
not xctly sure what you're asking, but are you aware there is a .IsValid()
method on the page that you can use in code behind that will return a bool
based on whether all post data validates to all defined validation controls
on your page.

for the cell height, use the height style on the row that contains the cell.

<tr style="height:200px">
"Vincent V" <vincentv@-n0-5pam-optushome.com.au> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Hey a couple of questions

I have multiple usercontrols on my page + buttons that Cuase validations
the issue is that the page validates as a whole and you cannot Group
validate

the work around i am using is to disable all validators on the page then
enable all validators on my control container
the worry i have here is at the point when validation on the page is
disabled this may leave some
fields open to hackers and problematic data if the spoof the page? any ideas around this

The other issue i have is that i have a large cell and i want to put a table within the cell and specify height of 80%
but this does not work properly
any ideas on these
Thanks

Nov 17 '05 #2
in reguards to validation
on my page i might have 3 different panels
one for sighning up
one for logging in
one for sighning up for news letter
these 3 panels are unrelated
so just say u want to login u enter ur username and password - all the
validators on the page will fire(sign up validators, news letter validators)
because the page is one entity
i need to be able to validate panels or controsl with child controls not the
whole page

"PJ" <pj*********@hotmail.com> wrote in message
news:#k*************@TK2MSFTNGP10.phx.gbl...
not xctly sure what you're asking, but are you aware there is a .IsValid()
method on the page that you can use in code behind that will return a bool
based on whether all post data validates to all defined validation controls on your page.

for the cell height, use the height style on the row that contains the cell.
<tr style="height:200px">
"Vincent V" <vincentv@-n0-5pam-optushome.com.au> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Hey a couple of questions

I have multiple usercontrols on my page + buttons that Cuase validations
the issue is that the page validates as a whole and you cannot Group
validate

the work around i am using is to disable all validators on the page then
enable all validators on my control container
the worry i have here is at the point when validation on the page is
disabled this may leave some
fields open to hackers and problematic data if the spoof the page? any

ideas
around this

The other issue i have is that i have a large cell and i want to put a

table
within the cell and specify height of 80%
but this does not work properly
any ideas on these
Thanks


Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Joey P | last post by:
Hi all, I am doing a project for university whereby i have to implement a simple database related to a frozen foods company. I am having some trouble though creating a validation rule for one...
0
by: Steve V | last post by:
I'm using Access 2000 to build a budgeting/tracking database. Can I make a validation rule (using VBA) that checks the data as if the record has already been added? I've got 5 tables (only the...
6
by: Chuck | last post by:
A97. A database has a table: tblA which has a single text field, B. It is a primary field, indexed and no duplicates. It is used as a lookup for table tblC. A form based on tblA is used to add...
2
by: Vladi | last post by:
Experience is highly requested. I can't find solution for the following problem: I am making VBA code for moving/modifying data from "old" tables into "new" ones. In fact, this is part of the...
2
by: Dnna | last post by:
I have a table which is bound to an Internet Explorer XML data island. I'm using ASP.NET's client-side validators for an input field in the table. The problem is that if the input fields are in...
3
by: Bob Alston | last post by:
I have a routine to copy data to new versions of my app via insert into sql statements. Unfortunately, due to evolution of my app, sometimes the new version has more restrictive editing than an...
7
ak1dnar
by: ak1dnar | last post by:
Hi, I got this scripts from this URL There is Error when i submit the form. Line: 54 Error: 'document.getElementbyID(....)' is null or not an object What is this error. Complete Files
3
by: Harlequin | last post by:
I must start this posing by making the point that I am NOT a VB programmer and I'm something of a Newbie to MS Access. I can program in a number of languages (Java, Javascript, PERL,PHP and TCL) but...
1
by: mimranp | last post by:
Hi all i m using visual developer 2008 i m using xhtml1.1 in that .i m reciving so much error when check in online input w3 standard(C# language code behind) <%@ Page Language="C#"...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
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,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
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,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.