Ask a Question related to ASP.NET General, Design and Development.
-
Learning SQL Server #1
Re: getting column value in ItemCreated datagrid event
got it. use DataItem("columnname"(
"Learning SQL Server" <no.mail.com> wrote in message
news:ulsj5VNYDHA.4040@tk2msftngp13.phx.gbl...and> Im trying to get the value of a column (its a key column) from a datasetI> append it to a Javascript call using Attributes.Add. But I'm not sure whate.Item.?????> need for this.
>
> I'm using the ItemCreated event, but which member of Item do I use to fill
> the line?
>
> e.Item.Attributes.Add("onDblClick", "DoSomeJavascriptStuff('" &> & "')"
>
>
> thank you for your help
>
>
>
>
>
Learning SQL Server Guest
-
how do i access a dropdownlists selected value in a datagrid edititemtemplate column from the selectedindexchanged event of another dropdownlist in a datagrid edititemtemplate column
i am trying to trap the value of one dropdownlist (in a datagrid edititemtemplate column) at the time its selectedindexchanged event fires and use... -
Changing an image in a datagrid column in the ItemDataBound event
Hi, I have a datagrid that is bound to a datatable, I'm using TemplateColumns. The heading of two columns of the datagrid fire the... -
Using the DataGrid's ItemCreated event on PostBack
I have a DataGrid with a series of transactions and wish to highlight negative value items in red. This is simple on the initial DataBind, by using... -
Click event on ImageButton column in a datagrid
Hi I have a DataGrid with an ImageButton column. When I click on an imagebutton I get a postback but it doesn't run the OnImgBtnClick method. I... -
REPOST: Column [blah] is readonly on Datagrid UpdateCommand event
Forgive the repost, but this is really troublesome and I hope SOMEONE can shed some light on it. I am trying to update a datarow via in-place...



Reply With Quote

