Re: Looking for a better solution

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Zuzar Lakdawala (zuzar.lakdawala_at_ness-gsg.com)
Date: 05/17/04


Date: Mon, 17 May 2004 09:54:20 +0530

Hi Rajesh,
What alternatively you could do is that at the time of binding your data to the datagrid you can trap the item data bound event of the datagrid, and in this event handler you can set a hidden fields, and then read it from the client side and do whatever you want to do.

Regards,
Zuzar L.

  "Ing. Rajesh Kumar" <iambad(WithoutThis)@post.cz> wrote in message news:uxh7rd4OEHA.3312@tk2msftngp13.phx.gbl...
  Hi Everybody
  I have a web application where i am reading data into a Dataset from a *.xml file and binding it to a datagrid so i can edit it in the web form.
  The same Dataset i am entering into a Textbox so a JavaScript function can read it every 30 seconds and check some status and pop up a message if needed.

  Everything is working fine, but i don't think that entering the same data into two different controls is a good idea so i just wanted to ask if there is an elegent way of doing this so I can remove the textbox and read data from the DataGrid at the client side or do something similar ?

  Thanks in advance
  Raja


Quantcast