all groups > asp.net building controls > december 2004 > threads for december 8 - 14, 2004
Filter by week: 1 2 3 4 5
New Control won't drop on designer page
Posted by jsh02_nova NO[at]SPAM hotmail.com at 12/14/2004 11:11:03 AM
Made new control as perscibed by MS web documentation, added control to
toolbar, but control can't be dragged unto new web page.
What ComponentModel Designer property tags did I forget to include?... more >>
serialization problem - eventhandling by control
Posted by Ralf Müller at 12/14/2004 9:46:28 AM
Hi folks!
I am developing a custom TreeView and I have got a problem with the
serialization of my TreeViewModel:
[Serializable]
public class NavigationTreeModel : ITreeModel {
public event EventHandler DataChanged;
private Folder _rootFolder;
private IList _rootElements;
... more >>
dynamic controls in asp.net....Please Help...
Posted by Irfan Akram at 12/13/2004 11:41:04 AM
Hello People,
I would appreciate your responses on this.
I am writing an asp.net web-application involving C#. I am actually building
a test hierarchy at the moment, which involves producing dynamic controls,
depending on user response.
To be more precise, I prompt the user for the num... more >>
Designer class missing
Posted by Troy at 12/12/2004 8:31:07 PM
I am missing the System.Web.Ui.Designer class from intellisense. When I
debug it the IDE also indicates that it is missing. I'm referencing it in
this statement: Editor(GetType(System.Web.UI.Design.ImageUrlEditor),
GetType(System.Drawing.Design.UITypeEditor)
Any ideas why I'm missing thi... more >>
Debugging at design time
Posted by G Dean Blake at 12/12/2004 4:59:56 PM
It appears easy using vs.net to debug servercontrols during runtime but how
can I step through code that gets executed at design time. for instance
when properties are set.
Thanks,
G
... more >>
Rendering an UserControl inside a mail body without any page object reference
Posted by Henri at 12/11/2004 11:14:03 PM
Hi
I would like to use a User Control to render the body of the mail I send.
I know how to do that using Page.LoadControl
The problem is that my application is not an ASP.NET page so I can't use any
Page object reference to call LoadControl
What should I do ?
Thanks
Henri
... more >>
SelectedIndexChanged event is not fired
Posted by BentleyInc at 12/10/2004 2:25:23 PM
I've created a Web user control that contains a DropDownList and this
DropDownList gets created and loaded in init() everytime. I set
AutoPostBack=true and registered the event.
I'm using the same user control at 2 different places. When running in the
ASP.NET web form, the DropDownList is wor... more >>
composite control: how to assign initial values to child controls?
Posted by Ralf Müller at 12/10/2004 2:16:56 PM
Hi all,
I've got a question concerning composite controls:
As you can see, in my CreateChildControls method I have two custom child
controls, each of them using a model. This model should be assigned to those
controls only once in their lifetime since they keep it in their viewstate.
But how ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Templated properties in composite control containing a datagrid
Posted by glevik NO[at]SPAM gmail.com at 12/10/2004 8:54:53 AM
Hello,
I'm new to this. I have a composite server custom control that contains
a datagrid, and can't quite figure out an easy way to make it
configurable from an ASPX page - the same way datagrids are configured,
with columns section etc. I know ITemplate is involved, but I am not
sure how to... more >>
Event not firing in usercontrol inside usercontrol
Posted by vatech1993 NO[at]SPAM yahoo.com at 12/10/2004 6:21:01 AM
I'm stumped on this problem. I've created a user control that
dynamically creates 5 linkbuttons in the CreateChildControls method.
Each of these child controls is linked to a commandeventhandler, has
command name and argument attached and is assigned a unique id. If I
use this control on a web... more >>
Event not firing in usercontrol inside usercontrol
Posted by vatech1993 NO[at]SPAM yahoo.com at 12/10/2004 6:20:59 AM
I'm stumped on this problem. I've created a user control that
dynamically creates 5 linkbuttons in the CreateChildControls method.
Each of these child controls is linked to a commandeventhandler, has
command name and argument attached and is assigned a unique id. If I
use this control on a web... more >>
TagPrefixAttribute Question
Posted by G Dean Blake at 12/9/2004 5:03:03 PM
I'm going through this book on asp.net server control development. I wrote
a control using the namespace:
ESS.ServerControls
The book says that if I put the following in my control's AssemblyInfo.vb
file that my controls will be prefixed by an "ess" tagPrefix:
Imports System.Web.UI
..... more >>
Problem using dynamic Datalist templates - Newbie
Posted by dresde from NYC at 12/9/2004 1:39:19 PM
Hi there!
Hopefully somebody can help as I am getting desperate.
I am using C# to develope a web user control containing a DataList and I
want my DataList to look different depending on some control properties.
To achieve that I use "Page.LoadTemplate (myTemplateName)". I do this on my ... more >>
Syntax reference for ASP.NET
Posted by Nathan Sokalski at 12/8/2004 9:04:59 PM
I am looking for an online reference that shows the following:
Syntax for ASP.NET using VB.NET and ADO.NET
I want a reference of the syntax of any methods, functions, and/or
properties but not any tutorials. If tutorials are on the site, that is OK
as long as they are in a completely separ... more >>
Enumerating Controls Collection in Control.Render() causes System.InvalidOperationException - Why???
Posted by Ralf Müller at 12/8/2004 1:41:24 PM
Hi all!
any ideas why this code...
protected override void Render(HtmlTextWriter writer) {
Table table;
TableRow row;
TableCell cell;
table = new Table();
foreach(ListElement e in Controls) {
row = new TableRow();
cell = new TableCell();
... more >>
Event Hander Question
Posted by Chris Fink at 12/8/2004 11:51:04 AM
I have a question about the following code. I don't understand how and where
the delegate gets created that allows for the calling of the OnClick when the
button is clicked? For example,
// Invokes delegate registered with the Click event.
protected virtual void OnClick(Eve... more >>
Template Control with Sub Controls
Posted by gdeswardt NO[at]SPAM gmail.com at 12/8/2004 6:24:58 AM
I am trying to create a Control that will serve as a template for all
my asp.net pages. The one requirement is to be able to add controls to
the template and make them accisble to with in the Page and not being
grouped as child controls under the template.
The main drive behind this is that VS... more >>
Request object not working
Posted by Dave at 12/8/2004 5:05:34 AM
Hi,
I have a weird problem.
I have a user control, included in a page. This UC does
authentication and tracking.
I developed the code in the page_load event and it works
OK. I then moved it into its own event, CheckUser() and
it stopped working.
I added "sender, e" into the paramet... more >>
Events from a UserControl within a PlaceHolder
Posted by Matt Weber at 12/8/2004 4:55:07 AM
Brief background: I have a page that loads n UserControls into a PlaceHolder
control, where n corresponds to a number of inputs by the user. Each
UserControl consists of a couple of labels, a TextBox, an ImageButton, and a
DataGrid.
I'm trying to fire an event from within the UserControl t... more >>
|