Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Client Side Calculation involving controls in datagrid template co

Reply
Thread Tools

Client Side Calculation involving controls in datagrid template co

 
 
Jim Huskey
Guest
Posts: n/a
 
      06-27-2005
Hi. I'm working on my first web project. I have a datagrid that contains
one column which is a template column. The template column contains a number
of controls, two of which are texboxes that contain numbers. When the value
of either change I want to caluate a number and update a label control in
the same template column. I'm confused about how to refer to the datagrid
row that contains the control whose value has change.

Any help would be greatly appreciated.
--
Jim Huskey
 
Reply With Quote
 
 
 
 
Michael Baltic
Guest
Posts: n/a
 
      06-29-2005
You would need to use javascript to find the control id of the cells you are
referencing.

The aspnet_client javascripts are in your wwwroot folder.

There are scripts to determine a cell id by column and row included in the
Infragistics grid. I am not too sure that the asp grid has them by default.

The .net 2.0 gridview does have this feature.
--
Staff Consultant II - Enterprise Web Services - Cardinal Solutions Group

Future Business Model - National City Mortgage


"Jim Huskey" wrote:

> Hi. I'm working on my first web project. I have a datagrid that contains
> one column which is a template column. The template column contains a number
> of controls, two of which are texboxes that contain numbers. When the value
> of either change I want to caluate a number and update a label control in
> the same template column. I'm confused about how to refer to the datagrid
> row that contains the control whose value has change.
>
> Any help would be greatly appreciated.
> --
> Jim Huskey

 
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
Client-side calculation without postback John Mason ASP .Net 1 04-09-2005 09:27 AM
Problem in adding template of server side control using client side scripts Lau Lei Cheong ASP .Net 1 10-13-2004 10:41 AM
client side vs server side events for controls Mong ASP .Net 5 05-07-2004 01:20 PM
ASP.NET Web Forms Validation Controls are Server-Side or Client-Side Validation? Matt ASP .Net 14 01-30-2004 09:15 AM
Adding custom client-side onClick handler with client-side validator controls Zoe Hart ASP .Net Web Controls 1 01-08-2004 10:45 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