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 > november 2004 > threads for november 15 - 21, 2004

Filter by week: 1 2 3 4 5

Determine width for label or button
Posted by Leo at 11/21/2004 5:35:16 PM
Is there any way to determine the width needed for a web.ui.label or web.ui.button based on it's .text and .font properties? I know you can do this with windows.form controls but how could it be done for server controls. ...more >>


Detecting design mode in custom control
Posted by Naveen Kohli at 11/21/2004 11:58:37 AM
Is it pretty safe to assume that if Context is null, then its design mode? if (null == this.Context) { return true; } Naveen Kohli http://www.netomatix.com ...more >>

Debugging designer control
Posted by Serg at 11/18/2004 7:35:05 PM
Hello, in winforms, how do I debug a control (i.e. when it is being added and when its properties are being modified by the client window)? Thanks a lot...more >>

Book on Designers?
Posted by Serg at 11/18/2004 5:59:03 PM
Hello Please recommend a good book on developing custom user controls using Designer namespace, exposing properties, events, ect... NOT a book explaining ..NET fundamentals, but rather an in-depth coverage with examples in C#. I am mostly interested in doing this for WinForms, but I didn't ...more >>

DataGridCommand does not bubble?
Posted by Sergio Florez M. at 11/18/2004 2:59:23 PM
I'm creating a control which has a Button and a DataGrid among other things. I have overwritten the OnBubbleEvent() method to capture the Button's click event and it works fine. I also want to do this to capture a click on a ButtonColumn in the grid, but OnBubbleEvent() is never fired when I clic...more >>

how to get form id in a composite control?
Posted by Robin Lilly' at 11/18/2004 1:21:16 PM
Hi, I have a composite control that I need to reference the form id to build some javascript that I am pushing out several places, such as: _Anchor.Attributes.Add("OnClick", "JavaScript:popUpCalendar(this, document." & _formId & ".elements['" & _TextBox.UniqueID & "'], ""m/d/yyyy"")") ...more >>

Extending datagrid with new/insert button
Posted by Manuel Trunk at 11/17/2004 5:29:10 AM
Hi, I try to develop a server control which inherits from DataGrid and adds a new/insert button to this grid. This is no problem, but I can't get the event fired from this new button. I tried everything, implementing INamingContainer and IPostBackDataHandler, added the button to the footer...more >>

ASP.NET 1.1: Page vs. Control events
Posted by Ole Hanson at 11/16/2004 6:19:39 PM
Hi I am having a number of User Controls (ascx) on my page (aspx). The page is in my scenario only working as a dumb "container "giving life to the Controls, as these are handling my UI-logic and communicating with each other (the controls are communicating) by subscribing to each others event...more >>



Directing Domains
Posted by Andrew Bonney \(abweb\) at 11/16/2004 6:15:27 PM
Hi, I have never used ASP in my life so I NEED HELP!!! I have heard it is possible to create an asp script that when someone connects to a web server from the a domain (say www.mydomain.com), the asp script reads the domain/subdomain in the address bar and the locates the correct folder fo...more >>

User Control Populate Form after Log On - newbie question
Posted by keith at 11/16/2004 11:13:07 AM
Hi, I have a user control that contains a login element, textboxes for username and password, and a button to submit, which appears in the header of each page in my asp.net application. All of the below is done with code behind. When the user correctly logs on, it sets a public property bL...more >>

Building Nested Controls
Posted by Gaurav Vaish at 11/16/2004 10:54:46 AM
Hi, I want to have a control that can have children like: <prefix:Parent ... runat="server"> <Children> <prefix:Child .... runat="server"/> </Children> </prefix:Parent> When I try to launch the page, it gives me error that: "Children" does not have a property ...more >>


DevelopmentNow Blog