ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
There are some questions about the Lookup grid display in AwesomeMvcDemo
Title:
B
I
{code}
?
Index.cshtml <div class="efield"> <div class="elabel"> <a href="@Url.Action("Index", "LookupDemo")">Lookup grid</a> </div> <div class="einput"> @(Html.Awe().Lookup(new LookupOpt { Name = "LookupGridWindow", Dropdown = false, Modal = true, OutClickClose = true, Height = 700, MaxWidth = 900, Controller = "MealLookup", ClearButton = true }) .LookupGrid(Url.Action("MealLookupGrid", "LookupDemo"))) </div> </div> In AwesomeMvcDemo project file View --LookupDemo --CustomSearch.cshtml --Index.cshtml --IndexContent.cshtml --MealLookup.cshtml --Misc.cshtml Can't find MealLookupGrid.cshtml But run project is ok,why?
Save Changes
Cancel
RayBen
asked 23 days ago
the file is in `Views/LookupDemo/MealLookupGrid.cshtml` in VS in `LookupDemoController.cs` inside the `MealLookupGrid()` action you can `right click -> Go to View`
22 days ago
Omu
http://shuomaotec.com/Awesome/2025_09_21_171135.jpg AwesomeMvcDemo.zip ,I just downloaded it yesterday not find Views/LookupDemo/MealLookupGrid.cshtml file AweCoreDemo.zip have Views/LookupDemo/MealLookupGrid.cshtml file
22 days ago
RayBen
I found it AwesomeMvcDemo.zip Views/LookupDemo/MealLookupGrid.cshtml This file is hidden and not included in the project
22 days ago
RayBen
in VS2022 all files in the project folder (and subfolders) are included by default.
22 days ago
Omu
AwesomeMvcDemo.zip Controllers\Grid\ChatController.cs This file is hidden and not included in the project AweCoreDemo.zip have Controllers\Grid\ChatController.cs Therefore, the function of ChatController.cs cannot be executed in AwesomeMvcDemo
22 days ago
RayBen
in the AweCoreDemo.csproj there's no mention of ChatController.cs, therefore the file is included by default; can you explain what issue are you facing ? is the main demo not running for you?
22 days ago
Omu
What I want to know is whether I can execute the function of ChatController.cs in AwesomeMvcDemo
22 days ago
RayBen
ChatController is a class, it has methods (actions in the context of mvc), you call these actions by accessing a corresponding url. Is that it? Or are you just trying to add a chatbox to your site?
22 days ago
Omu
I will take some time to test the ChatController.cs function in AwesomeMvcDemo.ZIP and AweCoreDemo.ZIP. If I have any questions, I will ask you again. Please also double-check the AwesomeMvcDemo.ZIP project; some files are not included.
22 days ago
RayBen
AwesomeMvcDemo is Mvc5, are you using asp.net core or mvc5 ?
22 days ago
Omu
Answers
please
Sign In
to leave an answer
By accessing this site, you agree to store cookies on your device and disclose information in accordance with our
cookie policy
and
privacy policy
.
OK