you should add the control dinamic in the envent ItemDataBound

>From: "DanG" <[EMAIL PROTECTED]>
>Reply-To: [email protected]
>To: "Ajax.NET Professional" <[email protected]>
>Subject: [ajaxpro] Anthem question
>Date: Thu, 22 Jun 2006 14:59:06 -0700
>
>
>Hi, all
>
>I know this isn't technically an "Anthem" group, but there isn't one,
>and y'all seem to know something about it.  This might even be an issue
>with Ajax, too.  If there's a better place to ask this, please let me
>know.
>
>I'm using an Anthem:Datagrid with field validators in some columns.  By
>default, .NET creates javascript to be run for any validator when a
>"CausesValidation" button is clicked.  During processing of the grid,
>it's possible to delete a row, which causes the grid (only) to be
>rewritten on the screen, but without the deleted row -- or its
>validators.  The rest of the screen remains unchanged, still containing
>the javascript for the now-missing validators.  So when the button is
>clicked, the javascript validation crashes because it can't find the
>validators.
>
>I tried using the EnableClientScript="false" clause, but it seems to
>simply bypass all client-side validation.
>
>I was hoping there was a way to tell Anthem to refresh the validation
>javascript.  If not, then tell the code-behind to go ahead and display
>the entire screen (with the appropriate validation javascript), rather
>than just the Anthem fields.  I don't see a way to do either.
>Otherwise, I'll have to stop using the Anthem grid.
>
>Any thoughts would be appreciated.
>
>Cheers
>Dan
>
>
>>



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Ajax.NET Professional" group.

To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]

For more options, visit this group at http://groups.google.com/group/ajaxpro

The latest downloads of Ajax.NET Professional can be found at 
http://www.ajaxpro.info
-~----------~----~----~----~------~----~------~--~---

Reply via email to