Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Datagrid Rec Field Validator!!

Reply
Thread Tools

Datagrid Rec Field Validator!!

 
 
Adam Knight
Guest
Posts: n/a
 
      08-02-2005
Hi all,

I have a asp:required field validator in a datagrid footer containing a
textbox control. (To add new row)
I have an issue in that while the footer is hidden and not required it is
cause 'Page Validator' not defined javascript errors when any unrelated link
buttons are clicked.

I have tried setting the enabled property to false, but that had no effect.
When i have the datagrid footer displayed no errors occur. But that kind of
spoils everything i am out to achieve.

Any Suggestions!!
AK


 
Reply With Quote
 
 
 
 
Peter Blum
Guest
Posts: n/a
 
      08-02-2005
There is a bug in the DataGrid that affects controls which output javascript
when they are placed into the footer (or header) and that part is invisible.
You must set the Visible property on your control to false when the footer
is also invisible. (You were close - setting Enabled to false. Switch to
setting Visible=false)

--- Peter Blum
www.PeterBlum.com
Email: http://www.velocityreviews.com/forums/(E-Mail Removed)
Creator of "Professional Validation And More" at
http://www.peterblum.com/vam/home.aspx

"Adam Knight" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi all,
>
> I have a asp:required field validator in a datagrid footer containing a
> textbox control. (To add new row)
> I have an issue in that while the footer is hidden and not required it is
> cause 'Page Validator' not defined javascript errors when any unrelated
> link buttons are clicked.
>
> I have tried setting the enabled property to false, but that had no
> effect.
> When i have the datagrid footer displayed no errors occur. But that kind
> of spoils everything i am out to achieve.
>
> Any Suggestions!!
> AK
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: slicing a bsddb table, eg. for rec in bsddb["AArdvark":"zebra"]:print rec Skip Montanaro Python 1 06-26-2005 08:49 PM
slicing a bsddb table, eg. for rec in bsddb["AArdvark":"zebra"]:print rec Neville C. Dempsey Python 0 06-12-2005 06:22 PM
Re: goodbye rec.photo.digital -hello rec.photo.digital.slr-systems? Woodchuck Bill Digital Photography 15 10-27-2004 04:29 AM
Digital Photography RFD: rec.photo.digital.slr vs rec.photo.digital.slr-systems? Lionel Digital Photography 16 09-17-2004 12:48 PM
2nd RFD: rec.photo.digital.slr (was: rec.photo.dslr) Thad Digital Photography 217 09-08-2004 06:33 PM



Advertisments