Popup Form Styles

May 23, 2011 at 3:00 PM


we liked the MVC awesome and planning to use it in our project. In order to have get the same look and feel across our website we are looking for some style changes in Popup form template. it would be great if you could comment on the possibilities for below:

1. Is it possible to change the "Save" and "Cancel" button to center aligned? (currently it is right aligned by default)

2. Is it possible to change the "Cancel" button to a "Cancel" link?

3. Is it possible to hide "Cancel" button when required?

Appreciate your input!

May 23, 2011 at 3:08 PM

well, basically everything that is not possible to do with jQueryUI (in a easy way) it's not possible here to, because I use jQueryUI (http://jqueryui.com/demos/dialog/)

probably you can do all of this that you want to do but by doing your own custom javascript workarounds

atm PopupForm has 2 buttons and you can't hide any of them but you could modify the PopupForm.ascx and delete the cancel button from there or js hide workaround