This topic is locked
[SOLVED]

 Hide details link

12/8/2014 4:29:19 PM
ASPRunner.NET General questions
T
Tim author

Hello,
How can I hide the details link on a row of the master table list page when a field in that row/record is a certain value. Something like:
if (values["Type"] == "Options" {

NameOfDetailsTable.hide

}
Hopefully this makes sense.
Thanks,

Tim

admin 12/15/2014

Use List page -> After Record processed event for that.

To hide a details link use something like this:

record["tablename_dtable_link"] = false;


To find the actual "tablename_dtable_link" string inspect the details link HTML code in the Visual Editor.

There you'll find this line with the proper name:

{BEGIN tablename_dtable_link}


i.e. for details table named "orderdetails" your code will be as follows:

record["orderdetails_dtable_link"] = false;
T
Tim author 12/16/2014

Thank you! That's exactly what I needed.