ASPFriends.com 'aspngdatagridrepeaterdatalist' list Archive - March 2002
Messages
Page: 1234
Dropdownlist Problem (2 replies)
ASPFriends.com 'aspngdatagridrepeaterdatalist' list
Moved from [aspngclient] to [aspngdatagridrepeaterdatalist] by Marcie Jones marciejones@yahoo.com Hi! I have a DataGrid that has the following template Column: asp:templatecolumn HeaderText "Atribuido a" template name "ItemTemplate" asp:Label id "AttrALabel" Runat "server" Text ' %# DataBinder.Eval(Container.DataItem, "user") % ' /template template name "EditItemTemplate" asp:ListBox id "ArrtALb" ...
Dropdown list in editable grid (3 replies)
ASPFriends.com 'aspngdatagridrepeaterdatalist' list
Moved from [aspngwebcontrols] to [aspngdatagridrepeaterdatalist] by Charles M. Carroll charlesmarkcarroll@yahoo.com I have a datagrid with a DayOfWeek column, and start and end time columns. I have put a dropdown list into the EditTemplate section of the DayOfWeek template column, so that when editing the record the user can select from a list of days of the week. This source for this list is an a...
Identifying columns in a DataGrid (2 replies, VIP)
ASPFriends.com 'aspngdatagridrepeaterdatalist' list
Hi, I have been grabbing the contents of a DataGrid cell by giving the index of the column, as follows: hlViewItemText.NavigateURL "ViewItemText.aspx?ItemID " & e.Item.Cells(1).Text However, as I play around with the layout of the Columns in the DataGrid, I have to remember to change the number in the code snippet "e.Item.Cells(1).Text", so that I am still grabbing data out of the correct column. ...
DataList and Paging (6 replies)
ASPFriends.com 'aspngdatagridrepeaterdatalist' list
Moved from [aspngstart] to [aspngdatagridrepeaterdatalist] by Marcie Jones marciejones@yahoo.com I need to have paging in my DataList. This app is returning image thumbnails, and I need to display 10 on a page with a possible 50 images returned. I need to implement paging. The DataList seems to be the only control that will let me have 3 images per column, etc... Steve Gentile Standard Register So...
Datagrid Multiple Primary Keys (2 replies, VIP)
ASPFriends.com 'aspngdatagridrepeaterdatalist' list
Hello everyone, I'm displaying I datagrid and have coded the functionality to make it "editable". However, the db table I am editing has a combined primary key (2 columns), but the DataKeyField only allows me to place one of these fields to be retrieved using mydatagrid.DataKeys.Item(e.Item.ItemIndex). How can I retrieve multiple fields? Thanks, Anthony
Turn of Datagrid HTMLEncode (4 replies, VIP)
ASPFriends.com 'aspngdatagridrepeaterdatalist' list
Moved from [aspngfreeforall] to [aspngdatagridrepeaterdatalist] by Marcie Jones marciejones@yahoo.com Can somebody tell me how to switch OFF the default HTMLEncode of the Datagrid? For example, it shows up in the DataGrid as " b George /b " not bold. thanks, George.
How could I have a selected item displayed in a new window if the use right click on the mouse and selected open in new window? (2 replies, VIP)
ASPFriends.com 'aspngdatagridrepeaterdatalist' list
I have the following situation... a group of records displayed in a datalist or datagrid. As an example the following code .. ItemTemplate has a LinkButton that calls the method Datalist3 itemCommand() This bring up the individual selected record and databind()s it to be display as the selected record How could I have select the record and have the option to display it in a new window if the user ...
DataSet (2 replies, VIP)
ASPFriends.com 'aspngdatagridrepeaterdatalist' list
How does .NET handle the dataconnections and requests? When I bind a DataSet to a DataList and page through the results...going back to the DB on every page change? Thanks tim
DataGrid, HyperLinkColumn (2 replies, VIP)
ASPFriends.com 'aspngdatagridrepeaterdatalist' list
Moved from [aspngconsult] to [aspngdatagridrepeaterdatalist] by Marcie Jones marciejones@yahoo.com I created HyperLinkColumn on DataGrid. How to set DataNavigateUrlField and DataNavigateUrlFormatString of HiperLinkColumn if I have more then one parameter? I need two values from my DataGrid and I would like to navigate to V NamIns.aspx using both of them. HyperLinkColumn hc new HyperLinkColumn(); h...
SortField on DatGrid (5 replies)
ASPFriends.com 'aspngdatagridrepeaterdatalist' list
Moved from [aspngdata] to [aspngdatagridrepeaterdatalist] by James Avery javery@deluxeeng.com Hi all, I just want to know if the following is correct . asp:BoundColumn HeaderText "Address" DataField "Address" sortField "Address" / I get the following error. Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse e...
ListBox problem - DataTextField (2 replies)
ASPFriends.com 'aspngdatagridrepeaterdatalist' list
Moved from [aspngstart] to [aspngdatagridrepeaterdatalist] by Charles M. Carroll charlesmarkcarroll@yahoo.com Hi, I have problem with ListBox DataTextField property. Is possible to have this filled with conjuction of strings? In ASP.Classic I should write this (I have table of authors with columns ID Author, Author Surname, Author Givenname): OPTION VALUE " % ID Author % " % Author Surname " " Aut...
Limit rows databound (4 replies)
ASPFriends.com 'aspngdatagridrepeaterdatalist' list
Moved from [aspngfreeforall] to [aspngdatagridrepeaterdatalist] by alotofmail@tripleasp.net alotofmail@tripleasp.net I want to limit the number of rows that are in my repeater or datalist, but I don't have the ability to limit what comes back in my SqlDataReader. Is there a way to us OnItemDataBound to do this? I have this skeleton code, but am not sure what to add to make it work: protected void ...
Data Grid like Grid in VB 6? (3 replies)
ASPFriends.com 'aspngdatagridrepeaterdatalist' list
Hi! All, Now one more query, I visited Charles Caroll site, and found wonderful artilces and that help me alot, but one thing still missing I am planning to write the Master /Detail Form. And I want some kind of Data Grid that i can use to add teh data. Where should I start? Any links of Articles? should be in VB.NET, I am use to VB.NET Syntax, so if you guys/gals any thing regarding creating mast...
DataList problem (2 replies)
ASPFriends.com 'aspngdatagridrepeaterdatalist' list
Hi everybody, I have a datalist which is generated dynamicaly in a repeater control by calling the a function from the datasource. I have used the bare control and not used any .NET styling. Now the datalist writes out links which I style through css, but background padding has funny results on the datalist but not on the repeater control. I believe it has to do with the code automaticly inserted ...
Datagrid redering (4 replies)
ASPFriends.com 'aspngdatagridrepeaterdatalist' list
Moved from [aspngfreeforall] to [aspngdatagridrepeaterdatalist] by James Avery javery@deluxeeng.com I have set up a datagrid with a page size of 10. The problem I am having is that whenever I have less than 10 rows to display, the formatting does not look good. In other words, the datagrid does not resize, the rows become fatter and it does not look good. Any ideas how I can fix this? What I would...
Is there any way to display BLOB data in DAtaList or Repeater? (4 replies)
ASPFriends.com 'aspngdatagridrepeaterdatalist' list
GlacierIs there any way to display BLOB data in DAtaList or Repeater? James
how to fire outlook (2 replies)
ASPFriends.com 'aspngdatagridrepeaterdatalist' list
hi guys, i need help how can i make an item on my datalist clickable (i.e. email address) that will fire the client's outlook email program? TIA, Ronnel A. Santiago www.edsamail.com
Datagrid in User Control (5 replies, VIP)
ASPFriends.com 'aspngdatagridrepeaterdatalist' list
Does anyone know of an example using a datagrid in a user control and processing the Edit/Update/Cancel Commands? tia, Scott Cate
DataGrid templated column order (2 replies)
ASPFriends.com 'aspngdatagridrepeaterdatalist' list
Howdy, I've got a DataGrid. I've bound it to a dataview successfully. Now, I want to add a custom templated column to the DataGrid. I can successfully add the column, but it puts the column at the beginning of the columns, not at the end where I want it. My question: how do you set the order of your columns in a datagrid? If I were manually adding all of the columns myself then I could introduce t...
Databinding from non-DataView/DataSet objects (2 replies)
ASPFriends.com 'aspngdatagridrepeaterdatalist' list
Hi, I'm attempting to bind grids/repeaters to my own classes. I can get this to work fine as long as I specify the fields to which to bind AutoGenerateColumns "false". I do this by Implementing IEnumerable and having a Default Property to return the appropriate field values. This all works fine. Although I'm not sure that I'd really want to do this in a production environment, but to make my class...
DataGrid - Updating (2 replies, VIP)
ASPFriends.com 'aspngdatagridrepeaterdatalist' list
Hi I have created an Editable DataGrid, however, when I grab the parameters from the DataGrid, I receive my old value and not the newly entered value. When I use the debugger, I do not see my new value in the Text attribute, but the old one. Can anyone tell me how to correct this? I am using the following code: TextBox newCategoryName; newCategoryName ( (TextBox) e.Item.FindControl( "Category" ) )...
Problem with datatypes during edit operation on Grid (4 replies)
ASPFriends.com 'aspngdatagridrepeaterdatalist' list
Hello everyone, I have a datagrid that I have edit/update/cancel implemented on. The Datagrid is populated properly and all the methods are in place and working for edit/update/cancel. My problem is this: One of the fields I need to edit/update is a datetime field in a SQL Server 2000 Database. Now, If I allow the user to edit this field in the grid, I know that in the grid I deal with it as a tex...
DataFormatString Formatters (3 replies, VIP)
ASPFriends.com 'aspngdatagridrepeaterdatalist' list
Is it possible to change a 1 to 'Yes' and 0 to 'No' using the DataFormatString property of a DataGrid? devin
updating and deleting in datagrid (2 replies)
ASPFriends.com 'aspngdatagridrepeaterdatalist' list
Hi I have a datagrid where i want to update rows. How can I get the ID of the row so I update the right field? I have this now, but no updating is happening. Dim OppgID As Integer CInt(MyDataGrid.DataKeys(objArgs.Item.ItemIndex)) Dim tempTittel As TextBox CType(objArgs.Item.FindControl("edit Tittel"), TextBox) Dim tempBeskr As TextBox CType(objArgs.Item.FindControl("edit Beskrivelse"), TextBox) .....
Geting the DataGrid to Scroll (2 replies)
ASPFriends.com 'aspngdatagridrepeaterdatalist' list
I am trying to understand how to get a grid to scroll. It looked liked the way to do it was to set the Allow Paging to true. When I did that I got an error with this line of code: Private Sub DataGrid ItemCreated(ByVal sender As System.Object, ByVal e As System.Web.UI.WebControls.DataGridItemEventArgs) Handles dtgAll.ItemCreated e.Item.Cells(gColumns.Id 1).Visible False End Sub The error was: Spec...
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