Populating DropDownList inside Repeater not working
I’m trying to populate a dropdown list inside a repeater, but I’m not being very successful.
I’m probably using the wrong EventArgs e.
I’m trying to populate a dropdown list inside a repeater, but I’m not being very successful.
I’m probably using the wrong EventArgs e.
I’m trying to accomplish simply adding a css class to a div on alternate rows in my <itemtemplate/> without going to the overhead of including a full blown <alternatingitemtemplate/> which will force me to keep a lot of markup in sync in the future.
I find my self having a repeater control which is being databound to an xml document. My client is now requesting that the Textbox’s which are being repeater can be either a Textbox or a Checkbox.
All the ways I can think to do this seem very hackish. What is the right way to do this, or at least most common?
I have an update panel that has UpdateMode of Conditional and ChildrenAsTriggers set to false. I only want a few controls to cause an asynchronous postback:
i have a repeater item that displays a double. occasionally the double seems to be coming out with 3 decimal places like this 1165.833. im trying to force it to two decimal places by wrapping it in a string.format method but it still comes out the same:
I want to select only one radio button but I cant do this.
Here is my code:
I’ve got a form that has to be a repeater on a webpage. I have a number parameter that tells me how many additional customer details are to be added. In this page I have a repeater control that needs to repeat items a set number of times. For each item there is a set of input boxes that needs an id appended to it. All I need to bind is a number for each additional input box ie <% #id %>. I dont know how to set up simple databind without a specific datasource, but just build one in a loop.
My folder hierarchy for the pages are (They are all in the same folder):
I need to do some server side logic on a row in my repeater when a CheckBox is clicked inside the repeater control.