ASP.NET maker 2018.0.1
Database: postresSql 9.6
WIndows: 10 pro 64 bit
.NET Core 2.0
Hi again, I am having an issue where I want to use ListOptions_Rendered() event to diable the edit listoption on page " vw_my_next_of_kin ", the background is when a record has been approved i want to hide the edit option while on this list page.this is also a detail table in vw_my_profile page.
BUT I first tried putting the code in visual studio to first test, but when i tried to put debug points on all events after page_data_rendered, none of them got called.
NOTE:for this example refer to " vw_my_next_of_kin "
SO the code i put code like
// ListOptions Rendered event
public void ListOptions_Rendered() {
//Example:
//ListOptions["new"].Body = "xxx";
//if its approved hide the edit button
if (approval_status.CurrentValue == "Approved")
{
ListOptions["edit"].Visible = false;
}
}
Issue 1: BUT when i check the code in "vw_my_next_of_kinlist.cs" and "vw_my_next_of_kingrid.cs", none of them have the following code in them when i scroll down to the respective event.
Issue 2: When i try to put a debug point on these fucnions the code never even reaches them, i tried to put debug points on fucntions above them ie ListOptions_Rendering, ListOptions_Load but they are also no hit, ie i dont hink the code calls them at all.