ASPFriends.com 'aspngdatagridrepeaterdatalist' list Archive - February 2002
Messages
Page: 12345
datagrid control (2 replies)
ASPFriends.com 'aspngdatagridrepeaterdatalist' list
hi! I want, after I push edit button from datagrid control, in that row, one cell, ex ("type") to render not into input box, to render in combobox!, combo fill from one datatable, for example! Thanks! Do You Yahoo!? Yahoo! Auctions Great stuff seeking new owners! Bid now!
Errors in "Managing Members of a .NET Site" example (2 replies)
ASPFriends.com 'aspngdatagridrepeaterdatalist' list
Moved from [aspngdata] to [aspngdatagridrepeaterdatalist] by Charles M. Carroll charlesmarkcarroll@yahoo.com Hi !!! I noticed that the example called "Managing Members of a .NET Site", located at http://plusasp.com/ecommerce/update.aspx has a bug (which I cannot solve) After clicking the "add user" button for the first time and typing user details, I noticed that continuous pressing of F5 to refre...
record edit (3 replies)
ASPFriends.com 'aspngdatagridrepeaterdatalist' list
hi, I have a table in my database where i'd like to allow the user to be able to edit this table. I simply can use the Datagrid control, but I'd like to have more control over the look and feel. For that, I could use the Datalist control, but I need to have somre more control over the paging. It seems like I can accomplish what I'm after by: 1. create the SP that handles a @PageSize param. 2. use ...
I have a grid inside a grid, how to pass ID of outergrid to the SELECT-statement inside grid2? (3 replies)
ASPFriends.com 'aspngdatagridrepeaterdatalist' list
Hi I have a grid inside a grid, like this.. Grid 1 Boundcolumn/templatecolumns groupID Grid 2... Boundcolumn Name (John, Sue, James..) of people who has the same groupID, it is a record per person, with a groupID who connects them /Grid2 Assignment Title Description /Grid1 Desired Outcome 01 ! John, Sue, James ! TestTitle ! My Description ... How can I select the right names for each group? (Now I...
Access property of control within control (4 replies)
ASPFriends.com 'aspngdatagridrepeaterdatalist' list
Moved from [aspngfreeforall] to [aspngdatagridrepeaterdatalist] by Alex Lowe webmaster@asp grandrapids.net Hi I've got an asp:Datalist control, in which I have placed 4 asp:panel controls. Now how do I access the properties of these controls?? I can't ref the controls directly, the I get an Object refence not set.... or something like that! Med venlig hilsen/ Best regards, Martin R. L. Lysgaard
Embedded Javascript Help Needed (2 replies)
ASPFriends.com 'aspngdatagridrepeaterdatalist' list
Hi all.. I am using a datagrid that has a list of columns. The last column titled 'Leave' is a Button Column and enables a user to leave a tournament. I need to put up a prompt of some sort to confirm the user wants to do this as there is nothing worse than climbing to the top of the ladder and then click this by mistake. Has not happened yet but am sure it will How do I attach a confirmation box ...
Setting the Sort of a Data Grid (5 replies)
ASPFriends.com 'aspngdatagridrepeaterdatalist' list
I have a Datagrid that I am populating via the result set of a stored procedure (Returned as a SQLDATAREADER data type). The datagrid is populating and displaying nicely. I want to allow the user to sort by clicking on the column headings of the datagrid. 1) I have set the "Allow Sorting" property of the Datagrid to true. 2) I have created a "SortRows" Method for processing the clicked event on th...
highlighting row in datalist (3 replies)
ASPFriends.com 'aspngdatagridrepeaterdatalist' list
I have a product chooser for our intranet The page first shows a list of product types a datalist populated from db. Using a itemtemplate each row becomes a link eg. asp:DataList id 3D"typeList1" width 3D"65%" runat 3D"server" Itemtemplate asp:LinkButton CssClass 3D"phoneCompany" id 3DtypeLink1 Text 3D' %# Container.DataItem("type") % ' CommandName 3D"genTypeCmd" CommandArgument 3D ' %# Container....
SV: inserting trouble in V1 (2 replies)
ASPFriends.com 'aspngdatagridrepeaterdatalist' list
Eivind, use this sql statement instead and I think you will be ok: myString "INSERT INTO Oppg (Tittel,Beskrivelse) VALUES ('" & nyTittel & '", "' & nyBeskr & '") WHERE Gruppe '" & myGruppe & "';" Hth Regards/Hälsningar André Colbiörnsen Sonnenburg Communications Bergsgatan 3, SE 211 54 Malmö Sweden Tel.: 46 (0)40 97 78 80 Fax.: 46 (0)40 97 78 80 Mob.: 46 (0)708 97 78 79 Mail: c...
DataGrid widths not working (6 replies)
ASPFriends.com 'aspngdatagridrepeaterdatalist' list
Moved from [aspngvs] to [aspngdatagridrepeaterdatalist] by Rob Caron robcaron@microsoft.com I change the DataGrid column widths all I want but they don't affect the width of my DataGrid columns. What more do I need to change to get the column width to change?: Columns asp:BoundColumn DataField "title" SortExpression "price" HeaderText "Title" HeaderStyle Width "70%" /HeaderStyle /asp:BoundColumn a...
Sorting in DataGrid using Stored Procedure (2 replies, VIP)
ASPFriends.com 'aspngdatagridrepeaterdatalist' list
Can I sort a datagrid by using Stored Procedure in SQL 2000? When I try to use a "Select ... Order by @OrderField" Where SQL show error that Order by should be specific to a Column/Field Name only. I try to capture the "e.DataGridSortCommandEventArgs" and then pass this value to the Stored Procedure, then how can i do this? by the way, is it necessary to connect to the DB, then retrieve and then d...
Listbox and Selected items from DB (5 replies)
ASPFriends.com 'aspngdatagridrepeaterdatalist' list
Hi! I think this is quite simple, but I can't figure it out! I have a multiple listbox which has its DataSource set. It populates ok. But I want to be able to put on selected some items according a query to the db. For instance, I have 10 colors and I want to select 3 of them according to a DataSet content. How can I do it? thanks, Matias
asp:Repeater AND asp:Listbox (5 replies)
ASPFriends.com 'aspngdatagridrepeaterdatalist' list
Moved from [aspngdata] to [aspngdatagridrepeaterdatalist] by Charles M. Carroll charlesmarkcarroll@yahoo.com I want to put a databound ListBox inside of a Repeater's headertemplate is this possible? If I just drop it in the headertemplate somewhere I get this error: Compiler Error Message: BC30451: Name 'myListBox' is not declared. However if I move it outside of the Repeater it works fine. I have...
What wrong with this? (2 replies)
ASPFriends.com 'aspngdatagridrepeaterdatalist' list
Hi Can anyone tell me whats wrong below? Its the TemplateColumn thats causing the problems. I want to have the text in multiline textboxes aka textarea when editing but strange things happen, and the textbox ain't got a text property anymore??? Why, what when how??? form id "Form1" method "post" runat "server" asp:datagrid id "dgNews" runat "server" GridLines "Vertical" CellPadding "3" BackColor "...
Postback to previous page (2 replies)
ASPFriends.com 'aspngdatagridrepeaterdatalist' list
Copied from [aspngfreeforall] to [aspngdatagridrepeaterdatalist] by Alex Lowe webmaster@asp grandrapids.net In asp.net I am showing a datagrid with text boxes. The text boxes have a lookup button next to them. I want the user to be able to click the lookup button and show a list of items to choose from. They select what they want and it shows up back at the original page (parent page). I have it a...
row level javascript (2 replies)
ASPFriends.com 'aspngdatagridrepeaterdatalist' list
The datagrid seems to only have column templates, I want row level templates is this possible? 1. A value in the db will tell us what color we want to display the row, and column level will make this wierd to implement? 2. Paging is easy with datagrid, no problem. 3. We require javascript onmouse over, mouseout, on mouse click events on a per row basis.... Ideas?
paging ICONS (2 replies)
ASPFriends.com 'aspngdatagridrepeaterdatalist' list
How can you modify the next/prev character links with ICONS?
Paging backward in DataGrid? (4 replies)
ASPFriends.com 'aspngdatagridrepeaterdatalist' list
Does anyone know if Beta 2 is having problems with paging? When I use a database of say 2000 records and page ahead several (10's) of pages ahead by clicking on the forward [.] everything is fine. But if I try to page backwards [.] it doesn't page backward. It just simply redisplays where its at. ie [.] [141] [142] [143] [144] [145] [146] [147] [148] [149] [150] [.] Is there a type of cursor (forw...
Programmatically alter a ItemTemplate (2 replies)
ASPFriends.com 'aspngdatagridrepeaterdatalist' list
How do I programmatically alter a DataLists ItemTemplate? devin
Reliable Way to Get Control from Datalist Header on Save (2 replies)
ASPFriends.com 'aspngdatagridrepeaterdatalist' list
Okay, I've got a problem. I've got a textbox in a datalist header. I've figured out how to dependably access it on load using the ItemDataBound event. But I cannot figure out how to get to it in the ItemCommand event. I need to retrieve its value on save. The header does not appear to be in the datalist .Items collection, which is how I get the info from the items in the item template. I know I ca...
asp:dropdownlist (2 replies)
ASPFriends.com 'aspngdatagridrepeaterdatalist' list
Moved from [aspngfreeforall] to [aspngdatagridrepeaterdatalist] by Charles M. Carroll darthcarroll@asplists.com asp:DropDownList id 3D"Publishers" runat 3D"server" Font Names 3D"Verdana, Arial, sans serif" Font Size 3D"x small" SelectedIndex 3D' %# getSelectedCategory((string)DataBinder.Eval(Container.DataItem, "Category")) % ' DataValueField 3D"CategoryID" DataTextField 3D"Category" DataSource 3D...
Ideas on how to convert this code from Classic ASP to ASP.NET? (2 replies)
ASPFriends.com 'aspngdatagridrepeaterdatalist' list
Copied from [aspngmigrate] to [aspngdatagridrepeaterdatalist] by Charles M. Carroll darthcarroll@asplists.com I am getting into programming with the new ASP web controls etc. I have a piece of code (used in a threaded discussion list) which is classic ASP looks like this (Pseudo code): do while not RS.EOF response.write getIndent(rs.fields("IndentLevel") & rs.fields("Subject") etc etc rs.movenext ...
A DataList Question (2 replies)
ASPFriends.com 'aspngdatagridrepeaterdatalist' list
Moved from [aspngdata] to [aspngdatagridrepeaterdatalist] by Charles M. Carroll charlesmarkcarroll@yahoo.com Hi: I am populating a DataList control with a dataset. One of the requirements is: If the last Column in my dataset is not equal to 'n' then the datalist should show an Hyperlink otherwise empty string. I tried using the dataBineder.Eval but was unsuccessful. My question: Is it a good idea ...
DataGrid SortCommand at runtime (2 replies)
ASPFriends.com 'aspngdatagridrepeaterdatalist' list
Moved from [aspngfreeforall] to [aspngdatagridrepeaterdatalist] by Charles M. Carroll charlesmarkcarroll@yahoo.com Hi, I would like to know if there is a way to set the SortCommand of a DataGrid at runtime. I'm not defining the DataGrid in the aspx but creating it dynamically in my cs page. In my aspx page I can have a PlaceHolder or a Panel and then simply add the newly created DataGrid to its co...
Some question on DataGrid (2 replies)
ASPFriends.com 'aspngdatagridrepeaterdatalist' list
Dear All, Are there are anybody have some sample code in Generating Columns on DataGrid at runtime, Please help me. Thanks Do You Yahoo!? Yahoo! Auctions Great stuff seeking new owners! Bid now!
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com