Click here to Skip to main content
15,889,116 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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?
Posted
Comments
Tejas Vaishnav 18-Sep-12 9:21am    
I think in your partial post back the css or images related to custom dropdown is removed, that's why your custom dropdown is set to it's default view.
deepakaitr12345 19-Sep-12 5:41am    
I think check the session object on the page that you have .
if you are binding the drop down again using the session onject. <link href="../App_Themes/test.css" rel="stylesheet" type="text/css" />

Hope it will help you..

Thanks

1 solution

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

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

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900