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

collecting the information of a custom DataBoundControl

I have successfully gotten thru and coded up a basic

MyDataBoundCntl : DataBoundControl

Imagine I have a list of 3 people.

John

Mary

Joe

The output of my control is a table, with 3 rows.

By their name, I've added a checkbox ( Checkbox cb = new Checkbox(); the
I add it to the cell, the cell to the row, the row to the table ).

So the output looks perfect.

John [ ]
Mary [ ]
Joe [ ]
_Click Here_

where Click Here is a linkbutton (asp.net) and of course a href on the page.

(right now, click here is not a part of the control, but rather a seperate
button I put on the page)

Ok.... I got all that........

Now I want to collect which checkboxes were checked.

I'm stuck. And my googling keeps bringing up 1.1 stuff, which may or may
not be helpful.

What's the next step.? Example url's are ok .........



Jan 25 '07 #1
1 1366
Hi,

Just take a look....
http://msdn2.microsoft.com/en-us/library/ms366539.aspx
Might help you...

Thanks
Masudur

On Jan 25, 10:29 pm, "sloan" <s...@ipass.netwrote:
I have successfully gotten thru and coded up a basic

MyDataBoundCntl : DataBoundControl

Imagine I have a list of 3 people.

John

Mary

Joe

The output of my control is a table, with 3 rows.

By their name, I've added a checkbox ( Checkbox cb = new Checkbox(); the
I add it to the cell, the cell to the row, the row to the table ).

So the output looks perfect.

John [ ]
Mary [ ]
Joe [ ]

_Click Here_

where Click Here is a linkbutton (asp.net) and of course a href on the page.

(right now, click here is not a part of the control, but rather a seperate
button I put on the page)

Ok.... I got all that........

Now I want to collect which checkboxes were checked.

I'm stuck. And my googling keeps bringing up 1.1 stuff, which may or may
not be helpful.

What's the next step.? Example url's are ok .........
Jan 25 '07 #2

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

Similar topics

1
by: Tim | last post by:
I have an interesting challenge in front of me and I am not sure where to begin. I need to accomplish the following: While a user is visiting our website, I need to launch a process to...
2
by: Kumar | last post by:
Hi Folks, I would like to develop one custom application using asp.net,C#,SQL server for tracking all our company servers. Most of the functionality is similar to HP Systems Insight Manager ...
1
by: Ddraig | last post by:
Howdy, I've got a little project going and I am trying to figure out a good way to do this. But since I'm still learning I'm probably missing a few obvious steps. Also not sure if I have my...
0
by: Jaffa | last post by:
Hi, I am looking to write my own web control. I have subclassed DataBoundControl so that I could use the datasourceid when they are looking at the properties of my control. But this is not what...
17
by: romixnews | last post by:
Hi, I'm facing the problem of analyzing a memory allocation dynamic and object creation dynamics of a very big C++ application with a goal of optimizing its performance and eventually also...
14
by: Rolf Welskes | last post by:
Hello, I have an ObjectDataSource which has as business-object a simple array of strings. No problem. I have an own (custom) control to which I give the DataSourceId and in the custom-control...
0
by: =?Utf-8?B?TWFyayBHaWxrZXM=?= | last post by:
I have designed and written a custom menu like server control. The control inherits from DataBoundControl and implements INamingContainer and IPostBackEventHandler interfaces. The control uses only...
5
by: Phil | last post by:
What methods do we have of collecting information about browsing history? We would like to see the last few links that a client followed, prior to entering our site. I thought $_SERVER object...
0
by: Sebastian Paul | last post by:
Hi there, I created a custom DataBoundControl, but it is not automatically shown in the toolbox when I build the Website that references the project. When inheriting directly from WebControl,...
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: 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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
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,...

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.