Good day guys! I just want a little help on how to reference a repeater control in a function. Im using c#.net. My code below: private void Load_Childrean_byTypeID(int TypeID, **repeatername reference here**) { SqlDataAdapter mycommand = new SqlDataAdapter("Select Id, FoamType_ChildName, ChildIcon_ClassName, ParentTypeID From tbl_ProductType_Children Where ParentTypeID = " + TypeID, Conn); DataSet ds = new DataSet(); mycommand.Fill(ds); repeatername.DataSource = ds; repeatername.DataBind(); mycommand.Dispose(); ds.Dispose(); } A repeater reference should be put next on the TypeID specified in **bold text**. Thank you!

Member Avatar
Member Avatar
+0 forum 1

. Saturday - 23-Aug-'14 . I have an extra LinkSys WRT54G WiFi ROUTER. . I wish to use it as an amplifier/EXTENDER/REPEATER in conjunction with another WRT54G equipped with range-expanding antennas. . Is this possible ? ? .

Member Avatar
Member Avatar
+0 forum 7

I purchased a Linksys N600 PRO Wi-Fi Range Extender because I would like to be able to work in my backyard. The product claims to expand coverage up to 7500 square feet which I take to mean a radius of around 85 ft. Maybe I should expect less because outside walls decrease the signal. But I did not expect to have the signal vary so much and for my laptop to frequently lose the connection. The setup software tests the signal strength where the extender is plugged in, so I am sure it is close enough to my wireless router. …

Member Avatar
Member Avatar
+0 forum 2

I have 2 routers. An Asus RT-N65U and a D-link dir-605L. I know the dir-605L is WDS capable. But can I make it a repeater of the Asus router? Or will dlink routers only serve as repeaters to other D-link primary routers?

Member Avatar
Member Avatar
+0 forum 2

i have a repeater in one page to which me load the data from database now i want to click a button and i get the value of a repeater specific row data and kept data in session and access that data an another page.plz help me any one have any idea or any simple code. i will be very thank full for yours this kindness. YOur sinser Regard Mian sahib Jan . me have the following code.now i to access these value from a repeater and keep it in session. ///// <asp:Repeater ID="Repeater1" runat="server" > `` <table border="1" width="100%"> …

Member Avatar
+0 forum 0

Hi , i am working on a web project , and there is a page where i have to display news. i am using repeater control , and it is working fine , but i want to add a "read more" link on long posts , i searched a lot , but dnt get any idea , could u help me in this?????

Member Avatar
Member Avatar
+0 forum 2

I have the following repeater item: <asp:Repeater ID="RptLeaveRequests" runat="server" onitemdatabound="RptLeaveRequests_ItemDataBound"> <ItemTemplate> <table id="tableItem" runat="server"> <tr> <td style="width: 100px;"> <asp:Label ID="lblDate" runat="server" Text='<%#Eval("Date", "{0:dd/M/yyyy}") %>'></asp:Label> </td> <td style="width: 100px;"> <asp:Label ID="lblHours" runat="server" Text='<%#Eval("Hours") %>'></asp:Label> </td> <td style="width: 200px;"> <asp:Label ID="lblPeriod" runat="server" Text='<%#Eval("AMorPM") %>'></asp:Label> </td> <td style="width: 200px; font-size:10px;"> <asp:Label ID="lblNote" runat="server" Text='<%#Eval("Note") %>'></asp:Label> </td> <td style="50px"> <asp:RadioButtonList ID="rbtVerified" runat="server" > <asp:ListItem Value="1">Accept</asp:ListItem> <asp:ListItem Value="2">Reject</asp:ListItem> </asp:RadioButtonList> </td> <td> <asp:TextBox ID="txtNotes" runat="server" ></asp:TextBox> </td> </tr> </table> </ItemTemplate> </asp:Repeater> on page load I am binding the Repeater: else if(Convert.ToInt32(Session["UserLevel"]) != 0 && Convert.ToInt32(Session["UserLevel"]) < 151) { RptLeaveRequests.DataSource = newLeaveLogic().GetManagerUnverifiedLeaveRequests(Convert.ToInt32(Context.User.Identity.Name)); hasRequests = true; RptLeaveRequests.DataBind(); } …

Member Avatar
Member Avatar
+0 forum 1

