CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
web_forms
getting_started
data_presentation_controls
dotnetnuke
data_access-sql_server_sql_server_express_and_sqldatasource_control
security
client_side_web_development
novell-support-groupwise-6x-clients
data_access-data_access_and_objectdatasource_control
asp-net_ajax-asp-net_ajax_control_toolkit
novell-support-netware-6x-install-upgrade
asp-net_ajax-asp-net_ajax_discussion_and_suggestions
novell-support-netware-6x-administration-tools
master_pages_themes_and_navigation_controls
configuration_and_deployment
novell-support-netware-client-winnt-2x-xp
novell-support-groupwise-7x-clients
asp-net_ajax-asp-net_ajax_ui
novell-support-edirectory-netware
community-free_for_all
visual_studio_2005
novell-support-groupwise-6x-install-setup
data_access-xml_and_xmldatasource_control
control-cancel
novell-support-iprint
advanced_asp-net-crystal_reports
data_access-xml_web_services
microsoft-public-access
novell-community-chat
state_management
novell-support-netware-6x-abends-hangs
dotnetnuke-getting_started
novell-support-groupwise-6x-gwia
-net_languages-c
novell-support-identity-manager-engine-drivers
novell-support-groupwise-discontinued
advanced_asp-net-architecture
opensuse-org-suse-linux-support-install-configure-administration
dotnetnuke-custom_modules
novell-support-groupwise-7x-install-setup-admin
novell-support-netware-6x-storage-media
novell-support-groupwise-6x-agents
installation_and_setup
data_access-access_databases_and_accessdatasource_control
windows-hosting_open_forum
visual_web_developer_2005_express
novell-support-groupwise-6x-web-access
novell-support-netware-6x-server-backup
macromedia-dreamweaver
novell-support-netware-5x-administration-tools
novell-support-ifolder
novell-support-bordermanager-install-setup
novell-support-imanager
microsoft-public-dotnet-framework-aspnet
novell-support-netware-5x-install-upgrade
novell-support-cluster-services
novell-support-bordermanager-proxies
novell-support-newsflash
advanced_asp-net-sql_server_reporting_services
microsoft-public-dotnet-languages-csharp
web_parts_and_personalization
about_this_site-feedback_on_this_website
ibm-software-websphere-portal-server
novell-support-netware-dns-dhcp
novell-support-zenworks-desktops-4x-app-launcher
-net_languages-visual_basic_-net
advanced_asp-net-custom_server_controls
novell-support-bordermanager-vpn
novell-support-ndps-neps
microsoft-public-sqlserver-programming
novell-support-netware-webserver
community-jobs
novell-support-netware-4x
advanced_asp-net-mobile_and_handheld_devices
internet_explorer_web_controls
novell-support-zenworks-desktops-4x-install-setup
novell-support-edirectory-linux
novell-support-groupwise-7x-gwia
development_tools-web_matrix_general_discussions
microsoft-public-access-formscoding
macromedia-flash
community-announcements
portal_starter_kit
novell-support-zenworks-desktops-4x-management-agent
novell-support-zenworks-patch-management
novell-support-native-file-access
microsoft-public-access-queries
microsoft-public-access-forms
novell-support-groupwise-7x-web-access
novell-support-netware-small-business-6x
data_access-active_directory_and_ldap
novell-support-edirectory-windows
novell-support-groupwise-7x-agents
novell-support-ichain
data_access-oracle
novell-support-zenworks-desktop-management-6x-imaging
novell-support-groupwise-7x-wireless
novell-support-netware-5x-abends-hangs
advanced_asp-net-localization
novell-support-zenworks-desktop-management-7x-imaging-server-nw-win




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > visual_studio.vs_2005_web_application_projects Tags:
Item Type: Date Entered: 10/2/2007 9:29:42 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 1 Views: 31 Favorited: 0 Favorite
2 Items, 1 Pages 1 |< << Go >> >|
"simon sam" <>
NewsGroup User
Combobx in front of UserContol10/2/2007 9:29:42 AM

