473,594 Members | 2,663 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to get repeater cell values without using ID

I needed to get each values of a particular cell ..i.e cell value is
integer and add each value of the column and display it in the
footer..can anyone suggest

Aug 9 '07 #1
1 4027
Why don't you want to use id?

The way of doing your sort of things is to add runat="server" to the control
that holds the value in the ItemTemplate. Then you can access the control in
the ItemDataBound or PreRender event with FindControl method called for
every repeater item.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
<ks*********@gm ail.comwrote in message
news:11******** **************@ d55g2000hsg.goo glegroups.com.. .
I needed to get each values of a particular cell ..i.e cell value is
integer and add each value of the column and display it in the
footer..can anyone suggest

Aug 9 '07 #2

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

Similar topics

1
1934
by: Henry Nelson | last post by:
Hi all I'm very new to dotNet and just trying to get my head around the right way to do the thing that I would normally do in asp. In asp I would loop through a recordset and output all the html dynamically for the layout I want. I have seen some examples of using a repeater and they seem to be the thing to use when you don't want a table of results, but I'm not sure how to change the <ItemTemplate> depending on the contents of the...
0
6141
by: Michael | last post by:
I've seen several posts relating to this problem, and tried EnableViewState="False", but it does not work for me. A twist in my problem is that I am adding the templates for the repeater dynamically (something I need to do for my application). The problem is that when I click on the button in the repeater the ItemCommand event does not seem to be fired. Can anyone tell me what I am doing wrong? //////////////WebForm1.aspx: <%@ Page...
1
2054
by: fredda054 | last post by:
Hi everybody ! With help from some nice people here I'm getting close to solve my problem with dbnull values in a repeater. I got it pretty much done, I just ned to fix some syntax. I get a parse error on this code because it's not well formed. Can someone please take a look at it and try to find what I'm doing wrong...I've been staring at it for so long now I can't tell up from down. I know it has to be a "'" or a '"' somewhere...
1
1706
by: Frank | last post by:
I am having a problem with using a repeater control. I have no idea what I am doing wrong. It compiles but nothing displays. Can anyone help? Here is the code: ASPX File: <%@ Page language="c#" Codebehind="profile.aspx.cs" AutoEventWireup="false" Inherits="MarketZar.accts.profile" %> <html>
4
3535
by: Marc Llenas | last post by:
Hi there, I have a repeater that returns x rows from a main table. I need to display some info stored on a secondary table that is linked to the main using a one-to-many relationship. Instead of using a nested repeater, I would like to manually do some checks and display (or not) info contained on the secondary table.
3
3899
by: NullQwerty | last post by:
Hey folks, I've got a DataGrid that has gotten a little out of control and really slow because of its complexity (bunch of Template Columns too). For performance reasons, I'm looking to change this. I don't care about development time or even maintainability...at this point I need to go for fastest performance. Which of the following do you think would be quickest?:
0
406
by: ksenthilece | last post by:
I needed to get each values of a particular cell ..i.e cell value is integer and add each value of the column and display it in the footer..can anyone suggest
1
7761
by: =?Utf-8?B?U3RlZmFu?= | last post by:
Hi, I've got a repeater control, that has a checkbox in the first column, and then a couple of columns with data after that. What i want to achieve, is that the checkbox in the first column gets selected if the user clicks in any cell in that row, WITHOUT a postback! Just like if he clicked directly in the checkbox. Any ideas on how to do this? Any links maybe? (If possible without ajax, but if only possible with ajax i'm interested in...
1
1739
by: nihaa | last post by:
Hi , i want to add subheadings to a repeater based on the categories. I am able to do this on gridview control but not in arepeater. this is the code used in girdview if (e.Row.RowType == DataControlRowType.DataRow) {
0
7954
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8377
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8016
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8244
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6669
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
5836
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5415
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3905
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1218
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.