Hello, I've been trying to set up a wireless repeater for my house for the past day and I am stumped as to why it is not working. I have two netgear routers, one is a wndr3300 and the other is a wndr4000. Here's what I tried so far. - I set up the SSID, channels, and security for the base station router(wndr4000).(It would only let me use WEP encryption for Wireless repeating for some reason) - I then enabled the wireless repeating function on the base station router, and put in the 1st MAC address of the repeater router(wndr3300. …

Member Avatar
Member Avatar
+0 forum 2

Hey guys, I got a headache today because of this (little?) problem. I hope you can help me find the solution. I have a repeater which contains a button and an image in each row/item. I already set the button's commandargument with the ID (key) of the data. What I want is, when the button is clicked (fire the Repeater.ItemCommand event), I want to mark the ItemIndex being fired using the conditions: button.visible=false and image.visible=true My problem is, even after I click other datarow's button, the mark of the previous datarow doesn't change. The button is still invisible and the …

Member Avatar
+0 forum 0

Hello, I have a repeater that has multiple controls in them such as checkboxes, dropdownlists and textboxes. In my case I have a repeater with two items in it. The first items list works fine, but the second has two textboxes returning the initial value that was bound on page load while other controls in the the second repeater item works fine. I've been searching for an answer for countless hours and have been unable to find an answer, if anyone can help that would be greatly appreciated. I do not have the code on hand but its very similar …

Member Avatar
Member Avatar
+0 forum 1

Hi all, I'm having a problem that in all likelihood some of you have already faced one time or another: the notorious inconsistency of a wireless network connection. I have one WinXP machine, that's connected to a wireless network via an access point. But sometimes, the access point loses the connection. It usually happens if I have just finished copying some very large file (3GB for example). I would have liked to configure WinXP to reboot/reset/repair-connection automatically whenever it loses contact with the wireless network. For example, if ping to wifi-router fails, repair connection. Does anyone have any suggestions on …

Member Avatar
Member Avatar
+0 forum 1

hi, This is a bit complex.. I have 2 nested repeaters.. and 3 datasources(in markup) <asp:SqlDataSource ID=data1 runat=server ConnectionString="<%$connectionstrings:MainServer %>" SelectCommand="select MatrixRiskFactorId,Name,MaxWeight from Matrixriskfactor" ></asp:SqlDataSource> <asp:SqlDataSource ID=data2 runat=server ConnectionString="<%$connectionstrings:MainServer %>" SelectCommand="select * from MatrixQuestion" ></asp:SqlDataSource> <asp:SqlDataSource ID=data3 runat=server ConnectionString="<%$connectionstrings:MainServer %>" SelectCommand = "select MatrixRiskFactorId,Value,text from MatrixRiskFactorScore where MatrixRiskFactorId=2"> <repeater id=rep1 datasourceid=data1> <itemtemplate> <%# DataBinder.Eval(Container.DataItem, "Name")%> <br/> <repeater id=rep2 datasourceid=data2> <headertemplate> <table> <th>Question</th><th>Score</th> <itemtemplate> <tr> <td> <%# DataBinder.Eval(Container.DataItem,"text") %> </td> <td> <asp:RadioButtonList id=radiolist1 runat=server DataSourceID=data3 DataTextField="text" DataValueField="value" ></asp:RadioButtonList> </td> </tr> </ItemTemplate> <FooterTemplate> </table> </FooterTemplate> </itemtemplate> </itemtemplate> </repeater> ================================================== **as you can see in data3.. the where clause has a fixed value...(2)** …

Member Avatar
Member Avatar
+0 forum 3

I'm working on highlighting repeater row. And then when i click on another row, the previous row becomes unhighlighted. So it's working, but only for a split second. Once the modalpopup appears, the highlight is gone. By the way, i have a linkbutton in every row that makes the modalpopup show, and i made all the labels inside the repeater as associatedcontrols of the linkbutton. So the texts inside the repeater all kind of serve as linkbuttons. I know that the highlight-unhighlight thing works because the effect persists when i only click on the areas without text. I know the …

Member Avatar
+0 forum 0

Hi All, Hope u guys are doing well. I am a beginner developer working on my first project at my first job. I am developing a reporting system which includes searching report and filtering them depending on some criterias. I currently have 8 categories returned by a Stored Procedure develped by database admin at my work. My job is to create few boxes with the Titles where are those 8 categories. Number of categories can be varied so I have to create those dynamitically. Inside each box, there will be a checkboxlist which will dynamically be created data provided by …

Member Avatar
Member Avatar
+0 forum 6

Hi guys, I'm having some trouble finding a control... that is because this control is on gridview witch is inside repeater (let's call it rpt1) and this repeater is inside another repeater (this one, rpt2).. I have an ItemCommand on rpt1 witch I need to catch a dropdownlist item value that is created as an item template inside the gridview... but just can't find it.. I have tryed something like this: [CODE]DropDownList ddlPersons = (DropDownList)e.item.FindControl("ddlPersons");[/CODE] and also even this: [CODE]DropDownList ddlPersons = (DropDownList)this.Page.FindControl("ddlPersons");[/CODE] But no luck with both ways.. does anyone knows how can I find my control? Cheers

Member Avatar
Member Avatar
+0 forum 1

I am building a website whereby people, before checking out of the shopping cart (and transferring to the payment iframe) can select which items from the shopping cart list to delete. The results from the shopping card are listed in a Repeater control. There is a Button in the Repeater which deletes a record from the database (used LINQ to SQL to do that.) THe problem is that the ItemCommand event doesn't fire when i click the button. I tried 'response.write(test)' and it still would not work. It is as if the repeater cannot interact with the commands. It does …

Member Avatar
Member Avatar
+0 forum 3

