UpdatePanel中的自定义DropDown [英] Custom DropDown in UpdatePanel

查看:99
本文介绍了UpdatePanel中的自定义DropDown的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我在updatepanel中有一个自定义下拉列表.页面加载时,下拉菜单看起来像设计的那样.但是,如果在更新面板中完成了部分渲染,则自定义下拉菜单会丢失其设计,它会恢复其默认外观.

解决方案

您可能需要在配置文件中放置类似的内容,这取决于您使用的成员身份.

解决方案

br/>

 <  位置   路径  ="  > 
    <   system.web  > 
        <  授权 > 
            <  允许    ="   *" / <  /authorization  > 
    <  /system.web  > 
<  /位置 > 
<  位置    ="  脚本" <   system.web  > 
        <  授权 > 
            <  允许    ="   *" / <  /authorization  > 
    <  /system.web  > 
<  /位置 > 


Hi,
I have a custom dropdown in an updatepanel. When the page loads the dropdown is looking as it was designed. But when partial rendering is done in update panel then the custom dropdown loses its design, it comes to its default look. What should I do that the custom dropdown remains as it looks like?

解决方案

You may need to place something like this in your config file depending if your using membership.

<location path="Styles">
    <system.web>
        <authorization>
            <allow users="*" />
        </authorization>
    </system.web>
</location>
<location path="Scripts">
    <system.web>
        <authorization>
            <allow users="*" />
        </authorization>
    </system.web>
</location>


这篇关于UpdatePanel中的自定义DropDown的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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