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

DataGrid&CheckBox

I have a problem with handle an exception on DataGrid - TemplateColumn

I have a datagrid with many columns. One of them is itemID. Second is
presented with checkbox. I would like to run some procedure ( sth(ItemID) )
when i change the checkbox. I don't know how to do this.

thank you, Jure
Nov 17 '05 #1
2 1230
Maybe use Change the autopostback to ture and the command name to ur Sub

"Jure P" <ju***********@guest.arnes.si> wrote in message
news:ut*************@tk2msftngp13.phx.gbl...
I have a problem with handle an exception on DataGrid - TemplateColumn

I have a datagrid with many columns. One of them is itemID. Second is
presented with checkbox. I would like to run some procedure ( sth(ItemID) ) when i change the checkbox. I don't know how to do this.

thank you, Jure

Nov 17 '05 #2
When I use "oncheckedchanged=someSub" it works, but i would like to do
"oncheckedchanged=someSub(ID_of_This_Row)"
"Vincent V" <vincentv@-n0-5pam-optushome.com.au> wrote in message
news:#S**************@TK2MSFTNGP10.phx.gbl...
Maybe use Change the autopostback to ture and the command name to ur Sub

"Jure P" <ju***********@guest.arnes.si> wrote in message
news:ut*************@tk2msftngp13.phx.gbl...
I have a problem with handle an exception on DataGrid - TemplateColumn

I have a datagrid with many columns. One of them is itemID. Second is
presented with checkbox. I would like to run some procedure (

sth(ItemID) )
when i change the checkbox. I don't know how to do this.

thank you, Jure


Nov 17 '05 #3

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

Similar topics

6
by: Derek | last post by:
I have an aspx page where I use a reversebind and templates to edit the entire datagrid at one time. I added a textbox and button to change the parameter criteria and then rerun the databind2...
1
by: thejackofall | last post by:
Hi. I have a checkbox column in my datagrid like this: <Columns> <asp:TemplateColumn HeaderText=" "> <ItemTemplate> <asp:CheckBox ID='Selection' runat="server"></asp:CheckBox> <asp:Label...
3
by: Randy Rubin | last post by:
Here is what I'm trying to do. I need the user to make multiple row selections, either using a checkbox column or selecting Multiple Rows from the DataGrid. Is there a way to do this and if so...
1
by: David McCormick | last post by:
I have been scouring the message boards before I posted this question hoping to find an answer regarding datagrids and their behaviour after a sort command has been invoked. What I am trying to...
4
by: John Boy | last post by:
Hi, Can anyone help. This is really doing my nut in. 3 years ASP exp. and now doing .DOT which is a step in the wrong direction. Basically I am left with the code of a guy who has left. When I...
1
by: sianan | last post by:
I tried to use the following example, to add a checkbox column to a DataGrid in an ASP.NET application: http://www.codeproject.com/aspnet/datagridcheckbox.asp For some reason, I simply CAN'T get...
10
by: Lorie0114 | last post by:
Hello, We have an issue that I do not know how to resolve. Our website has several hundred reports. There are a handful of them that are causing issues when there is no interaction for a couple...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
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
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...

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.