473,324 Members | 2,178 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,324 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 1565
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: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.