473,783 Members | 2,564 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Datalist is overlapping other controls

Hello Everyone,

I am having this problem. I have this datalist and whenever I expand the
datalist by the plus button, it overlaps other controls on my web page and
sometimes these controls come over the dataList. Bleow is the code

<table width="100%">
<tr>

<td>
<center><asp:la bel id="Label1" runat="server"
Height="23px" Width="708px" BackColor="#4a6 3a5" Font-Bold="True" Text=" Web
Site"></asp:label></center>
</td>
</tr>
<tr>
<td align="center">
<asp:Label ID="lblName" runat="server"
ForeColor="#4A6 3A5" Font-Size="16pt"></asp:Label>
</td>
</tr>
<tr>
<td>
<asp:datalist id="DataList1" style="Z-INDEX: 101; LEFT:
11px; POSITION: absolute; TOP: 70px" runat="server" Height="100px"
Width="600px" DataKeyField="T rackerId" BorderWidth="2p x"
OnSelectedIndex Changed="DataLi st1_SelectedInd exChanged"
BackColor="Acti veBorder" BorderColor="Di mGray" BorderStyle="So lid"
Font-Size="Small" ForeColor="Blac k" CellPadding="1"
CellSpacing="0" RepeatDirection ="Vertical"
RepeatLayout="T able" RepeatColumns=" 0" GridLines="Vert ical">
<HeaderStyle
BackColor="#AAA ADD"></HeaderStyle><Al ternatingItemSt yle
BackColor="#FFF FC0"></AlternatingItem Style>
<ItemTemplate >

<table>
<tr>
<td>
<asp:ImageButto n ID="ExpandButto n" runat="server"
ImageUrl="image s/expand.jpg" Width="16" Height="16" CommandName="Se lect"
AlternateText=" Click here to see details" OnClick="showDe tails"
></asp:ImageButton >
</td>
<td>
<%# DataBinder.Eval (Container.Data Item, "TrackerId" ) %>
<%# DataBinder.Eval (Container.Data Item, "Completed" ) %>
<%# DataBinder.Eval (Container.Data Item, "Date Submitted") %>
<%# DataBinder.Eval (Container.Data Item, "Priority") %>
<%# DataBinder.Eval (Container.Data Item, "Issue") %>
</td>
</tr>
<tr>
<td>
</td>
<td>
<asp:datalist BorderColor="#c cffcc" BorderStyle="So lid"
Visible="false" id="Datalist2" runat="server" RepeatLayout="T able"
RepeatColumns=" 0" RepeatDirection ="Vertical">
<AlternatingIte mStyle BackColor="#FFF FC0"></AlternatingItem Style>
<ItemTemplate >
<table>
<tr>
<td>Date Submitted: </td>
<td><%# DataBinder.Eval (Container.Data Item,
"Date_Submitted ")%></td>
<td>DueDate:</td>
<td><%# DataBinder.Eval (Container.Data Item, "dateDue") %></td>
<td>DateComplet ed: </td>
<td><%# DataBinder.Eval (Container.Data Item, "date_completed ")
%></td>
</tr>
<tr>
<td>
Assigned To:

</td>
<td<%# DataBinder.Eval (Container.Data Item, "Name")%></td>

</tr>
<tr>
<td>
Department:
</td>
<td>
<%# DataBinder.Eval (Container.Data Item, "QueueName" )%>
</td>
</tr>
<tr>
<td>
Priority:
</td>
<td>
<%# DataBinder.Eval (Container.Data Item, "priorityName") %>
</td>
</tr>
<tr>
<td>
Location:
</td>
<td>
<%# DataBinder.Eval (Container.Data Item, "Location") %>
</td>
</tr>
<tr>
<td>
Type:
</td>
<td>
<%# DataBinder.Eval (Container.Data Item, "category") % /
<%# DataBinder.Eval (Container.Data Item, "type")%>
</td>
</tr>
<tr>
<td>
Issue:
</td>
<td>
<%# DataBinder.Eval (Container.Data Item, "issue")%>
</td>
</tr>
</table>
</ItemTemplate>
</asp:datalist>
</td>
</tr>

</table>
</ItemTemplate>
<SeparatorTempl ate>
<hr>
</SeparatorTempla te>

</asp:datalist>
</td>
</tr>
<tr>
<td>

</td>

</tr>
<tr>
<td>

</td>

</tr>
<tr>
<td>

</td>

</tr>
<tr>
<td>

</td>

</tr>
<tr>
<td>

</td>

</tr>
<tr>
<td>

</td>

</tr>
<tr>
<td>

