Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008
all groups > asp.net webcontrols > april 2006 > threads for april 8 - 14, 2006

Filter by week: 1 2 3 4 5

Add additional navigation buttons to wizard control
Posted by ASP Developer at 4/14/2006 9:27:02 AM
Is it possible to add additional navigation buttons to the asp.net wizard control? For example, I want to add a save button on every page so the user can save as she/he goes vs waiting until the end to do so. Any help would be greatly appreciated....more >>


.Net Menu controls
Posted by Coleen at 4/14/2006 9:15:17 AM
Hi - I am using .net 2003 vb .net and aspx for a project. I am trying to build a Menu control for my users - WITHOUT using third party add-ins! I need to create a menu like you would in JavaScript with the roll-over dropdowns for pages within a certain category. Can this be done using VB ..n...more >>

imagefield in gridview
Posted by TdarTdar at 4/14/2006 8:07:02 AM
Hi, I have a sql image field that is a picture. I added a imagefield and bound it to the field name, and all i get is a red x.. Tdar...more >>

DataList and Event not fired
Posted by nirbhay at 4/13/2006 11:19:39 PM
Hello All I am having a problem with one of my aspx pages using DataList. I will try to make it very short and precise :) ~~ The List is data bound on page load(!IsPostBack) to a DataTable. The page displays the list items all well and fine. The DataList has an Edit Command button (in ItemT...more >>

How well is a performance of a Menu Control
Posted by Tatyana at 4/13/2006 3:35:59 PM
Hi Everybody, I would like to ask how well is the performance of a Menu Control which comes with the framework 2.0. Our menu must be re-created weekly according to the availability of the products in the category we want to have a menu item for. Therefore I'm asking how well that will w...more >>

issue: accessing value of dropdownlist in a user control
Posted by E at 4/13/2006 12:52:01 PM
hi, I am having trouble getting the value of a dropdownlist from javascript. I have a form that contains a user control that has a drop downlist. the usercontrol is declared as follows: protected frm3H_1 Frm3H_11; in the user control I declare the dropdownlist protected System.Web.UI.W...more >>

GridViewRow.DataItem is null
Posted by Jason at 4/13/2006 7:07:02 AM
I have a page that dynamically generates controls based on a querystring. the dynamic controls are: a Wizard a Wizard Step for each description selected by querystring. an ObjectDataSource and GridView on each Step based on querystring. Everything is working great until I click "finish" on t...more >>

Video capture control in asp.net 2.0
Posted by Chrysan at 4/13/2006 12:41:02 AM
I am writing a Video Conference application now, and would like to display received video on my web page. But, I can't find a control which can capture the video. I was successfully developed the Video Conference application in VB.NET window form, which using the PictureBox to capture the ...more >>



Need to add a row to total the numbers in the grid
Posted by Velvet at 4/12/2006 5:57:51 PM
Does anyone know of a tutorial out there that will show me how to add a row to the bottom of a datagrid and total up the values in each column? I seem to remember seeing one some time ago, but I cannot seem to find it. thanks, Velvet ...more >>

Checkbox items under a RadioButton
Posted by Web learner at 4/12/2006 3:08:47 PM
I have to have three RadioButtons and then under one of this RadioButton, I need to put two checkboxes. Something like following: O Temperature [] Air [] Water O Radiaton O Wind Velocity The child CheckBoxes (Air and Water in above example) should become "activated" only when t...more >>

Enabled="False"
Posted by Loren Dummer at 4/12/2006 8:59:09 AM
If I have a <asp:textbox control on a webform that is sometimes enabled="False" and sometimes Enabled="True". How can I still read the value of the textbox control when the enabled property is set to False? For some reason, if the Enabled property is set to True, I cannot read the text pro...more >>

Server Control to manipulate GridView
Posted by Jeronimo Bertran at 4/11/2006 10:02:20 PM
I have created some procedures to export the content of a gridView to a text file. I am now trying to encapsulate all of this into a self contained WebControl that basically behaves like an image button that when it is clicked the export is performed. I am not completely sure if the best ...more >>

no FormView for create/insert page
Posted by David Thielen at 4/11/2006 7:17:02 PM
Hi; As an experiment for one page I created just a bunch of controls on the page - no FormView, etc. I use this page for both create & edit. This way I only have every control once (no Item/EditItem) and all controls are accessable as objects in the code behind. It seems to work pretty n...more >>

Access data in ObjectDataSource
Posted by David Thielen at 4/11/2006 1:25:02 PM
Hi; I have a page that displays a record and uses an ObjectDataSource to select the data to be displayed. How can I get the data it read? I know I can call select() on the object. But that reads it again and if another user has updated it since the first read, then I am using data differ...more >>

DataGrid not calling ItemCommand Event
Posted by Ezequiel_Pérez at 4/11/2006 11:44:20 AM
Hi, I have a problem with a DataGrid, this datagrid is not calling the ItemCommand event. I tried do to it defining the event as usual (from the designer), but it didn't work, neither defining the event in the .aspx. the aspx datagrid tag: <asp:datagrid id="grdOilFields" runat="server" Bor...more >>

custom button/link in detailsview commandfield section
Posted by mt at 4/11/2006 6:47:01 AM
Hi, Is it possible to add a button or a link to to the detailsview commandfield section (where the new, insert, cancel) buttons are displayed. I've added a button column to the detailsview but it is displayed on a separate row. Instead I would like to have this button on the same row as th...more >>

Datagrid custom paging always loads page 1
Posted by Julia B at 4/11/2006 5:53:01 AM
Hi, I've got a datagrid where I've set up custom paging, following instructions in Help etc, however, although the virtualitemcount is correct (i.e. number of pages shown is correct), whatever page I click on the first 10 dataset items are always loaded. If anyone can help that would be gre...more >>

Datagrid cancel command does not work when adding new record
Posted by Julia B at 4/11/2006 2:55:02 AM
I've got a datagrid with a add, update/cancel and edit commands. If I edit a record then press the cancel button this works fine. If I add a new record, then change my mind before saving and press cancel, the cancel does not work and an invalid record is saved to the dataset. Any ideas on w...more >>

treeview collapse problem
Posted by Shawn at 4/11/2006 12:00:00 AM
Hi. I'm having a problem with the TreeView control. If a node is selected and I click to collapse it's parent node then the parent node becomes selected and the SelectedNodeChanged event fires. This makes me unable to tell whether a node has been selected or just collapsed. I need to be able...more >>

Webcontrol Alignment problem
Posted by Jeff Tolman at 4/10/2006 10:49:57 PM
Initially I have a set of imagebuttons within a table <TD> element which I'm using as "tabs" so there is no space between the bottom of the images and the row underneath. Since these imagebuttons ended up on many pages I decided to make a webcontrol out of it. So all I did was copy the ima...more >>

How to set default values for fields in detailsview
Posted by mt at 4/10/2006 1:47:02 PM
Hi, How to set the default values for fields in detailsview in INSERT mode? Which event should I use? By default the fields are blank in insert mode. Any help is appreciated. Thanks ...more >>

style question
Posted by David Thielen at 4/10/2006 10:47:02 AM
Hi; When displaying a record (not editing - just displaying) and I am displaying it in a FormView because what is shown depends on some of the record values, what do you think works best: 1) Label or TextBox w/ TextBox.Enabled=false for the text fields? 2) For radio & check boxes - A Labe...more >>

