473,402 Members | 2,072 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,402 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 1573
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: 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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...
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
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...
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.