ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
Grid editing with separate Pages instead of popups
Title:
B
I
{code}
?
Prior to checking out your truly Awesome Grid, My project already had separate razor page forms (with special code) called by the Edit and Delete buttons. So I would like to SKIP the Awesome popup form for NOW and just make a call to the Edit/Delete razor pages when the user clicks the grid button. In the simple Table I was using before, but am now replacing it with your Awesome grid, the links were: <a asp-page="./Edit" asp-route-id="@item.TypeId">Edit</a> <a asp-page="./Details" asp-route-id="@item.TypeId">Details</a>
Save Changes
Cancel
Clifton Nurse
asked at 09 Oct 2019
do you need something like the open column in the grid from here: https://demo.aspnetawesome.com/GridDemo/CustomFormat
at 09 Oct 2019
Omu
Thanks as usual for an awesomely quick reply. Pardon me. This is my first project effort with asp net core and razor pages. I said: I would like to SKIP the Awesome popup form for NOW and just make a call to the Edit/Delete razor pages when the user clicks the grid button. So I want to know HOW to do that in the grid. I will check the link and get back to you. Getting this done is the last test before converting all my razor pages to use the grid.
at 09 Oct 2019
Clifton Nurse
Ok. Im further along to my goal. I used var linkFormat = "<a href='" + Url.PageLink("./Edit", "", new { id = ".(TypeId)" }) + "' >Edit</a>"; and that works to load the Edit page. However, I now need your guidance on HOW to use the buttonFormat instead of the link text because I want to use buttons for Edit and Delete. Your Button code click action is doing a popup whereas i want it to load the Edit page as the link above is doing.
at 09 Oct 2019
Clifton Nurse
I'm OK with this now. I figured out how to use normal buttons after a while. Thank you very much
at 10 Oct 2019
Clifton Nurse
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