This topic is locked
[SOLVED]

 enable/disable inline edit

10/6/2010 12:31:43 PM
ASPRunnerPro General questions
T
totti_60 author

I would like to disable edit function on list page, if the record already contain a value.

I found this code:
if not trim(data("Select"))="" then
record("edit_link")=false
end if
but it just disable the icon used to go in the edit page, this is correct, but i want to disable also the "Inline Edit" Icon, how can i do that ???

COuld you also tell me the name to be referred inside "Record("xxxxx") instruction for all the icon that appear on the left side of the record in the list page ???
Thank you for support

Best regards

Antonio

A
ann 10/7/2010

Antonio,
here is the code to hide inline edit link:

if not trim(data("Select"))="" then

record("edit_link")=false

record("inlineedit_link")=false

end if



Select the icon with mouth on the Visual Editor tab, then switch to the HTML mode. You can check name of selected link here.