javascript - How do I bind Ext JS controls with ASP.NET MVC? -
I am starting a new project with ASP.NET MVC, and I have to use ExtJs as a Widget Library (we are not going to 'MVC in customer') because the company has a license for it .
We have a bad experience binding to the HTML generated by the MVC from the previous project. We usually use MVC What do I want that ExtJs controls will be able to get their value directly from the HTML generated by ASP.NET, and will be able to submit them in a way the controller MVC will understand and will be able to deserialize a model object . I would also like to use jQuery validation, which is integrated with ASP.NET MVC, and not ExtJS assumptions. Is it possible with ExtJS controls? Thank you. Good, because no one answered, I'll tell you what I am doing. Combo box has its own challenges, because its actual value can be verified, it is in the hidden area of the visible input, for the same HTML editor. Goes, but we do not use it. & lt; Input & gt; etc., generated ExtJS control based on their properties, and synchronizes the values of both, it is difficult to maintain, and it looks ugly in code.
var container = $ (input) .replaceWith ("& lt; Div style = 'display: inline;' & gt; & lt; / div & gt; ");
inputAttrTpl by powering the data of MVC input.
Container that you created in step 1 of the loop,
rendereto config or
.render () function by using.
Comments
Post a Comment