473,396 Members | 1,866 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Databinding a datalist within a panel

Apparently I've seen a few cases where datalists and other controls
dont bind properly when in a pageview or panel.

I was curious if there were any current work arounds. I can solve the
problem with a datagrid, however its really trivial information I wish
to display, and dont think I should relaly need to use something
heavyweight like that.
Thank you guys in advance.
Nov 18 '05 #1
2 1572
Hi,

there should be nothing special in databinding DataList etc inside any
control. You just locate the control from Panel's Controls collection and
bind the instance. Do you have any specific example/scenario that doesn't
work for you?

--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist
http://blogs.aspadvice.com/joteke

"Ronald Frown" <ww*****@charter.net> wrote in message
news:e2**************************@posting.google.c om...
Apparently I've seen a few cases where datalists and other controls
dont bind properly when in a pageview or panel.

I was curious if there were any current work arounds. I can solve the
problem with a datagrid, however its really trivial information I wish
to display, and dont think I should relaly need to use something
heavyweight like that.
Thank you guys in advance.
Nov 18 '05 #2
Hi,

there should be nothing special in databinding DataList etc inside any
control. You just locate the control from Panel's Controls collection and
bind the instance. Do you have any specific example/scenario that doesn't
work for you?

--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist
http://blogs.aspadvice.com/joteke

"Ronald Frown" <ww*****@charter.net> wrote in message
news:e2**************************@posting.google.c om...
Apparently I've seen a few cases where datalists and other controls
dont bind properly when in a pageview or panel.

I was curious if there were any current work arounds. I can solve the
problem with a datagrid, however its really trivial information I wish
to display, and dont think I should relaly need to use something
heavyweight like that.
Thank you guys in advance.
Nov 18 '05 #3

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

Similar topics

1
by: oafyuf | last post by:
Hi, I'm trying to learn ASP.NET by doing a pilot project: I have a DataGrid which contains a nested DataList. I want to iterate through the SQLDataReader for the DataGrid and populate each...
1
by: Ronald Frown | last post by:
Apparently I've seen a few cases where datalists and other controls dont bind properly when in a pageview or panel. I was curious if there were any current work arounds. I can solve the problem...
4
by: Joe Van Meer | last post by:
Hi, Is the datalist meant for one table or can I use it to display information from 2 different tables? Or should I be looking at a datagrid instead? I began my code and kinda ran into a snag...
4
by: Lerp | last post by:
I have a dataset that is made up of info from 2 tables. I have created a relationship between these 2 and have added it to the dataset. My datalist is working perfectly minus one little problem,...
1
by: Jim Heavey | last post by:
I have 2 Databinding questions and perhaps the answer is the same. I have a dataset in which I DO NOT have a field which identifies the record number but I want to show the specific item number of...
6
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...
1
by: footballhead | last post by:
I have a datalist on a page and I'd like to inlcude a panel that I can show or hide for each item in the list. Actually, I only want to show 1 panel at a time. Is this possible? I was thinking...
9
by: Nathan Sokalski | last post by:
I have a very simple UserControl which contains an Image and a Label, which I use to display an image with a caption. I am using this control inside a DataList, setting the two Public variables...
0
by: rb | last post by:
I'm struggling with (probably) basic things using SqlDataSource and DataList. Here's the problem: I need to read the resultset returned by SqlDataSource to perform actions related to visual...
2
by: Sebastian | last post by:
Hi, I want to skin the templates of an asp:DataList. So I have to do data binding in the skin (I didn't find another comfortable way to do that). As soon there's a <%# ... %tag in the skin, VS...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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,...
0
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...
0
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...
0
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,...

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.