基础设施在Rowedit模板中获取下拉列表的clientID [英] infragistics get clientID of dropdown in Rowedit template

查看:94
本文介绍了基础设施在Rowedit模板中获取下拉列表的clientID的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个具有行编辑模板的基础设施Web网格. 行编辑模板包含下拉列表.现在,当我更改下拉列表的选定索引时. 我需要获取下拉列表的客户端ID. Web网格位于Content占位符中..

i have a infragistics web grid which has row edit template. Row edit template contains drop down list. Now when i change the selected index of drop down.. i need to get the client id of the drop down.. the web grid is in Content place holder..

我正在使用以下代码.

ctl00_ContentPlaceHolder1_webModGrid_ctl00_ddlScope

ctl00_ContentPlaceHolder1_webModGrid_ctl00_ddlScope

但是它给出了错误..

Microsoft JScript运行时错误:必需对象

Microsoft JScript runtime error: Object required

推荐答案

您可以尝试使用开关"ClientIDMode"及其值静态"

you can try to use the switch 'ClientIDMode' and its value Static

http://msdn.microsoft.com/zh-CN/library/system.web.ui.clientidmode.aspx

这篇关于基础设施在Rowedit模板中获取下拉列表的clientID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