zoukankan      html  css  js  c++  java
  • ScriptManager ServiceReference DropDownExtender

            <asp:ScriptManager ID="ScriptManager1" runat="server">
            
    <Services>
                
    <asp:ServiceReference Path="Service.asmx" />
            
    </Services>
            
    </asp:ScriptManager>


    1<asp:Panel ID="panelS" runat="server" CssClass="dropshow" Style="display: none; visibility: hidden; border:solid 1px #B5C4CC; 384px;">
    2                                                </asp:Panel>
    3                                                <ajaxToolkit:DropDownExtender ID="ddd" runat="server" DropDownControlID="panelS"
    4                                                    TargetControlID="tbSearch">
    5                                                </ajaxToolkit:DropDownExtender>

     1    function setText() 
     2    {
     3        requestSimpleService = Service.HelloWorld(
     4
     5            document.getElementById('ctl00__tbIndex').value,       
     6            
     7            document.getElementById('ctl00_tbSearch').value,       
     8
     9            OnRequestComplete    
    10
    11            );
    12
    13        return false;
    14    }

    15
    16    function OnRequestComplete(result) 
    17
    18    {
    19        document.getElementById('ctl00_panelS').innerHTML=result;
    20        document.getElementById('ctl00_panelS').style.display="block";
    21    }

    Code
  • 相关阅读:
    ApacheTika解析Word文档
    Oracle中生成随机数的函数
    实现Android和PC之间的蓝牙通信(转载)
    以C#编写的Socket服务器的Android手机聊天室Demo
    初识SVM
    一些编程的小练手
    c#连接MYSQL数据库的两种方法
    Doxygen+Graphviz用来画程序结构图
    C#+MYSQL数据库操作(附源码)
    [转]Use PowerShell to Manage Lists, Views, and Items in SharePoint(使用PowerShell管理列表、视图、列表项)
  • 原文地址:https://www.cnblogs.com/htht66/p/1123684.html
Copyright © 2011-2022 走看看