| 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... |
|
| 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 ... |
|
| 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 |
|
| 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 |
|
| 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.... |
|
| 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? |
|
| 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... |
|
| 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... |
|
| 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!! |
|
| 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 * * |
|
| 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... |
|
| 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? |
|
| 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... |
|
| 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 |
|
| 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... |
|
| 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 |
|
| 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... |
|
| 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... |
|
| 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[... |
|
| 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 |
|
| 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... |
|
| 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 ... |
|
| 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... |
|
| 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... |
|
| 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; }... |
|