I have the following example for standard web page Customers.aspx:
I've added code in ValidateWrite method on CustTable table
if (! this.Name)
{
ret = checkFailed("Name is mandatory."); //ep test
}
Now I want to create new customer on portal
I navigate to customers.aspx, then choose "New customer"
/EPCustomerEdit.aspx pages opens
I select customer group, currency and language, but I don't specify customer
name
After that I click "OK" and have "Name is mandatory." in infolog.
That works fine, but after that I click "OK" again and I'm redirected to
customer list page, no error message in infolog.
It seems that validateWrite works only once!
Have anyone met that kind of web form behavior?
How I can solve such a problem?
Curious wrote:
EP DAX 2009 ValidateWrite on table side: works only once?
19-Jul-10
I have a problem with Enterprise Portal DAX 2009 development.
ValidateWrite seems to work very strange!
I have the following example for standard web page Customers.aspx:
I have added code in ValidateWrite method on CustTable table
if (! this.Name)
{
ret = checkFailed("Name is mandatory."); //ep test
}
Now I want to create new customer on portal
I navigate to customers.aspx, then choose "New customer"
/EPCustomerEdit.aspx pages opens
I select customer group, currency and language, but I do not specify customer
name
After that I click "OK" and have "Name is mandatory." in infolog.
That works fine, but after that I click "OK" again and I am redirected to
customer list page, no error message in infolog.
It seems that validateWrite works only once!
Have anyone met that kind of web form behavior?
How I can solve such a problem?
Previous Posts In This Thread:
Submitted via EggHeadCafe - Software Developer Portal of Choice
Excel Identifying which formulas are slowing down workbook recalaculation
http://www.eggheadcafe.com/tutorials/aspnet/917072d4-8194-4f18-8455-75b2ebe359f0/excel-identifying-which-formulas-are-slowing-down-workbook-recalaculation.aspx