惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

F
Fortinet All Blogs
博客园 - 三生石上(FineUI控件)
小众软件
小众软件
人人都是产品经理
人人都是产品经理
V
Visual Studio Blog
Last Week in AI
Last Week in AI
V
V2EX
博客园_首页
IT之家
IT之家
Jina AI
Jina AI
博客园 - 叶小钗
The Cloudflare Blog
T
Tailwind CSS Blog
腾讯CDC
B
Blog
D
Docker
L
LangChain Blog
博客园 - 司徒正美
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
美团技术团队
Apple Machine Learning Research
Apple Machine Learning Research
爱范儿
爱范儿
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
GbyAI
GbyAI

博客园 - Andy

Delphi Access violations 问题的解决 Coolite Destop 动态生成菜单 - Andy ext js window的 AnimateTarget属性 - Andy ext 从头开始 extjs 控件 触发事件 的几种方式 ext js gridpanel绑定到动态生成的store - Andy coolite的一点东西 - Andy - 博客园 Coolite 换肤 Coolite 中 遍历formlayout中的anchors中的anchor 并找到其中的TextField coolite SqlDataSource - Andy - 博客园 coolite 更新 删除 修改 - Andy Coolite toolkit 数据传递 ExtStore Coolite服务端方法调用与Web.Config配置 - Andy - 博客园 Coolite 交流(转)含简单配置说明 Coolite 开发心得 coolite 分页(含Bug修复方法) coolite 为你要删除的记录增加删除验证 - Andy - 博客园 Coolite.Ext.Web命名空间 Coolite ComboBox绑定方式 Coolite TreePanel的数据绑定操作
Coolite AjaxMethod - Andy - 博客园
Andy · 2009-11-01 · via 博客园 - Andy

1.前台代码

    <form id="form1" runat="server">
        <ext:ScriptManager runat="server">
        </ext:ScriptManager>
   
        <ext:TreePanel ID="TreePanel1" runat="server" RootVisible="true" Height="600px" Width="800px" AutoScroll="true" ContainerScroll="True">
          
            <Listeners>
                <Click Handler="Coolite.AjaxMethods.Select(node.attributes.hrefTarget);" />
            </Listeners>                            
        </ext:TreePanel>
    </form>

2.后台代码

        [AjaxMethod]
        public void Select(string kind)
        {
            Ext.Msg.Alert("当前选中值", kind).Show();
        }