Validation inside composite controls for ASP .NET 2.0
Posted by JorgeDorcasGarcia NO[at]SPAM hotmail.com at 4/10/2006 10:27:09 AM
I'm creating a group of composite controls. Some are more granular than others, for example, a Zip Code control. The control has a TextBox for Zip Code, a TextBox for Zip Extension and compare validators for both of these controls in order to make sure the user enters numeric information. If I ...more >>

Adding CustomValidator dynamically
Posted by sebastien.varoteaux NO[at]SPAM gmail.com at 4/10/2006 9:44:38 AM
Hi all, I have a form on which i add n * 2 TextBox dynamically. I would like to validate them with a CustomValidator. I do it like that (calling from OnInit method): parentControl.Controls.Add(new LiteralControl("<label for=3D\"" + "tbFirstname" + counter + "\">Firstname</label>")); Text...more >>

must click button twice for event to fire
Posted by Jon Prisbe at 4/10/2006 7:33:01 AM
I have a web site with a default page and several user controls on the page that get set to visible or invisible dependign on the menu optonthe user chooses. One control has another user control on it (child) and that use control can have one or more user controls on it (grand children). ...more >>

problem traping event in child control
Posted by sunil at 4/10/2006 3:39:01 AM
hello everybody... I am develooping a kind of asp.net page in which i want to have datagrid inside a datagrid. Thsi i have somehow managed to develop. Now what i want is to have the functionality for the inner datagird to have the column called actions in which some image buttons are create...more >>

