| Thread | Last Post | Replies |
|
| Gridview delete | 31 Dec 2006 00:44 GMT | 1 |
I have a simple gridview. I am using stored procedures and a my own Data Access Layer. Now I want to delete a row. Gridview code: <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns=false
|
| Newbie Question: How Does One Access an Individual Field in a Record? | 28 Dec 2006 15:36 GMT | 1 |
I can connect to a sql server database, I can query the database, and I can display the results in a datalist, but how can I refer to an individual field from a query? My query is from a sql command in a datasource. For example: SELECT CUSTOMER FROM CUSTOMERS.
|
| Ajax Triggers for DropDownList don't fire | 27 Dec 2006 06:32 GMT | 3 |
I'm trying to get a partial page (Ajax style) update when the selection of a DropDownList changes. I'm not having much luck. I will continue plugging away at the sample applications in hopes of finding some hints, but meanwhile, if someone could point out to me what I am doing ...
|
| Pass parameter from pages aspx | 26 Dec 2006 09:42 GMT | 1 |
Hello I need pass one parameter from one treeview to other page with one gridview, this parameter is the filter of the "select * from kk where fields=parameter" . How can I do this? any example similar?
|
| Required multiple instances of a UserControl loaded at runtime | 25 Dec 2006 10:23 GMT | 5 |
I need to access multiple instances of the same UserControl dynamically. I can successful do this with one control but I'm not sure how I can assign multiple instances to a Repeater at runtime. This is what I have so far
|
| Regular Expression Validator question | 25 Dec 2006 08:53 GMT | 1 |
I am using a RegularExpressionValidator to validate a TextBox. I use "^[\+|-]?[0-9]+(\.[0-9]*)?$" to check for a real number. The control works fine as long as the user enters something in the TextBox; it does not work if the user leaves the TextBox blank. Is there a bug in the ...
|
| Validation of RadioButtonList | 24 Dec 2006 23:19 GMT | 1 |
I've added a RadioButtonList (with 2 choices, neither selected by default), and a RequiredFieldValidator to a WebForm. Basically, I want a red asterisk to appear beside the RadioButtonList until the user selects on of the choices. I'd like this validation to fire on the client ...
|
| Embeding html controls in Server Control | 24 Dec 2006 12:24 GMT | 1 |
I have some HTML snippets (with about 15 HTML controls) that needs to be embedded into my server control. I need these HTML controls on client side for some processing (JS). What is the best way to implement this?
|
| GridView with changes transferred to db at end-of-edit | 20 Dec 2006 22:21 GMT | 1 |
I am learning ASP.NET and I need to have an Excel-like sheet of records from database. Users may modify data in the sheet. I thought about using GridView with DataSource but the problem is that the changes should be transferred to database not when record is modified but when ...
|
| Validation in GridView | 20 Dec 2006 22:21 GMT | 1 |
En blancoHello I need help, I don´t know how controller the validation of one column of gridview, this column update correct except if the user put "," or letters beacuse this fields is numeric, only accept for example "9.2" but not "a.3" or "9,2" or "kk". The problem is that ...
|
| "Cannot have multiple items selected in a DropDownList" Error | 20 Dec 2006 21:40 GMT | 11 |
I'm getting the error "Cannot have multiple items selected in a DropDownList" when I'm trying to select a specific value in a System.Web.UI.WebControls.DropDownList by using the code: ddl.SelectedValue = "3";
|
| accessing control in EditItemTemplate of DataList | 20 Dec 2006 17:29 GMT | 3 |
I am learning ASP.NET. On .aspx page I have a data-list with text-box that I would like to read during line modification. <asp:DataList ...
|
| force viewstate to clear on OnCommand event | 20 Dec 2006 07:14 GMT | 6 |
I have a number of nested repeater and placeholder controls. When a LinkButton is clicked I delete a db record. I'm relying on viewstate quite a lot so when a linkbutton's OnCommand event is rasied I'd like to remove the record from the viewstate so that the rest of the page ...
|
| Data grid column sizes | 19 Dec 2006 23:31 GMT | 1 |
I have a datagridview bound to a data table. I want to force the columns to all be the same size. How is this done with the grid? John Wright
|
| Item has already been added. Key in dictionary | 19 Dec 2006 15:37 GMT | 1 |
When inserting a new item i get the following error: Item has already been added. Key in dictionary: 'Cellular' Key being added: 'Cellular' As far as I know you get that error if you enter the parameter more than once, however i can't find anywhere in my code where the value is
|