473,385 Members | 1,940 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,385 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 1569
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
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.