| Web Form (6 replies) |
| ASPFriends.com 'aspngdatagridrepeaterdatalist' list |
| Moved from [aspfreeforall] to [aspngdatagridrepeaterdatalist] by Victor Von Doom doctordoom@aspelite.com Good Morning, I have an ASP.net page that I'm using to present some data as well as a textbox to add data to the item. The problem is the textbox won't show up on the page unless I place it before the datalist. Is this by design, or am I doing something wrong. Thanks Kirk Code follows: body p a... |
|
| What is meant by - the selected datasource does not implement ICollection. (3 replies) |
| ASPFriends.com 'aspngdatagridrepeaterdatalist' list |
| What is meant by the selected datasource does not implement ICollection. Server Error in '/dotnetSolutions/DotNetPortal' Application. AllowCustomPaging must be true and VirtualItemCount must be set for a DataGrid with ID myDataGrid when AllowPaging is set to true and the selected datasource does not implement ICollection. Description: An unhandled exception occurred during the execution of the cur... |
|
| How do I stop the DataGrid Header from Displaying when the DataSet has no values? (6 replies) |
| ASPFriends.com 'aspngdatagridrepeaterdatalist' list |
| Is there a property that I can set to turn off header display when bound to an empty DataSet/Table automatically ... or do I need to check the DataSet.Table I'll be binding to for rows and write some code to make the DataGrid invisible? |
|
| More On. My DataGrid Paging Problem (5 replies) |
| ASPFriends.com 'aspngdatagridrepeaterdatalist' list |
| The code below works (no errors) on my localhost using Visual Studio. The Project/Solution files show parent child relations (file with signs) for code behind files When I paste over the 3 files for Contacts .ascx/.ascx.vb/and the .resx to my host I do not see the sign relationsship. but all files are there. cause I can view and edit the code for all files. The code is the same so the transfer of ... |
|
| Proble trying to implement paging? (5 replies) |
| ASPFriends.com 'aspngdatagridrepeaterdatalist' list |
| Proble trying to implement paging? in visual studio ,codebehind what an i missing this is right out of the book (am i not declaring the event??) Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: BC30456: 'MyDataG... |
|
| DataTable question (4 replies) |
| ASPFriends.com 'aspngdatagridrepeaterdatalist' list |
| Moved from [aspngfreeforall] to [aspngdatagridrepeaterdatalist] by Terri Morton tmorton@macdirect.com I have a strange problem that I was hoping someone could help me with. I want to read one record from a SQL table and then display the headings and values vertically down a page, preferrably in a datagrid. So instead of: CustID CustName City 123 Bob Miami I want to display: CustID 123 CustName Bob... |
|
| Datagrid problem (4 replies) |
| ASPFriends.com 'aspngdatagridrepeaterdatalist' list |
| Moved from [aspngfreeforall] to [aspngdatagridrepeaterdatalist] by devin dmrader@sseinc.com I want to select one row from my SQL table and then display each column in this table as a row in a datagrid. So I would have a SQL statement like "SELECT * FROM tabCustomer WHERE CustomerID 95" which returns one row. Now I want to display each column as a row in my datagrid. Can someone help me get started... |
|
| findcontrol in dynamically created edititemtemplate (7 replies) |
| ASPFriends.com 'aspngdatagridrepeaterdatalist' list |
| Inside the DataGrid's update command I can't seem to find (FindControl) the dynamically created textboxes inside the edititemtemplate. This is (simplified) what I do: void dg ItemDataBound(object sender, System.Web.UI.WebControls.DataGridItemEventArgs e) { if (e.Item.ItemType ListItemType.EditItem) { TextBox dynamicTbx new TextBox(); dynamicTbx.ID "testTbx"; e.Item.Cells[2].Controls.Add(dynamicTbx... |
|
| dataset and relationships (2 replies) |
| ASPFriends.com 'aspngdatagridrepeaterdatalist' list |
| Moved from [aspngfreeforall] to [aspngdatagridrepeaterdatalist] by mrpike damian.barrow@travelcounsellors.com Hello ASP.NET ites! Just been doing a bit of reading about the DataSet and it's ability to create relationships with these tables. Firstly, I thought what's the point? Surely it's the database's job to control relationships. But then I suppose it clicked if you're storing a number of table... |
|
| Persisting datasets using viewstates and xml (3 replies) |
| ASPFriends.com 'aspngdatagridrepeaterdatalist' list |
| I am trying to use viewstates and xml to persist datasets instead of sessions, however, I get a NULL error when I try to read back the XML string. Have I done something wrong ??? Here's part of my page load() method ************** if (ViewState["Hello"] null) { ds new DataSet(); oleDa.Fill(ds, "customers"); string myXml ds.GetXml(); //put xml from dataset into ViewState ViewState["Hello"] myXml; }... |
|
| retrieving values (6 replies) |
| ASPFriends.com 'aspngdatagridrepeaterdatalist' list |
| Hi All I have a shopping cart which I am displaying using a datagrid. This shoppingcart has as the name of the product, the id of the product, the quantity of the product and also an update button. This update button allows the user to change the quantity. My Question is how to I retrieve the value in the quantity field. I can retrieve the product id using the Datakeys property however cannot seem... |
|
| Encoding a value (2 replies) |
| ASPFriends.com 'aspngdatagridrepeaterdatalist' list |
| Have a datagrid with a hyperlink using an Itemtemplate asp:TemplateColumn SortExpression "Title" HeaderText "Course Name" ItemTemplate a href 'MLN COURSEINFO.aspx?UNIVID %#DataBinder.Eval(Container.DataItem,"UNIV ID")% &COURSEID % #DataBinder.Eval(Container.DataItem,"Course CD")% ' style "color:Black;" %#DataBinder.Eval(Container.DataItem,"Title")% /a /ItemTemplate /asp:TemplateColumn Problem is I... |
|
| CheckBox Web Control usage in a Repeater (5 replies) |
| ASPFriends.com 'aspngdatagridrepeaterdatalist' list |
| Moved from [aspngvb] to [aspngdatagridrepeaterdatalist] by Swoop Doggy Dogg IronMan@aspelite.com I have a repeater for the display of invoices that I want to select for payment. Can I use a checkbox web control in the repeater for selecting desired invoices? I would like to add an event to the checkboxes that will update a label which displays the total for the invoices selected. I also have some ... |
|
| User-Control in DataList malfunctions (3 replies) |
| ASPFriends.com 'aspngdatagridrepeaterdatalist' list |
| A user control I have written does not seem to function properly in the EditItemTemplate section of a DataList control. It functions fine outside of it. I have followed the usual process of the using the @Register directive. I then add the tag as per usual, with declarative properties within the tag: adminnic:boolcontrol id "ext1" runat "server" type "truefalse" defaulttext "Joe" value "1" isvalid... |
|
| MouseOver for DataGrid Row (5 replies) |
| ASPFriends.com 'aspngdatagridrepeaterdatalist' list |
| Does anyone know if it possible to provide a rollover for a entire Datagrid Row, i.e. OnMouseOver the entire row/ TR changes to red and then OnMouseOut changes back to original colour. If you have implemented anything like it, can I please see some code? Thanks, Bruce Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com |
|
| Add a row to a datagrid (2 replies) |
| ASPFriends.com 'aspngdatagridrepeaterdatalist' list |
| Hi, I have this code it inserts a new row into my datagrid visually thats working but when i go to update it nothing is happening!! if(EvolusysKokugo.CurrentKokugo() "En") { DataSet ds ((DataSet)Session["NewData"]); DataTable dt ds.Tables["ControlData"]; DataRow dr dt.NewRow(); dt.Rows.Add(dr); Session["NewData"] ds; } else { DataSet ds1 ((DataSet)Session["NewDataLang"]); DataTable dt1 ds1.Tables[... |
|
| Setting selected item in a DropDownList in a DataGrid (4 replies) |
| ASPFriends.com 'aspngdatagridrepeaterdatalist' list |
| I seem unable to set the selected item in a DropDownList in a DataGrid. My DataGrid has a TemplateColumn, which is added at run time. The EditItemTemplate is an object of a class, DropDownCell, implementing ITemplate. The DropDownCell.InstantiateIn method creates and binds a DropDownList, and then adds a DataBinding event handler, like this: Dim mDb As New DatabaseWrapper(), MyCombo As New DropDow... |
|
| Help with datasets and sessions (6 replies) |
| ASPFriends.com 'aspngdatagridrepeaterdatalist' list |
| Hi All : I am having trouble with the code below : It is fine if I use sessions and add the dataset ds to the session. Should I be able to access the dataset, datatables and so on, if I defined them as global (that is, outside the method declaration) ?? Can someone help ??? CHEERS !! Sum Pun ************ DataSet ds; 20 DataTable dt; 20 DataView dv; 20 SqlDataAdapter oleDa ; 20 void Page Load(Objec... |
|
| DataGrid Multiple Column Sort. (3 replies) |
| ASPFriends.com 'aspngdatagridrepeaterdatalist' list |
| How can i implement Multiple column sort on datagrid. Currently whenever a grid is sorted then i'm display the sorted column in different color with an image of ascending and descending as per sort order. Please help. Thanks in advance Satish Pahade |
|
| How do I concatenate 2 DataTable fields and bind them to a column? (3 replies) |
| ASPFriends.com 'aspngdatagridrepeaterdatalist' list |
| I've seen this done with templates, however can I apply a template to just one column and leave to rest as asp:BoundColumns??? asp:datagrid id "grid" runat "server" DataKeyField "AgreementMaster ID" font names "verdana" font size "x small" BorderWidth "1" BorderColor "black" BorderStyle "solid" GridLines "None" CellSpacing "2" CellPadding "2" BackColor "white" CssClass "shadow" AutoGenerateColumns... |
|
| Help Datagrid issues. (4 replies) |
| ASPFriends.com 'aspngdatagridrepeaterdatalist' list |
| Please Help. Can i have the following features in my datagrid. 1. Column Move (Drag and Drop) 2. Column Resizing at runtime.. 3. Hide/unhide 4. Scrolling Horizontally and Vertically. 5. Sorting by click clicking anywhere on column header. Are these possible in ASP.NET datagrid control. Thanks in advance Satish Pahade |
|
| Scrollable and Freeze 3 columns in Web Datagrid (4 replies) |
| ASPFriends.com 'aspngdatagridrepeaterdatalist' list |
| Moved from [aspngfreeforall] to [aspngdatagridrepeaterdatalist] by Yannick Smits dotnet@stepcompany.com Hi, Is it possible to create scrollable grid using Datagrid and also i'm looking for ideas to freeze first three coulmns we have to 25 columns to be displayed on screen in our existing win app we have scrollabe grid we want to port to web we dont want to buy third party controls if any body have... |
|
| Datalist and Datagrid (2 replies) |
| ASPFriends.com 'aspngdatagridrepeaterdatalist' list |
| I need the paging feature of a datagrid and the columnar output feature of the datalist.... How would I go about having a paged datalist that presented the data in x number of columns? |
|
| Repost: OnItemBound Help. (2 replies) |
| ASPFriends.com 'aspngdatagridrepeaterdatalist' list |
| How would you all go about this problem. I am populating my datagrid with entries from my DB. I'm using the returned data in a querystring for my Hyperlink. kind of like : asp:hyperlinkcolumn DataNavigateUrlField "Category ID" DataNavigateUrlFormatString "/XrayDirect/Products/ItemList.aspx?CatID {0}" DataTextField "Name" runat "server" / My question is: For the Items that get bound, some of them I... |
|
| VS.NET design view ? (3 replies) |
| ASPFriends.com 'aspngdatagridrepeaterdatalist' list |
| Copied from [aspngvs] to [aspngdatagridrepeaterdatalist] by Alex Lowe webmaster@asp grandrapids.net I try to open a document inside design view inside vs.net. This error comes up. Could not open in Design view. Quote values differently inside ' %..."value"....% ' block I'm using a repeater * * * Steve Schofield * steve@aspfree.com * * Microsoft MVP ASP.NET * http://www.aspfree.com * * |
|
| alternating row color (2 replies) |
| ASPFriends.com 'aspngdatagridrepeaterdatalist' list |
| Moved from [aspngfreeforall] to [aspngdatagridrepeaterdatalist] by Yannick Smits dotnet@stepcompany.com Hi, anyone have an idea of how can I make that the rows of a table binded to a dso, draw a cell in one color and the next in white to differentiate two consecutive row. thanks a lot in advance for any help!! |
|
| Help with datasets and sessions (use of Viewstate) (2 replies) |
| ASPFriends.com 'aspngdatagridrepeaterdatalist' list |
| What is the difference between using Viewstates and Sessions ?? Do they do the same thing ?? The reason for doing it this way is so that I don't need to refill the dataset after each postback and bind the datagrid whenever I need to. Doing refills can be very slow if I have many thousands of records. This way I can work with the dataset and only submit changes to the datasource (as well as updatin... |
|
| Bound columns (3 replies) |
| ASPFriends.com 'aspngdatagridrepeaterdatalist' list |
| Moved from [aspngfreeforall] to [aspngdatagridrepeaterdatalist] by Alex Lowe webmaster@asp grandrapids.net Hello all, Anyone know how to accomplish this: asp:hyperlinkcolumn DataNavigateUrlField "Category ID" DataNavigateUrlFormatString "/XrayDirect/Products/Category.aspx?CatID {0}&Level1 {1}" DataTextField "Name" runat "server" / I need to add another attribute to the querystring. I have CatID wo... |
|
| Hide bound column programmatically (2 replies) |
| ASPFriends.com 'aspngdatagridrepeaterdatalist' list |
| I have multiple searches possible, based on users' choice. Normally, with any given control, you could do this: if (whatever) is true then someID.visible true else someID.visible false end if I also have multiple bound columns I know you can make columns hidden (visible false), but they don't have an id property, so how can you make one or more columns invisible programmatically? |
|
| Popup (2 replies) |
| ASPFriends.com 'aspngdatagridrepeaterdatalist' list |
| Hai ... i want to know how to make popup when my datagrid view, and when the popup window submit the parent window will refresh, and not change the datagrid position only the data will change.... |
|
| Alternating row colors? (4 replies) |
| ASPFriends.com 'aspngdatagridrepeaterdatalist' list |
| Moved from [aspngwebmatrix] to [aspngdatagridrepeaterdatalist] by Swoop Doggy Dogg IronMan@aspelite.com Does anyone know how I could make a grid change colors on every other row? That is, I want the title bar to be one color, and then below that the odd numbered rows a second color and the even numbered rows a third color. TIA, Arthur |
|
| hide rows when in editmode (3 replies) |
| ASPFriends.com 'aspngdatagridrepeaterdatalist' list |
| I have an editable datagrid. What I want is this: When a user clicks the edit button, the row should go in editmode and all other rows should be hidden. How should I do this? I thought of rebinding the grid with a filtered dataview but I think this will make me loose editstatus. Any ideas? thanks, Yannick Smits |
|
| Datagrid item to hyperlink ? (4 replies) |
| ASPFriends.com 'aspngdatagridrepeaterdatalist' list |
| how to change the datagrid item to a hyperlink ? can i change it ?? dgValues.Items(iCount).Cells(1).Text this my datagrid item I got this problem when i load my data from my database using datagrid and couple of data i want to make a hyperlink so i dont know how to do that Sample Dept Store Owner Address Carlia Avanue St Vanshia Colorado St Vanshia is yhperlink Santa Markire St Santa is hyperlink ... |
|
| databinded table row color (2 replies, VIP) |
| ASPFriends.com 'aspngdatagridrepeaterdatalist' list |
| Moved from [aspngfreeforall] to [aspngdatagridrepeaterdatalist] by Yannick Smits dotnet@stepcompany.com Moved from [aspngxml] to [aspngfreeforall] by Alex Lowe webmaster@asp grandrapids.net Hi, anyone have an idea of how can I make taht the rows of a table databinded to a dso, draw a cell in one color and the next in white, in order to differentiate two consecutive row. thanks a lot in advance for... |
|
| how do you add a row to a datagrid dynamically (2 replies) |
| ASPFriends.com 'aspngdatagridrepeaterdatalist' list |
| Moved from [aspngcommunity] to [aspngdatagridrepeaterdatalist] by Ryan Trudelle Schwarz ryants@aspelite.com I want to build a dynamic datagrid that will contain 4 textboxes and 1 label per row. I also want to have a button that when clicked will add another row consisting of the same 4 textboxes and 1 label. My questions are. Is a datagrid appropriate? If it is, then how does the structure of the ... |
|
| Code to loop thru Access Table (2 replies) |
| ASPFriends.com 'aspngdatagridrepeaterdatalist' list |
| Moved from [aspngdata] to [aspngdatagridrepeaterdatalist] by eric landes elandes@partnersindiana.com Hi, Can someone provide me with sample code to Read an access 2000 table and loop thru and update each Row and save the changes. I would prefer an ASP.NET example using OLEDB. I don't need the updating to occur thru a datagrid. I want to massage the data in the table and then display thru a datagri... |
|
| CType (2 replies) |
| ASPFriends.com 'aspngdatagridrepeaterdatalist' list |
| Moved from [aspngdatagridrepeaterdatalist] to [aspngdatagridrepeaterdatalist] by Let the good times roll bbilbro@hotmail.com Hello All, I am trying to grab the value of a HTMLInputHidden in a datagrid. This is the code I am using: Dim dgi As DataGridItem CType(dgi.Cells(0).Controls(2), HTMLInputHidden).ToString The position is right, but I keep getting an error. Does anyone know how to grab the va... |
|
| Strange DataGrid Bug... (3 replies) |
| ASPFriends.com 'aspngdatagridrepeaterdatalist' list |
| Message Error: Server Error in '/femClub' Application. Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Could not load type 'femClub.EditDataGrid'. Source Error: Line 1: %@ Page Language "vb" AutoEventWireup "false" ... |
|
| SV: Strange DataGrid Bug... (2 replies) |
| ASPFriends.com 'aspngdatagridrepeaterdatalist' list |
| ..and you have built your VS.Net project too? Regards/Halsningar Andre Colbiornsen 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: colbiornsen@sonnenburg.se Web.: www.sonnenburg.se B2B Web Solutions Specializing in .Net Ursprungligt meddelande Från: Mohammed Mudassir [mailto:mmudassir@cyber.net.... |
|
| SV: Re: Passing a value to a DataGrid (2 replies) |
| ASPFriends.com 'aspngdatagridrepeaterdatalist' list |
| How 'bout this: script language "VB" runat "server" Dim strAbstract As String Context.Request.Form("Abstract") Sub Page Load If Not isPostBack Then If Not strAbstract "" Then Abstract.Text strAbstract Else strAbstract Abstract.Text End IF BindDataGrid(strAbstract ) End If End Sub Sub BindDataGrid(ByVal strAbstract As String) Dim SqlText As String "SELECT tblCatalog.CatalogID, tblCatalog.Title, tbl... |
|
| Passing a value to a DataGrid (3 replies) |
| ASPFriends.com 'aspngdatagridrepeaterdatalist' list |
| I'm working on a DataGrid with paging. My SQL string is based on a search term entered by the user 'strAbstract'. When I perform the first search, the correct number of records are returned, but when I begin paging through the DataSet, I lose my value for 'strAbstract' and I begin paging through every record in the table. How do I retain or pass my user entered value for 'strAbstract' while paging... |
|
| Help!Controlling writing html into the response output stream. I'm getting close but need some guidance! (2 replies) |
| ASPFriends.com 'aspngdatagridrepeaterdatalist' list |
| Here's what I have so far ... I've got an event wired from the Page object to the DataGrid object embedded in the page via: private void InitializeComponent() { ... this.DataGrid1.ItemDataBound new System.Web.UI.WebControls.DataGridItemEventHandler(this.Item Bound); and the event handler (below) appears to fire for every row (Item?) (when the grid is rendered ... I hope? It happens after the DataB... |
|
| SV: Request is not available in this context (2 replies) |
| ASPFriends.com 'aspngdatagridrepeaterdatalist' list |
| Try this: Dim strAbstract As String Context.Request.Form("ABSTRACT") Hth Regards/Halsningar Andre Colbiornsen 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: colbiornsen@sonnenburg.se Web.: www.sonnenburg.se B2B Web Solutions Specializing in .Net Ursprungligt meddelande Från: Eric [mailto:evanbu... |
|
| Highlighting Search Keywords in a DataGrid Web Control (2 replies) |
| ASPFriends.com 'aspngdatagridrepeaterdatalist' list |
| In many of the popular search engines (such as Google), when you perform a search the resulting page displays a short text snippet from each search "hit" with each of those search words you had specified in bold type face. Similarly, if you view Google's cached version of a search hit, the word(s) you searched on are highlighted different colors to make them easy to pick out. This article examines... |
|
| Dropdownlist Rendering error PLEASE HELP (4 replies) |
| ASPFriends.com 'aspngdatagridrepeaterdatalist' list |
| Hi, This seems to be too simple, but I have a real problem with it. The rendering of the webpage complains with: A DropDownList cannot have multiple items selected and I have only one item selected! I have many other pages with DDLs that are working and I just created another one and I get the same error there too. Darn it, I know how to use DDL's, what is going on? I have a webpage where I have t... |
|
| Is there a way to wire up a DataGrid rendered on the server to client-side script? (6 replies) |
| ASPFriends.com 'aspngdatagridrepeaterdatalist' list |
| Any examples? If I'm able to generate, from a server side control, a DataGrid or DataList (not sure yet which one) that represents a master/detail structure how would I go about wiring up a client side script that will expand and collapse the rows? |
|
| QUESTION: DataGrid.ItemDataBound Event in which cases does this event fire? (3 replies) |
| ASPFriends.com 'aspngdatagridrepeaterdatalist' list |
| The docs make a general statement "Occurs after an item is data bound to the DataGrid control." After running some tests, this general statement does not appear to be true. It appears that it depends on the item being bound to the DataGrid? I've only gotten this event to fire when binding to a DataView. Unless I'm doing something wrong .... it doesn't fire when binding a DataSet or DataTable to a ... |
|
| Adding <THEAD> & <TBODY> to datagrid (3 replies) |
| ASPFriends.com 'aspngdatagridrepeaterdatalist' list |
| Im trying to implement an .htc behaviour on a Datagrid and am having trouble declaring the Grid to have THEAD & TBODY tags. Has anyone done this or can share any insights into using .htc's with asp.net thanks Simon Wright |
|
| VS.NET: DropDownList in EditItemTemplate of DataGrid (4 replies) |
| ASPFriends.com 'aspngdatagridrepeaterdatalist' list |
| Copied from [aspngvs] to [aspngdatagridrepeaterdatalist] by Tony Stark IronMan@aspelite.com Is this not possible? I'm trying to bind text and values to a DrowDownList that's in an EditItemTemplate of a DataGrid. There's no compile errors or warning. But at run time I get "Object reference not set to an instance of an object" on the line where I set the DrowDownList DataSource. If I move the DrowDo... |
|
| Datagrid Paging (19 replies) |
| ASPFriends.com 'aspngdatagridrepeaterdatalist' list |
| Moved from [aspngcontrolscs] to [aspngdatagridrepeaterdatalist] by Charles M. Carroll charlesmarkcarroll@yahoo.com This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. NextPart 001 01C1A7E8.9275CED0 Content Type: text/plain Is there any way to access the style attributes of the links generated for the paging functio... |
|