Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > accessing values from checkbox created with ITemplate

Reply
Thread Tools

accessing values from checkbox created with ITemplate

 
 
rodrigo guerra
Guest
Posts: n/a
 
      07-14-2003
hi folks, i have a checkbox in my datagrid created this way:

http://www.superdotnet.com/show_article.aspx?pkID=116

with C# code-behind, TemplateColumn and a custom class to add the checkbox.

how can i access the values from the checkbox in the datagrid to see if itīs
checked or not. ?

thanks.


 
Reply With Quote
 
 
 
 
rodrigo guerra
Guest
Posts: n/a
 
      07-15-2003
solved in other way.. i put the checkbox inside the template colum using
property builder
used kumar example:
http://v4cnet.europe.webmatrixhosting.net/

and not using code behind (template colunm/custom class/InstantiateIn like
the below url.) with code-behind looks like it looses the reference to the
template colum (that is the checkbox) and canīt find the value...
only god knows why..!!?

anyway.. solved my problem.

THANKS MAN !

"rodrigo guerra" <> escreveu na mensagem
news:...
> hi folks, i have a checkbox in my datagrid created this way:
>
> http://www.superdotnet.com/show_article.aspx?pkID=116
>
> with C# code-behind, TemplateColumn and a custom class to add the

checkbox.
>
> how can i access the values from the checkbox in the datagrid to see if

itīs
> checked or not. ?
>
> thanks.
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CheckBox Itemplate column in a Datagrid Kulwinder ASP .Net Web Controls 5 10-24-2005 05:21 PM
dyanmic checkbox/itemplate/checkedchanged uncheck issue marian ASP .Net Datagrid Control 0 08-08-2005 06:13 PM
Newbie:Access custom Itemplate(not datagrid/repeater/datalist) control values on postback Luhar Powell via .NET 247 ASP .Net Building Controls 0 04-01-2005 04:59 PM
Newbie:Access custom Itemplate(not datagrid/repeater/datalist) control values on postback Luhar Powell via .NET 247 ASP .Net 0 04-01-2005 04:58 PM
Datalist Edit button created in ITemplate class Charles ASP .Net Web Controls 2 03-29-2005 06:57 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57