473,386 Members | 1,652 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,386 software developers and data experts.

How to access Datalist Footer's Control


Hi to all
Is there a way to access Datalist Footer's Control properties from outside
of datalist event. Pls note that I mean not a datagrid, only for datalist.
Thanks
Kaung Htut Oo
Jul 22 '05 #1
4 5456
Try DataList.Items[DataList.Items.Count-1].Controls collection (assuming
Footer is the last item in the Items collection).

"Kaung Htut O via DotNetMonster.com" <fo***@DotNetMonster.com> wrote in
message news:51***********@DotNetMonster.com...

Hi to all
Is there a way to access Datalist Footer's Control properties from outside
of datalist event. Pls note that I mean not a datagrid, only for datalist.
Thanks
Kaung Htut Oo
Jul 22 '05 #2
No OK. Datalist.items contains data only, not includes footer and header
item. If u have another ways, pls inform me. Datagrid.items include both of
data and footer, header.
Thanks,
Kaung Htut Oo
Kh*****@gmail.com
"Siva M" wrote:
Try DataList.Items[DataList.Items.Count-1].Controls collection (assuming
Footer is the last item in the Items collection).

"Kaung Htut O via DotNetMonster.com" <fo***@DotNetMonster.com> wrote in
message news:51***********@DotNetMonster.com...

Hi to all
Is there a way to access Datalist Footer's Control properties from outside
of datalist event. Pls note that I mean not a datagrid, only for datalist.
Thanks
Kaung Htut Oo

Jul 22 '05 #3

Above code is OK only for datagrid, nor for datalist bacause datalist.items
collection not include footer, header item.
If u have another way, pls inform me.
Kaung Htut Oo
kh*****@gmail.com
Siva M wrote:
Try DataList.Items[DataList.Items.Count-1].Controls collection (assuming
Footer is the last item in the Items collection).

Hi to all
Is there a way to access Datalist Footer's Control properties from outside
of datalist event. Pls note that I mean not a datagrid, only for datalist.
Thanks
Kaung Htut Oo

--
Message posted via DotNetMonster.com
http://www.dotnetmonster.com/Uwe/For...neral/200507/1
Jul 22 '05 #4
Hi to all
I found the answer of my thread at http://www.dotnetmonster.com by
searching "DataList Footer" keywords.
Regards
Kaung Htut Oo
Myanmar
Kh*****@gmail.com

"Kaung Htut O via DotNetMonster.com" wrote:

Above code is OK only for datagrid, nor for datalist bacause datalist.items
collection not include footer, header item.
If u have another way, pls inform me.
Kaung Htut Oo
kh*****@gmail.com
Siva M wrote:
Try DataList.Items[DataList.Items.Count-1].Controls collection (assuming
Footer is the last item in the Items collection).

Hi to all
Is there a way to access Datalist Footer's Control properties from outside
of datalist event. Pls note that I mean not a datagrid, only for datalist.
Thanks
Kaung Htut Oo

--
Message posted via DotNetMonster.com
http://www.dotnetmonster.com/Uwe/For...neral/200507/1

Jul 22 '05 #5

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

Similar topics

1
by: Mike Malter | last post by:
I take it that the only way to add rows to a DataList control is through DataBind? If not, how do I manually add rows to a DataList control? I have searched everywhere and can't find an example...
1
by: KathyB | last post by:
Hi, sorry to be greedy with all my posts lately, but can you tell I'm doing new things this week? I've just done my first datalist (a simple one), that give me one column of records. I would...
2
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.
3
by: mahsa | last post by:
Hi,How can I access to checkbox control in footer template of datalist and fire the selectedchangeindex event? -- Regards mahsa
1
by: Lynn | last post by:
Hello, Sorry for the double post...I meant for this to go into this forum. I have built a datalist programatically using an article from MSDN...the article was written specifically for the...
2
by: Chris Fink | last post by:
This should be relatively simple but I am unable to find an asp:button tag in a datalist footer. I have tried it numerous ways including the FindControl method from the many events that the...
5
by: Martman | last post by:
First here is my goal: When a datalist is rendered to a page and you use the <itemtemplate> the datalist automatically prints a <tr> <td> start and end tags. Now this may not be too bad but I...
4
by: Kaung Htut O via DotNetMonster.com | last post by:
Hi to all Is there a way to access Datalist Footer's Control properties from outside of datalist event. Pls note that I mean not a datagrid, only for datalist. Thanks Kaung Htut Oo
1
by: Arielle | last post by:
Background: I have a generated datalist to display information and I need to add the capability to have a button (Edit button) so that users can change the information. I'm sure once I figure it...
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: 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: 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...
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
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
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...

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.