![]() |
ChatGPT 10/14/2025 |
When dealing with search functionality in ASPRunner.NET and facing issues like the search not working correctly in one project while it does in another, there are several factors to consider:
By systematically checking these possibilities, you should be able to identify what is causing the search functionality not to work correctly in one of your projects. |
|
M
|
MSchell author 10/14/2025 |
This code on the list page before SQL query to allow these two groups to see all records, if I comment this out, then Search works, with it it does not. I need these groups to see all records, but search should work also? if (XSession.Session["UserGroup"] != "Support" || XSession.Session["UserGroup"] != "HRBP" ) |
|
E
|
Eric Chan 10/14/2025 |
Your logic has mistake and could be further simplfied... if (XSession.Session["UserGroup"] != "Support" && XSession.Session["UserGroup"] != "HRBP" ) |
|
M
|
MSchell author 10/15/2025 |
Eric, thank you |
|