层叠下拉列表的updatepanel问题列出了自定义样式 [英] updatepanel issue for cascading dropdown lists custom styles

查看:87
本文介绍了层叠下拉列表的updatepanel问题列出了自定义样式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hai Everyone,



i我正在使用cascadind asp下拉列表,添加自定义样式我使用此链接中的代码( http://harvesthq.github.io/chosen [ ^ ])。它对我来说很好。但是当我使用updatepanel时这不起作用。所以请帮助我。



< small> [edit]可点击链接[/ edit]

解决方案

始终设置更新面板模式,如果您正在使用修改css样式的任何javascript或jquery然后将javascript或jquery放在此函数中



  function  pageLoad()
{


document )。ready( function (){

});

function changeStyle(){
}

}







如果这对您有帮助,请选择此作为您的答案并投票支持


页面加载和更新面板刷新时的javascript函数。

< script type =   text / javascript>  //  页面加载 

Hai Everyone,

i am using cascadind asp dropdown lists,for adding custom styles i use code from this link (http://harvesthq.github.io/chosen[^]).its work fine for me.but when i use updatepanel this is not working.so please kindly help me.

[edit]Clickable link[/edit]

解决方案

Set the update panel mode always and if you are using any javascript or jquery to modify css style then put that javascript or jquery inside this function

function pageLoad()
{


(document).ready(function(){ }); function changeStyle(){ } }




If this helpful for you then please select this as your answer and vote for this


call the javascript function on both pageload and update panel refresh.

<script type="text/javascript">//On Page Load


这篇关于层叠下拉列表的updatepanel问题列出了自定义样式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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