This is a migrated thread and some comments may be shown as answers.

ValidationSummary will Not Display with TabStrip and Radpageview

1 Answer 63 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Eric Turner
Top achievements
Rank 1
Eric Turner asked on 08 Aug 2009, 01:39 AM
I cannot get the ValidationSummary to display errors inside a RadPageView.

I have a RadTabStrip with two tabs, each tab displays a different PageView.  Inside the Page View I have a table with 5 rows and 2 columns.  Each row contains a different asp.net control; three text boxes, a button and the last row has a ValidationSummary.  A CustomValidator is on the first text box.

The code appears to validate correctly.  Both the client and server code.  Stepping through the code Page.IsValid = False when it enters the Button click event.

But no error messages appear, in either a window or a list.

There is no AJAX on the page.

I can take the same code and not use the RadControls and it works as it should.

What could I be doing wrong?

But

1 Answer, 1 is accepted

Sort by
0
Eric Turner
Top achievements
Rank 1
answered on 08 Aug 2009, 02:04 AM
Duh!  I looked at this for half a day. 

It helps if I spell correctly.  In the javascript code I had args.InValid instead of args.IsValid!  Funny it didn't throw an error on that though.

Now to figure out how to make it use a RadWindow...
Tags
TabStrip
Asked by
Eric Turner
Top achievements
Rank 1
Answers by
Eric Turner
Top achievements
Rank 1
Share this question
or