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

Filter by week: 1 2 3 4 5

Seeking Ideas for Controls
Posted by Ed Swartz at 4/21/2004 6:33:57 PM
I'm seeking ideas for custom web controls. Ed ...more >>

User Control - InvalidCastException: Specified cast is not valid
Posted by Ajit at 4/21/2004 4:49:57 PM
Hi, My control works fine unless until i add dropdownlist box. When i add dropdownlist box to control and try to test that control in my aspx page it gives the following error. =================================== Specified cast is not valid. Description: An unhandled exception occurred dur...more >>

Attribute Design Time Support
Posted by Ram at 4/21/2004 12:06:06 PM
Hi, I have an user control(.ascx) file with one Text Box and a Regular Expression Validator. I wrote property in the User control Code behind (C#) to set the ErrorMessage for the RegularExpressionValidator. Now, I want this property to be displayed int the "Proeperties Window of the User control" ...more >>

Custom control help
Posted by raj.surisetti NO[at]SPAM aeromech.usyd.edu.au at 4/20/2004 6:32:36 PM
Hi, Can anyone help me to build custom control for the following <HEAD> <LINK href="~/Styles/Blah.css" rel="stylesheet" type="text/css"> <meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1"> <meta name="CODE_LANGUAGE" Content="C#"> <meta name="vs_defaultClientScrip...more >>

Accessing User Control properties from C# Code Behind...
Posted by jonratcliffe NO[at]SPAM yahoo.co.uk at 4/20/2004 8:31:01 AM
I am not using (can't use) vs.net to create my asp.net pages - I am using dreamweaver MX (essentially using it as a glorified notepad). I am using C#. Pages involved: header.ascx - an in page (ie not a code behind) user control default.aspx - an asp.net page default.aspx.cs - a code behind...more >>

Creating a COM+ object with c#
Posted by 601 at 4/20/2004 2:34:32 AM
Is it possible to use c# and .NET to create a COM+ object that can be accessed in classic ASP/VBScript using Create.Object ? -- W '04 <:> Open...more >>

Enum causes compiler errors
Posted by Ed Swartz at 4/19/2004 6:22:46 PM
In my web control code I define an enum: public enum LayoutDirections { Horizontal, Vertical }; In my demo web application I get and set an enum value like so: T.LayoutDirection = T.LayoutDirections.Horizontal; When I compile the web app which uses the web control I get: Int...more >>

Composite Control not receiving DataGrid (child control) events?
Posted by debartsa at 4/19/2004 4:12:40 PM
Hi Everybody, I have a composite control (CompositeControl) which uses an instance of the DataGrid (DataCtrl1) as a child control. The DataGrid is dynamically created in the CreateChildControls() method of my control and is responsible for rendering a list of web sites. The DataGrid also g...more >>



Dropdownlist
Posted by koen van meerbeeck at 4/19/2004 3:01:23 PM
Hi All I'm creating an application and I want to add images to a dropdownlist in asp.net using C#. Can anybody help me with this plz. Koen ...more >>

Persisting control properties at design time
Posted by cpnet at 4/19/2004 1:20:04 PM
Sorry, this is a 2nd post related to this problem, but I've now set up my MSDN e-mail id, so I wanted to post with this e-mail. I'm trying to build some custom controls/components for use with ASP.NET. I have ControlParent (I've tried this where ControlParent is a Control, and also where it's ...more >>

deriving from BaseDataList to make a custom datagrid that is 100% client side...
Posted by Fred Hirschfeld at 4/19/2004 7:33:56 AM
I want to create a custom datagrid control that uses XML data islands to control the data client side with editing. I am trying to inherit the minimal for implementing this server control and would like to derive from BaseDataList. Does anyone know what I need to put in the two abstract methods ...more >>

using many user controls
Posted by suresh kumar via .NET 247 at 4/17/2004 2:19:56 AM
Hi, I would like to use user controls such that my complete site contains just only user controls, but aspx pages which hold them. i would like to have only one aspx page for diaplaying the controls, but dynamically i would like to load each control based on some criteria and display only one at a...more >>

How do I save controls that are part of my custom control?
Posted by Ken Varn at 4/15/2004 2:58:25 PM
I have a custom list control that allows other controls to be added to it dynamically. I want to be able to maintain the custom list of controls on postback. I tried storing each added control into a ViewState element, but the WebControl object cannot be stored in ViewState (I get an exception ...more >>

How to strong name an assembly which use interop.shell32?
Posted by Nicola Garone at 4/15/2004 2:57:57 PM
Hi group I developed a custom control wich use some shell functions, I've added reference to shell32.dll, defined wrap for some interfacee and declared my shell32's functions I need. Now it work fine in a test form, and load and shows in a asp.net form. But when it need to use shell32 functi...more >>

UserControl and Properties
Posted by Zürcher See at 4/15/2004 2:20:28 PM
Who can explain me why this very simple UserControl with the "Document" property, when is in a WebForm, I can't see/set the "Document" property from the Properties Frame of VisualStudio? WebUserControl1.ascx <%@ Control Language="c#" AutoEventWireup="false" Codebehind="WebUserControl1.ascx...more >>

Postback to a web custom control HELP Please!!!
Posted by Chris at 4/15/2004 8:39:24 AM
Does anyone know how to postback to an inherited custom control from a pop-up window? Thanks in advance. ...more >>

Dynamic tabstrip and multipage
Posted by felad NO[at]SPAM walla.co.il at 4/15/2004 5:34:42 AM
Hi I'm creating an asp net application with dynamic controls, I have a dynamic tabstrip and multipage and each page is filed with several controls types based on SQl database.( The code that create them in in the Page_Init ) The problem - When I first load the page everything works OK and wh...more >>

Generic ascx controls with properties
Posted by Bonj at 4/15/2004 4:21:02 AM
H I want to make an ascx control with a DataGrid on it and make its bindings generic by using an ascx control, is there any way I can give each ascx control its own 'properties', like I want to make each instance of it a different forecolor, and I also want to give each one a different dataset (alt...more >>

Nice textBox w/built in validation problem
Posted by Chad at 4/15/2004 12:21:30 AM
Attached is an article on how to create a textbox control with built in = validation. See = http://www.codeproject.com/aspnet/SelfValidatingTextBox2.asp?df=3D100&for= umid=3D33309&select=3D792375 Check it out. Any help would be greatly appreciated. You might even = value the control discussed...more >>


DevelopmentNow Blog