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 >>
Don't see what you're looking for? Search DevelopmentNow.com.
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 >>
|