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 building controls > august 2005 > threads for august 15 - 21, 2005

Filter by week: 1 2 3 4 5

Command Event firing without apparent cause
Posted by John Bankhead at 8/21/2005 1:51:03 PM
I am building a control with among other controls is a datagrid. The data grid, when populated has twenty-five text columns and a single input column. The column, depending on the data in the row, is being created as either a button or a textbox. This logic is performed in the ItemDataBound...more >>


Command Event in button being magically invoked.
Posted by John Bankhead at 8/21/2005 12:55:01 PM
Top of page: Listbox and button. Listbox contains a list of products. Button says "Load". Beneath both is a datagrid. In the datagrid, 25 columns contain text and one of the columns contains a textbox or button depending on the nature of the account. Clicking a button in this column cause...more >>

Help with using a custom collection as a property for a TextBox derrived control.
Posted by Chris Crowe [MVP] at 8/21/2005 12:00:00 AM
Hi I am creating a new TextBox control but I am having problems when I am trying to add my own collection to the control and persisting the values to the asp.net web page. This is my code for the collection property [PersistenceMode(PersistenceMode.InnerProperty)] public LookupEditCont...more >>

Making sure a file exists before uploading it
Posted by Nathan Sokalski at 8/20/2005 11:15:15 PM
I have a form that allows the user to upload a file. Even though <input type="file" runat="server"> is intended to have the user choose the file using the browse button, it still allows them to change the path before it is uploaded. I currently use the following code to upload the file: Dim u...more >>

User Controls Reusability
Posted by Clift at 8/19/2005 9:07:05 AM
I have created a DHTML menu and wrapped it into a asp.net user control library. I am able to use this in any project by using <%@ Register TagPrefix="uc1" TagName="menu" Src="...%>. The Src attribute is the problem. Can anyone give me any information on how to locate my .ascx control in one ...more >>

Including files with a control
Posted by Ryan at 8/18/2005 1:02:06 PM
I am attempting to make an ASP.NET server control (inheriting from System.Web.UI.Control) and, when the control is dragged from the Visual Studio toolbox, I'd like it to automatically copy some indlude files (images, etc) to the user's web project. Is this possible? Thanx...more >>

ASP.NET 2.0: problem with CompositeDataboundControl and GetSampleDataSource
Posted by Jos at 8/17/2005 12:00:00 AM
I have a control derived from CompositeDataboundControl, which is working fine at run time, but I can't get the control to draw itself at design time. I have overridden the GetSampleDataSource method, so that my control designer can provide dummy data. The problem seems to be that the GetDesig...more >>

Design Problem
Posted by JRB at 8/16/2005 9:25:07 PM
Hi, I'm a programmer, but new to ASP.NET. I'm playing around with the Repeater and DataGrid controls. Here's the situation. I've got a MySQL database containing a couple tables. One called "games", one called "picks". picks has fields "GameID", and "PickedTeam". games has fields "GameID", "H...more >>



How to add vertical align attribute to designer
Posted by James Geurts at 8/16/2005 6:21:02 AM
Hi, I am trying to add designer support to my custom web control. It's similar to the Panel control and I'd like to allow the user to specify vertical align. I'm not quite sure what style is supported in the vs.net designer, though. So... in the OnBehaviorAttached() method of my desig...more >>

Using IFRAME in a custom control
Posted by Rushad at 8/16/2005 2:02:41 AM
I am using an IFRAME in a custom control with src="Popup.aspx" where Popup.aspx is a page in the Web control library. How can I reference this page without having to copy it down locally ? I have tried embedding it in the Web control library dll and referencing in the Assembly.inf file using ...more >>

Exposing a collection properties
Posted by Thiago H M Fernandes [BrDevelopers] at 8/15/2005 10:47:03 AM
Hi all, I am trying to create a control that expose a collection of a custom class. I did some like this: // My Custom Button [TypeConverter(typeof(ExpandableObjectConverter))] public class HTMLEditorButton : Image {} // My Collection of Custom Buttons public class HTMLEditorButtonCollec...more >>


DevelopmentNow Blog