From: Andy M. <am...@st...> - 2006-06-18 16:24:18
|
Now I see it. Because you are adding the validation control during a callback, new javascript is added to the page during the callback. Normally Anthem.Manager ignores the scripts on the page. But you can tell it to include the scripts in the callback response like so: void dataList_EditCommand(object sender, DataListCommandEventArgs e) { dataList.EditItemIndex = e.Item.ItemIndex; BindList(); Anthem.Manager.IncludePageScripts = true; } Andy Miller |