AJAX C# AutoCompleteExtender contextKey

后端 未结 1 511
耶瑟儿~
耶瑟儿~ 2020-12-22 01:54

How do you dynamically pass parameter/control to contextKey?

 


        
相关标签:
1条回答
  • 2020-12-22 02:24

    You can set the context key in two ways:

    Client-Side, through Javascript:

    <script type="text/javascript">
        function SetContextKey()
        {
            $find('auJobs').set_contextKey('moo');
            return;
        }
    
    </script>  `
    

    or on the server side auJobs.ContextKey = "Whatever You need to put in here"

    Terry

    0 讨论(0)
提交回复
热议问题