This topic is locked

View As .NET Pages

2/7/2012 9:08:46 AM
ASPRunner.NET General questions
G
gluckett author

HI All,

I was wondering how to customize the field in the View As "Custom" for a textbox with ASPRunner 5 .NET?
I just wanted to round the data (or make sure the Currency does not have cents).
Any hints?
I can't even set the value:
value=123;
Is the "value" different for .NET, and how would I do something as simple as that?
thanks

Sergey Kornilov admin 2/15/2012

"View as" Custom won't work in ASPRunner.NET. It were left there by mistake.
You can use BeforeProcessRowList event for this purpose. Here is the sample code:

((Cars)row).Make = "Audi";

return true;


In this example Cars is table name, Make is a field name.

G
gluckett author 2/23/2012

thanks

will the.net version catch up to phrunner or asp runner pro?



"View as" Custom won't work in ASPRunner.NET. It were left there by mistake.
You can use BeforeProcessRowList event for this purpose. Here is the sample code:

((Cars)row).Make = "Audi";

return true;


In this example Cars is table name, Make is a field name.

Sergey Kornilov admin 2/23/2012

It will, at some point. Cannot promise anything on timeframe.