Ask a Question related to ASP.NET General, Design and Development.
-
trinitypete #1
DataGrid OnItemBound find control
Fixed it, the first item received in the onItemBound event
is the datagrid header, this doesn't contain the button. I
just have to ensure that I only check the body.
Pete.not>-----Original Message-----
>Hi all,
>
>I have datagrid with a template column on it. This
>template column contains a link button with an ID of
>DeleteLink and it is server side. In the Datagrid
>OnItemBound I try to locate the link button so i can add
>client side script.
>
>i.e. ((LinkButton) e.Item.FindControl
>("DeleteLink")).Attributes.Add("onclick","DoSomet hing()")
>
>I always get object reference not set or similar - Its>finding the button with an ID of DeleteLink. If I let the
>page render in the browser and look at the source the ID
>of the link button has been renamed (prefixed with Cell
>Name etc) Am I missing something here?
>
>Pete.
>.
>trinitypete Guest
-
Best way to find control in Application
First week of flex and I am trying to determine the quickest most efficient way to find a control in my flex app. For instance I have this in my... -
Find Control in Datagrid
Hi, I have a datagrid and I'm wanting to access one of the hyperlinks which is located in Template Column i.e. <asp:TemplateColumn... -
how to find control in ItemTemplate of datagrid
hi, I had a linkbutton control in ItemTemplate, but i don't know how to find it. Shall i use findcontrol? ~thanks. -- Using Opera's... -
Control derived from datagrid, problem with adding other control and databinding (VB)
I all, my employer required me to add a bunch of control to a datagrid (such as a drop down list on top corner to select page size and prev, bunch... -
help needed to find the right control for the job.
1. Make sure values are sorted by country 2. You can use a repeater or a custom solution. Either way, the header is conditional, based on the...



Reply With Quote