</td>

</tr>
<tr>
<td>

</td>

</tr>
<tr>
<td>

</td>

</tr>
<tr>
<td>

</td>

</tr>
<tr>
<td>

</td>

</tr>

<tr>
<td>Request:</td>

</tr>
<tr>
<td align="left" style="height: 82px">

<asp:TextBox ID="txtRequest " runat="server"
TextMode="Multi Line" Width="596px" Height="79px"></asp:TextBox>
</td>


</tr>

<tr>
<td >
Type Of problem/Request:

<asp:DropDownLi st ID="ddlProblem " runat="server"
Width="408px"></asp:DropDownLis t>

</td>

</tr>
<tr>
<td >
Add New Request: <asp:TextBox ID="txtnewReque st"
runat="server" TextMode="multi Line"></asp:TextBox>
</td>
</tr>
<tr>
<td >
Location:

<asp:RadioButto n ID="rdbCorona" GroupName="Loc"
runat="server" Text="Corona" ForeColor="Blac k" />
<asp:RadioButto n ID="rdbStk" GroupName="Loc"
runat="server" Text="Stockton" ForeColor="Blac k" />
<asp:RadioButto n ID="rdbState" GroupName="Loc"
runat="server" Text="Statewide " ForeColor="Blac k" />
</td>
</tr>

</table>
<table align="center">
<tr align="center">
<td>
<asp:Button ID="btnSubmit" runat="server" Text="New
Request" OnClick="btnSub mit_Click" />
</td>
</tr>
<tr>
<td>
<%--<asp:DropDownLi st ID="ddlProblem " runat="server"
Width="408px"></asp:DropDownLis t>--%>
</td>

</tr>
</table>
Jun 27 '08 #1
0 1254

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
5234
by: Leo Duran | last post by:
Hi, I am working on an app right now that makes extensive use of the DataList control. I chose the DataList because I need to do multi row formatting. I am using it like so.
1
2673
by: Scott Schluer | last post by:
Hello, I've got myself a small problem and I'm hoping someone can help. I have a DataList called dlProducts (displays products from a database). Within the <ItemTemplate> container of the DataList, I have a PlaceHolder control called phVariations. During the ItemDataBound event for dlProducts, I dynamically create a few DropDownLists (again, from a database) and .Add the DropDownList to the PlaceHolder control. That all works just...
4
3097
by: V. Jenks | last post by:
What seems like a simple thing is apparently not so straightforward? I have a datalist. Inside of that datalist is an <itemtemplate> secion which contains other server controls such as a label, a radiobuttonlist, etc. I'm driving myself insane trying to figure out how to get
10
2856
by: Bharat | last post by:
Hi Folks, Suppose I have two link button on a page (say lnkBtn1 and lnkBtn2). On the click event of the lnkbtn1 I have to add a dynamically created control. And On the click event of the lnkBtn2 I have to add a datalist control. Using this datalist control I should be able to add edit, modify and cancel the items listed in this control. Here is how I designed. I used placeholder to add the controls dynamically to the page on the click...
6
2189
by: tshad | last post by:
I need to get to a status label I have on my footer section of my datalist. There is no event happening that would go to the footer. I am just doing some processing and want to update the label on the footer. At the moment, I go through the dataListItems like so: for each oItem as DataListItem in DataList1.Items trace.warn("inside for loop oItem type = " & oItem.itemType.ToString())
0
3948
by: Isz | last post by:
PROBLEM: This problem is related to the postback and handling events correctly. BACKGROUND: I have a datalist which acts as a tabbes list with horizontal layout. This datalist is bound to a strogly typed collection I called TabCollection which is a collevtion of items called tab. Each tab is as follows:
4
3239
by: Charlie Brown | last post by:
I have a form with 2 custom controls that can be dragged around by a user. How can I check if they overlap each other without performing some kind of Collision detection on them? Is there anything in GDI to check for overlapping controls?
1
1225
by: rn5a | last post by:
An ASP.NET Form has different server controls like Panels, Labels, TextBoxes, HiddenFields etc. The Form has a DataList as well. This is how the DataList looks: <form runat="server"> <asp:DataList ID="dlUsers" runat="server"> <HeaderTemplate> <table border=2> <tr> <th>First Name</th>
4
3987
by: Peter | last post by:
I have a DataList and each item in the datalist has an imge, I want to change the datalist item image on the client side when user clicks a button. How would I do that with JavaScript, does anyone has an example of how to change a DataList item with JavaScript? Thank You Peter
0
9480
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10315
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10147
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10083
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9946
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8968
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5379
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2877
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.