CodeVerge.Net Beta


   Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > windows_hosting.hosting_open_forum Tags:
Item Type: Date Entered: 10/8/2004 4:15:08 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 1 Views: 224 Favorited: 0 Favorite
2 Items, 1 Pages 1 |< << Go >> >|
"nema" <>
NewsGroup User
Page_Validators undefined10/8/2004 4:15:08 AM

0

I have a webcontrol which adds a textbox and a requiredFieldValidator inside of its CreateChildControls method.

I always add the validator in the CreateChidControls method to the controlcollection - here's the reason why:

I have an IsRequired property on the webcontrol that sets the child validator enabled or disabled depending on this property of my webcontrol. If I don't always include it (so its rendered), I will get a viewstate mismatch when the control moves from IsRequired to NOT isRequired.

When the IsRequired is set to false, the framework does not include a Page_Validators declaration in the javascript - which is proper.

However it appears, especially when my control is placed inside a Panel control, that the framework sometimes gets confused and tries to validate the page even when the validator's Enabled property is set to False- results in a Page_Validators undefined error.

Anyone have similiar experiences?


"joteke" <>
NewsGroup User
Re: Page_Validators undefined10/10/2004 12:53:15 PM

0

Post some code.
Thanks,

Teemu Keiski
Finland, EU
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:













collection does not persist in custom control

cheap .net webhosting?

is there any free temporary hosting?

how to auto generating your own partial classes

extending textbox control in asp.net

getting my web form on the internet

opening isa ports

spell checker -- should i build or buy? -- anyone suggest a 3rd party that you like?

strange viewstate problem

are windows hosting companies ready for ruby and ruby on rails

beginner hosting suggestion with asp.net and sql server 2005 express edition

accessing custom collection property

asp.net 2.0 web hosting

how to debug when developing web custom control ?

asp.net 2 treeview client events

asp.net component problem

problem getting webcontrol toolbox icon to display

control submission wizard

problem with altering web custom control objects at runtime.

load user controls dynamical, again

how to add a datasource prop bindable at design time to my composit custom control?

error with web user control

how do i browse a website on a staging server?

can you have multiple controls in the same dll?

custom editor

can't get selectedvalue of dropdownlist within composite control

designer property

custom databinder.eval ?

creating a custom control with a child tag

adding tag to the control's father page

multiple controls

how custom datagrid boundcolumn databinds <%# %>

invoking static member

simple question regarding server controls and toolbox

webhosting plan

document properties in sql show like outlook.

persisting a collection in a webcontrol

control as property to another control

trying to find web hosting at reasonable cost for number of databases used with my sites.

usercontrol.rendercontrol problem

show properties for custom control

free asp.net 2.0 web hosting

dynamic composite control viewstate problem

usercontrol that has button that response.redirects ?

.net controls 2.0 > 1.1

tablerows and inamingcontainer

dynamic linkbutton event handling

user control from code behind page failure

htmltextarea how to get the value ??

trying to create my first server side control and need help

   
  Privacy | Contact Us
All Times Are GMT