zoukankan      html  css  js  c++  java
  • [Raobin] Ext.net在页面中以窗体的形式打开另外的页面

    public ActionResult NewPartWindow(string id, string copy, string code)
    {
    var vm = new VM(this);
    var name = string.IsNullOrWhiteSpace(code) ? vm.NULL : code;
    var title = string.Format("{0}[{1}]", RS_Wms.Part, name);
    return this.Y().WindowSearch(vm.ID_NEW_WIN_PART, title, 700, 650)
    .Loader(this.Y().ComponentLoader()
    //加载的路径
    .Url(vm.EditUrl)
    //加载模式
    .Mode(LoadMode.Frame)
    .Scripts(true)
    //添加参数
    .Params(param =>
    {
    param.Add(this.Y().Parameter(vm.FIELD_NAME_ID, id));
    param.Add(this.Y().Parameter(vm.FIELD_NAME_COPY, copy));
    })
    .DisableCaching(true))
    .ToComponent().ToAjax();
    }

  • 相关阅读:
    JVM 体系结构
    字符集和编码
    Thinking in Java 笔记
    HSDB
    jdb
    JVM-Class文件
    JVM-操作码助记符
    表、栈和队列
    算法分析
    Shell 编程
  • 原文地址:https://www.cnblogs.com/teamate/p/3533713.html
Copyright © 2011-2022 走看看