0

Hi all,

In a ASP.NET web application I?m developing, I?m using a WebUserControl.

When I first call the page the usercontrol's visibility is set to disabled, but when clicking on a button I set the visibility to true.

The problem is that all comboboxes on my page are always in front of that usercontrol.

What can I do to show the usercontrol in front of all objects in my page?

 


Regards,
Simon Sam.
"Benson Yu - MS
NewsGroup User
Re: Combobx in front of UserContol10/4/2007 2:29:56 AM

0

Hi Simon,

It is by design that the <select> element (dropdownlist) always in front of other elements in the same layer. To workaround this issue, we should put the user control in a different layer and set a higher value of the "z-index" property for this layer.

For example, I have provided the following code for your reference. Hope it is helpful to you.


<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
    <style type="text/css">   
        #layer1
        {
          position: absolute;
          z-index: 10;
          left: 40px;
          top:20px;
        }
        #layer2
        {
          position: absolute;
          z-index: 5;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div id="layer1">
        <uc1:WebUserControl1 ID="WebUserControl1_1" runat="server" />
    </div>
    <div id="layer2">
        <asp:DropDownList ID="DropDownList1" runat="server">
            <asp:ListItem Text="aaa aaa"></asp:ListItem>
            <asp:ListItem Text="aaa aaa"></asp:ListItem>
        </asp:DropDownList>
        <asp:DropDownList ID="DropDownList2" runat="server">
            <asp:ListItem Text="aaa aaa bbb"></asp:ListItem>
            <asp:ListItem Text="aaa aaa ccc"></asp:ListItem>
        </asp:DropDownList>
    </div>
    </form>
</body>
</html>


*********** WebUserControl1.ascx
<asp:Panel ID="Panel1" runat="server" Height="50px" Width="225px" BackColor="red">
<asp:Label ID="Label1" runat="server" Text="This is a User Control"></asp:Label>
</asp:Panel>


Sincerely,
Benson Yu
Microsoft Online Community Support

Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:













opening dropdownlist on onfocus event?

remote debugging web application project

documents security on website

nullreferenceexception was unhandled

directory listing instead of served web page

designer issues with master pages

large web application architecture?

asp.net 2.0 poor performance loading design view of .aspx and .ascx in a large solution.

using webresource with wap projects

publish web application via msbuild

cannot add web reference to web application project

updates will not install!

web service application project and wse 3.0

a first chance exception of type 'system.threading.threadabortexception' occurred in mscorlib.dll

using a custom bin directory for references in a web app

where do i download the vs 2005 web app project add-in?

merge on typed datasets not working any more!

select distinct values from an existing vb dataset or datatable

mobile application

using afterbuild target to process files....

web application project now working

namespace for classes in app_code

attempted to read or write protected memory : how to remove this error

vs. 2003 => vs 2005 web site => web application project?

c# and vb in the same project.

"unable to start debugging on the web server.the underlying conniction was closed:an unexpected error occurred on a send"

install "update to support web application projects" error

the project type is not supported by this installation

assembly generation failed -- referenced assembly does not have a strong name

problems / questions converting web site to web app project

does the wap work with visual web developer 2005 express edition ?

issue with aspnet_compiler.exe, web application project on machine without visual studio

folder icons not showen in 24 or 32 bit color

migration issue or ... ?

iis web server url in project file

msbuild integraction issue when publishing satellite assemblies

app.config/web.cong

sub web-project concept: possible while using local iis server

debug web service in web application project

mobile web forms and web asp.net project for vs 2005

problem with "<system.componentmodel.dataobjectmethod...."

can't access a file

developer's day to day productivity(wap vs wsp)

bug? asp:hiddenfield not auto created in designer.vb

webform - go to definition

any updates/replacements for nunitasp?

generator of designer file failed

atlas and wap

after successful converting a web app from 1.1 to 2.0 wap, solution won't open

team foundation version control and web site projects

 
Search This Site:

 
  Privacy | Contact Us
All Times Are GMT