I am trying to use a VB.NET AJAX Timer control within a Repeater. I cannot figure out how to get this to work. The timer needs to constantly check the server to see what time it is and then display a live countdown clock based on a given time. I have the code that does this and works successfully outside of the repeater. Just can't figure out how to do a separate timer for each item within the repeater.

Member Avatar
Member Avatar
+0 forum 9

Normally, when populating controls with data from a database I create a connection and then pass a SQL statement to create a DataReader. I then loop through the DataReader and populate the controls. Because I am creating the SQL statement on the fly I can query the database joining on multiple tables to get just the columns and rows I need. Now I'm trying to use the Data Repeater control in VS 2010. The Data Repeater is part of the Visual Basic Power Pack add on. If you don't have it, it is similar to the Data Grid. I've never …

Member Avatar
+0 forum 0

[CODE] <asp:Repeater ID="Repeater1" runat="server"> <HeaderTemplate> <table border="1" width="100%"> <tr> <th>id</th> <th align=left>Room Categories</th> <th>single</th> <th>Double</th> </tr> </HeaderTemplate> <ItemTemplate> <tr> <td width="5%"> <asp:Label ID="Label3" runat="server" Text= '<%# Container.DataItem("packageid")%>' /></td> <td> <asp:CheckBox ID="chk_packages" AutoPostBack=true runat="server" Text = <%#Container.DataItem("package_name")%> /> </td> <td><%#Container.DataItem("single_rate")%><asp:CheckBox AutoPostBack=true ID="single" Enabled=false runat="server" /></td> <td><%#Container.DataItem("double_rate")%><asp:CheckBox AutoPostBack=true ID="Double" runat="server" /></td> <td><asp:Label ID="Label2" runat="server" Text="Label"></asp:Label></td> </tr> </ItemTemplate> <FooterTemplate> </table> </FooterTemplate> </asp:Repeater> </asp:PlaceHolder>[/CODE] i want when any packages checbox click in repeater two other checkbox in repeater (single,double get enable) in the same row ,whne i un-unchecked it it also disables them , iw rite some stuff in my application in order to …

Member Avatar
+0 forum 0

Let me try to explain my situation. I have a database table which contains, among other things, a boolean column called PermissionSlipRequired. I have a repeater on my page, and before each row in the database is shown in the repeater, I want to use my code behind to check the value of PermissionSlipRequired. Based on whether the value of PermissionSlipRequired is true or false, I want to change the text of a literal within the repeater. That's a real mouthful, hopefully some markup and code will clarify. Here's my repeater: <asp:Repeater ID="PermissionSlipRepeater" runat="server" DataSourceID="EventsSqlDataSource"> <ItemTemplate><p class="ModuleContent"><span class="InlineTitle"><%# Eval("Title")%></span><br /> …

Member Avatar
Member Avatar
+0 forum 3

Hello... I have a composite control inside a repeater and I am trying to databind its properties like so (simplified example) : [CODE]<uc1:Control ID="id" runat="server" Value='<%# Eval("value") %>'>[/CODE] This works fine when I include the repeater inside a web user control, include that web user control inside ANOTHER web user control and then place the top level web user control onto a page - when I inspect the Value property inside of the composite control's EnsureChildControls() method that property's value is correctly set from the database. However, when I place my repeater with the composite control in it inside a …

Member Avatar
+0 forum 0

Hi, im trying to find a way to repeat this code with out losing the count of 1,2,3 and 4, when the user enters a number different from 1,2,3 or 4. Because in line 26 I call for main() again but when I do that it loses count of everything. [CODE]def main(): print "WELCOME TO THE GRADE LEVEL CALCULATOR!" print x = 0 f = 0.0 s = 0.0 j = 0.0 se = 0.0 nstudents = 0 while x <= 4: print "Please choose the class standing from the following menu:" print " 1) Freshman" print " 2) Sophomore" …

Member Avatar
Member Avatar
+0 forum 6

Hello Friends, I am learning to code in ASP.Net (so forgive silly errors!)... Presetnly trying to perform the functions of edit and delete using Repeater. The Code is: Libraries that I am using [CODE] using System; using System.Collections; using System.Configuration; using System.Data; using System.Data.SqlClient; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; using System.Windows.Forms; [/CODE] Problematic code [CODE] protected void action(object o, RepeaterCommandEventArgs e) { SqlConnection conn; conn = new SqlConnection(@"Data Source=XPWINDOWS7\SQLEXPRESS;Initial Catalog=Pl_Portal;Integrated Security=SSPI"); if (e.CommandName == "Update") { foreach (RepeaterItem item in Repeater1.Items) { SqlCommand cmd = new SqlCommand("update noti set …

Member Avatar
+0 forum 0

Hi Folks, I wonder if anyone knows what is happening here because I'm very confused... I have some nested repeater that I'm using to display a list of Categories, projects and tasks on my ASP.net site written in VB.net i.e. Repeater 1 Category Repeater 2 Project Repeater 3 Task In the task items, I have an edit feature where one placeholder is made visible and the other is closed. The issue happens after my users have edited the values and hit my save button I can no longer access the values they have inputted in the edit fields even though …

Member Avatar
Member Avatar
+0 forum 1

The End.