473,396 Members | 1,784 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

validation on dynamically created controls

I am creating some controls on the fly (textboxes and checkboxes), I
created a custom control and simply coded in FALSE (so it always
fails) and added it to my .aspx page.

For some reason the custom validation is not working, any ideas? I
put output statements in my custom control and it is being called (I
added response.write statements to the .cs file of my customn control
and it outputs so it means its being fired just fine), it just doesn't
seem to be outputing the error on the .aspx page.

thanks
Nov 22 '05 #1
2 1138
can anybody help me on this one? i'm stuck!

pe**********@hotmail.com (Peugeot504) wrote in message news:<f6*************************@posting.google.c om>...
I am creating some controls on the fly (textboxes and checkboxes), I
created a custom control and simply coded in FALSE (so it always
fails) and added it to my .aspx page.

For some reason the custom validation is not working, any ideas? I
put output statements in my custom control and it is being called (I
added response.write statements to the .cs file of my customn control
and it outputs so it means its being fired just fine), it just doesn't
seem to be outputing the error on the .aspx page.

thanks

Nov 22 '05 #2
can anybody help me on this one? i'm stuck!

pe**********@hotmail.com (Peugeot504) wrote in message news:<f6*************************@posting.google.c om>...
I am creating some controls on the fly (textboxes and checkboxes), I
created a custom control and simply coded in FALSE (so it always
fails) and added it to my .aspx page.

For some reason the custom validation is not working, any ideas? I
put output statements in my custom control and it is being called (I
added response.write statements to the .cs file of my customn control
and it outputs so it means its being fired just fine), it just doesn't
seem to be outputing the error on the .aspx page.

thanks

Nov 22 '05 #3

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

Similar topics

1
by: Mike George | last post by:
I am having a problem with dynamic validation controls. I have some code that uses an XSLT to transform an XMLDocument into HTML which creates ASP.NET validation controls dynamically (v 1.1). ...
1
by: Tony | last post by:
Hi folks, I've got a bit of a problem. I have a situation where I build forms completely dynamically based on a form definition supplied from a database. Anyway, I noticed that required fields...
3
by: Earl Teigrob | last post by:
I wanted my "Terms and Conditions" Checkbox control to participate in my ASP.NET validation just like all the the other controls on the page. After some time of searching the web for an example of...
4
by: usl2222 | last post by:
Hi folks, I appreciate any assistance in the following problem: I have a form with a bunch of dynamic controls on it. All the controls are dynamically generated on a server, including all...
1
by: Kum | last post by:
Hi, I need help in asp.net dynamic textbox controls validation. I am creating textbox controls dynamically on a asp.net webpage. Now after creating the textboxes on the page I want to validate...
1
by: Frankie | last post by:
Sanity Check Requested! I've been writing code way too long for the past several days and just came across this bit of logic I wrote several weeks ago. Suddenly something seems wrong with it and...
1
by: rmccinc | last post by:
OK, I am running into some issues that I cant figure out a work-around. I am not going to post code cause I figured out WHY my issue is happening: -I have a datagrid, and a button that fires a...
7
by: Joe Penora | last post by:
Hi All, How can place 2 validation controls one on top of another? The first one is the RequiredFieldValidator and the second one is the RegularExpressionValidator. Both needs to validate an...
0
by: Eniac | last post by:
Hi, I've been working on a custom user control that needs to be modified and the validation is causing me headaches. The control used to generate a table of 4 rows x 7 columns to display all...
3
by: John Grandy | last post by:
Does anyone have experience with turning off ASP.NET event validation ? What is the complete set of consequences ? I'm aware that event validation ensures that parameter values submitted to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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...

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.