ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
CRUD Grid Demo Question - form html layout and css
Title:
B
I
{code}
?
Hello, We are playing around with your CRUD Grid Demo and while everything looks great on your site, when we try to implement your Grid in our Application we are facing the following issues... 1. The Edit and Delete buttons are not showing up under the Edit and Delete column. 2. When we try to add or edit, the child form (popup) does not seem to have the same layout or even other wise as Layout of the parent grid. Are we missing a CSS or something? Your help will be greatly appreciated! Thanks! Deep
Save Changes
Cancel
Deep
asked at 16 Feb 2016
yes it's css, in the main demo that's the common.css file (.ico-edit, .ico-del, .efield .elabel .einput )
at 16 Feb 2016
Omu
Thank you so much for your response. Really appreciate your help with this. We can now see the Edit and Delete buttons. However, the Layout of the child form (the popup form) is still a mess. The fonts are not correct and the text boxes are out of place too. The layout does not look like the layout in your Demo. Can you please comment on this.
at 16 Feb 2016
Deep
try also copying the Editor Templates files from Views/Shared
at 16 Feb 2016
Omu
Do we need setAweDemoPopup(); in our layout page?
at 16 Feb 2016
Deep
setAweDemoPopup is a js function (in Site.js of the main demo) that handles the switch between different types of popups for the main demo (jQueryUI, bootstrap and inline, dropdown in the top right corner); the MvcMinSetupDemo doesn't have that, that's actually the demo that we recommend to copy from http://aspnetawesome.com/learn/mvc/Installation
at 17 Feb 2016
Omu
2 more questions. 1. In the Popup window Email Address fields are still not showing any labels and css is off on these fields. 2. How do we achieve Multilingual support? Mainly from language resource files.
at 17 Feb 2016
Deep
1. check the Editor Template (View/Shared/EditorTemplates) that it is using (UiHint) compare with the rest that are working 2. look at the prodinner demo: http://prodinner.aspnetawesome.com, also http://aspnetawesome.com/learn/mvc/general#Localizing-default-texts
at 17 Feb 2016
Omu
Thank you for suggesting the Prodinner demo. We will try it and keep you posted on our progress. As for using the UiHint for Email address text box, we are not using the UiHint for any of the other text boxes (First Name, Last Name and so on) but the First Name and Last Name text boxes display just fine. Email Address Test Box is the same as the other two text boxes, so why is that not displaying correctly?
at 17 Feb 2016
Deep
something has to be different, which makes it use a different Template view, instead of String.cshtml, maybe an annotation
at 17 Feb 2016
Omu
Sorry about the previous question. We managed to implement the UiHint and correct the Email Address text box.
at 17 Feb 2016
Deep
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