In the repeater, there are a number of dropdownlist controls. Each one is hooked up to an event which triggers when changed. When one instance is changed I would like to disable all other instances of the DDL control.
I have a listview whit "select" button.... i want when i click this button the listview should show a Delete buttonn What is wrong in my code ..i press select button there is noting hapning??
I am using a repeater control and i want to use one more repeater control inside the existing repeater control .Â
Like this:
<asp:Repeater ID="Repeater1" runat="server">   <HeaderTemplate> </HeaderTemplate>      <ItemTemplate> <!-- start child repeater -->    Here I want to use one repater control     <!-- end child repeater --> </ItemTemplate> </asp:Repeater>
I need to access a control inside a repeater and change its properties. To enable it or not. I got an erorr message Object reference not set to an instance of an object. Here is my code inside a method. protected void
rptCAP_ItemDataBound(object sender, RepeaterItemEventArgs e) { LinkButton lnDel = (LinkButton)rptCap.FindControl("lnkDelete"); lnkDel.Enabled = false; //<<<<< this is where the error occur }
I have bunch of HTML code I am using to make rounded edge boxes on my controls. Is there a way to take this code and turn it into some kind of control or something so I do not have to keep pasting 10 lines of HTML code around everything I do?
One additional thing to note, the number HTML tags used inside the inner most DIV will change depending on where I use it in my site. So in some cases I will only have 1 tag and 1 tag but in other cases I could have 1 tag, 1 tag, 3 tags, and a HTML table. How can I make that work?
I am trying to experiment with things as a beginner and want to use paging in Repeater Control. Since Repeater control is light weight, I want to use that. I have heard of two methods: PagedDataSource class and the other that I dont remember. I wanted to attempt both of them. How do I proceed?
I have a repeater control on a web page getting filled with data from a datatable in the vb.net code behind. I know the datatable contains 2 rows but for some reason only 1 row is being displayed in the repeater.
I am trying to perform DML(Insert,Update,Delete) operations and also retreive the data to bind the details to GridView or Repeater controls using single stored procedure using c# language
i have a Repeater in my page and i databind it programatikly with linq to data there is't any problem and it work .i want also add an image control to my repeater but my image is byte() and i want to check if the image is not empty than navigation url will be
"~/Images/ProfileImage.ashx" & p.UserID.ToString() but if the image is empty than navigation url will be "~/Images/EmptyProfile.jpg"
In the past, I've created a GridView where users can click a linkButton control to fire a select command, and in the code behind, I had some code to work out what row had been selected.
I want to have a form that will display check boxes whose label is dervied from a databse or via an xml based service. I figure repeater would be the way to go. I want to display 5 check box per row and need to have paging .what is the best way to go about this?sample of what i am trying to achievehttp://i54.tinypic.com/2nvfqty.jpg
I have a user control that I place on a page severl times. When I make a selection on a ddl in one one control the SelectedIndexChanged event fires for all the control on the page for that ddl. So I get duplication of an insert that I do. Is there a ay to make sure these events are isolated so this doesn't happen.
I have an ASP.NET page inside of an ASP.NET Master page, and inside the page I have two instances of the same web user control. I have given them different IDs, but when I click a button on the first user control it causes the second user control to do the expected activity and the first one does nothing. Is there something I need to do to make sure that the controls don't get confused?
What I am trying to achieve:I am trying to take the value of the selected index and depending on what this value is (e.g. the case selection in the code below) run a different query on the dataset and then create a repeater control dynamically to output each row with an item template that I can use css to style.
In other words: When a user choses a list item it shows only rows from the dataset that match the list item chosen. For example if a user choses Closed Tickets they only see rows from the dataset that have a STATUS of 'CLOSED'.
What I have done so far: [Code]....
What I'm struggling with at the moment is:
1) That the case selection works but the selection of the appropriate data from the dataset doesn't seem to be happening. And this data isn't getting stored in rows as I had hoped.
2) I'm not sure entirely how to display the dynamically created repeater control in the admin.aspx page.
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:
[Code]....
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.
And I am binding these repeater control with some datasource.
My requirement is to have focus on first item row and i should be able to use tab ket to navigate between various rows of the repeater control(which is ultimately a table)
There is no anchor(<a>) control inside the table.
I am using onclick event on table row which does something in my application.
I want my user to use TAB key to navigate between rows.