Home All Groups Group Topic Archive Search About

Re: DataGrid edited row and jScript

Author
15 Dec 2005 9:10 PM
shamila thakur
hi..
i tried implementing the same code.
i get teh correct id of the textbox in the datagird.. but
img.Attributes.Add("onclick","GetAd('"+ s + "');");
at the above line i get an error..
Object reference null..
( i 'm using C#)
Please let me know .. i 'm struggling with this code for past 3 days

*** Sent via Developersdex http://www.developersdex.com ***

Author
17 Dec 2005 12:12 AM
RCS
If you do a View Source on the outputted page - does the code look correct?

Show quoteHide quote
"shamila thakur" <trinit***@yahoo.com> wrote in message
news:OzzW1vbAGHA.1028@TK2MSFTNGP11.phx.gbl...
>
>
> hi..
> i tried implementing the same code.
> i get teh correct id of the textbox in the datagird.. but
> img.Attributes.Add("onclick","GetAd('"+ s + "');");
> at the above line i get an error..
> Object reference null..
> ( i 'm using C#)
> Please let me know .. i 'm struggling with this code for past 3 days
>
> *** Sent via Developersdex http://www.developersdex.com ***

Bookmark and Share