Show ***** only if have a password
Posted by David Thielen at 4/9/2006 1:47:01 PM
Hi; When displaying a record, I want to show ***** if they entered a password and nothing if they did not. Is there a way to do this in the aspx file or do I need to add a property to the data called ViewPassword? -- thanks - dave david_at_windward_dot_net http://www.windwardreports.co...more >>

How do I debug apsx pages?
Posted by David Thielen at 4/9/2006 1:39:01 PM
Hi; I'm sure it's a simple answer but I can't find it. How do I debug an aspx file? Is there some way to step through the processing of it? -- thanks - dave david_at_windward_dot_net http://www.windwardreports.com ...more >>

return url value
Posted by David Thielen at 4/9/2006 1:29:02 PM
Hi; I have a page (page X) where I want to have a "Return" button and that takes it back to the previous page (page A) - the one (page A) that linked to this page (page X). Is there an easy way to get the url of page A when page X first loads? -- thanks - dave david_at_windward_dot_n...more >>

Gridview can't format a date
Posted by Steve at 4/8/2006 3:48:21 PM
I have a gridview bound to a SQL Server table. One of my columns is bound to a datetime field. I set the column's dataformatstring property to {0:yy-MM-dd} or {0:d} or {0:D} it doesn't matter. The dates are shown as 4/8/2006 12:00:00 AM. I want the date only but I can't supress the time. The ...more >>

Display a record - several questions
Posted by David Thielen at 4/8/2006 3:11:02 PM
Hi; I have a page that displays a record. What is shown is based on the record values - for example there is a MultiView and the View shown depends on a value in the record. So I cannot use a DetailsView or FormView - it's just a bunch of fields on the page. 1) I want to call using Vi...more >>

One page - edit & insert
Posted by David Thielen at 4/8/2006 2:51:01 PM
Hi; I want to have a page where Datasource.aspx means create a new datasource and Datasource.aspx?ID=5 means edit the datasource who's PK is 5. I am not using a GridView or DetailsView for this data - there are a bunch of dependencies so I have to just put in a bunch of form fields. 1) ...more >>

using 'sender' object on event fires
Posted by Phil at 4/8/2006 2:36:02 PM
I understand using the 'sender' object allows you to right a single function to handle multiple events, but in the instance that you are righting a function for a single event does it buy you anything? For instance (as is my case...), when handling a FormView PreRender event, is it better t...more >>

FormView - initial template
Posted by David Thielen at 4/8/2006 2:03:02 PM
Hi; I call a page that has a FormView from 3 different buttons - view, edit, and create. So I need to set the initial template when the page is called. Is there a way to do this in the url for the page? Or if I have to do it in it's code- behind, when/how? -- thanks - dave david_at_w...more >>

Confirm delete in GridView - the easy way
Posted by David Thielen at 4/8/2006 11:08:01 AM
Hi; I think this is the easiest way to do this - http://www.davidthielen.info/programming/2006/04/delete_confirm_.html -- thanks - dave david_at_windward_dot_net http://www.windwardreports.com ...more >>

Eval in an OnClick?
Posted by David Thielen at 4/8/2006 9:02:01 AM
Hi; How can I do the following (inside a GridView)? <asp:LinkButton ID="DeleteButton" runat="server" CausesValidation="False" CommandName="Delete" OnClientClick='return confirm("Delete the datasource <%# Eval("Title") %>?");' Text="delete" /> The above does not evaluate th...more >>

HyperLinkField and FindControl
Posted by David Thielen at 4/8/2006 8:47:01 AM
Hi; I have a HyperLinkField inside my GridView and it works great. I use DataNavigateUrlFields="ID" DataNavigateUrlFormatString="Datasource.aspx?ID={0}" so I really want this control. However, I need to access this control in the RowDataBound in the code-behind. There is no ID="name" f...more >>

DataMappingType in the DataSet Designer
Posted by Alexander Walker at 4/8/2006 2:39:20 AM
Hello I'm trying to set the DataMappingType of columns on a typed dataset that I have created using the DataSet designer in visual studio 2005, is there a way that I can set the DataMappingType of the columns? I've tried editing the code that it generates but any changes I make are overwr...more >>


DevelopmentNow Blog