English 中文(简体)
Mvc Telerik Window并不表示部分观点的价值。
原标题:Mvc Telerik Window does not post values of partial view

良好日子

I have the following scenario: I have a Razor view with a "@using(Html.BeginForm(....))" statement at the top of the page. Inside the using statement I have a few textboxes, whose values get populated by the user, and a button.

在该纽顿的点击下,一个电离层电解式窗口(显示对与初步看法相同的模式的部分看法)涌现,使用户能够把更多的领域集中起来。 在模式窗口中,有一个必须提交整个表格的纽子,然而,在我反对我的行动之后,我注意到该模式没有列入人口构成的数值(部分观点)。

我的电传窗口代码在使用说明的范围之内,其内容如下:

            Html.Telerik().Window()
                .Name("AddEditScaleWindow")
                .Title("Save Scale")
                .Content(@<text>@Html.Partial("AddUpdateFeeScale")</text>)
                .Buttons(e => e.Close())
                .Height(250)
                .Width(350)
                .Modal(true)
                .Draggable(true)
                .Visible(false)
                .Render();

我尝试了不同的方法,将窗户带上其价值,但徒劳无益。

如果我认为来源的话,我可以看到窗口(部分观点)的形式之内。 如果我能找到一个网络,我就能够看到,所张贴的价值观是观点中的所有价值观,但从部分观点看,这些价值观是没有的。

是否有任何人认为窗户内的价值观没有贴上标签?

事先感谢你。

马蒂

问题回答

也许需要检查这一点,因为我猜测,但许多方言使者在文件后面和表格之外制造了他们的主要成分。 如果是Telerik的情况,你将需要在客户上做工作,以复制方言的数值,回到你的其他形式。





相关问题
Using jquery to get a partial view and updating the UI

I need to render a partial view (returned from the controller) to show some customer summary details. This will need to happen when the user clicks on a button. In the the mean time the user can ...

MVC 2 / MVC 3 / MVC 4

MVC 2 我们可以轻松地创造领域。 现在,我的问题涉及nes地区(地区内)。

Asp.Net MVC 2 - Changing the PropertyValueRequired string

Using a resx file in the App_GlobalResources directory, I ve been able to change the default message for the PropertyValueInvalid string of the model validators. But it doesn t work to translate the ...

ASP.NET MVC 3 - What features do you want to see? [closed]

I know a bunch of people that are really enjoying the improvements that ASP.NET MVC 2 made over the first release. I have just started to migrate our MVC 1 project over and so far areas has totally ...

热门标签