I have a linkbutton control in gridview. The linkbutton shows multiple names seperated by comma. When i click on names i want to get the nameID which i can pass to sproc. I am not sure how do i bind the name and name ID to the gridview linkbutton?
I have a repeater with a nested LinkButton that passes record's unique identifier (ADRTYPECODE) to the same page.I would like to change its behavior to pass the same argument to a different aspx page.How do I make that page respond to an event fired by this button?
I have a repeater that has a LinkButton in the Item Template. The LinkButton displays a UserControl that consists of a FormView. The UserControl has an HTML Element that when clicked hides the UserControl by simply change the display of the control from 'block' to 'none'. If the 'Close' span is clicked, the UserControl is successfully hidden, but afterward, the 'Edit' linkbuttons no longer postback.
Im binding an image to a repeater and giving the image id a unquie value based on the id from the database. The problem im having is trying to find the control within the repeater as i dont know the exact id of the control as its generated at runtime.
What im trying to do is count how many items are bound then after the first one assign a new css class to the rest.
How am i able to find the controls id on itemDataBound ?
I have a simple user control that I have placed inside a repeater. I want to access it through the ItemDataBound event of the repeater. Here's my code so far:
Not so sure what to do about all of this. I have developed a simple calendar using an XML doc and a repeater. The parent repeater contains a child repeater that lists events based on the date. I have a User Control that has some unique capablities for control the date in a link button. I want the user to click on the User Control and be able to use the information to do something. Bottom line, I want to access the linkbutton inside the repeater.
I'm looking for the correct syntax to get me the last row of a repeater item and use it in a literal below. As you can see I have the item index syntax already. assume that there is a repeater control surrounding the literal already.
I have already bound the data so it will not use obitemdatabound .
<asp:Literal id="Rpt_ItemCount" runat="server" Text = '<%# (int) DataBinder.Eval(Container, ItemIndex"))%>'></asp:Literal>
I have a panel which has a repeater within it. Within the repeater I have a few controls. One of those controls is a Drop Down list which has an OnSelectedIndexChanged event. I can get this to fire without issue but I cannot find my DropDownList control within that repeater within the SelectedIndexChanged event . The repeater has an OnItemDataBound event and I can use the RepeaterItemEventArgs to find the control using e.Item.FindControl("ControlName") without issue but when that event occurs is NOT when I need to find the DropDownList.
What I want to do is have another control's Visible property be set to "true" when the value of the DropDownList meets a certain value. As far as I know I can only do this during the SelectedIndexChanged event and I can't change the signature of the event by trying to use RepeaterItemEventArgs.
I am having a LinkButton inside a repeater control and I want to have hover popup when I mouse over it. How can I do it? I have seen couple of examples, but they are using <a href> tag..I want it on LinkButtonn.