wongLung PostAt:Wed, 26 Nov 2008 21:26:01 GMT Okay I've been doing some more testing with templates.. I've got the following code: using System;using System.Collections.Generic;using System.ComponentModel;using System.Text;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;namespace WebControlLib1{ ...
more >> powerZ PostAt:Wed, 26 Nov 2008 17:34:33 GMT I have written a custom server control that I can add to the toolbox, without any issues, when the dll is on my local machine. However, when the dll is stored on our development server, I receive an error when attempted to add the control to the toolbox. The error ...
more >> kklung PostAt:Wed, 26 Nov 2008 16:50:40 GMT Hi,I am working on a custom panel that needs to have the same behavior of a panel control, but it also needs to add a special and customized header thru properties I exposed in the control.My problem is to show in design time that header. I can override Render methods but it only ...
more >> Robert PostAt:Wed, 26 Nov 2008 10:34:48 GMT Hello, I'm making a whole bunch of website components (news system, screenshot viewer, etc) that I want to be able to use across multiple websites with ease.First question:1. How do I create a custom web control? I created a new project in Visual Studio 2005, but i'm not sure I understand it ...
more >> Linlin PostAt:Wed, 26 Nov 2008 07:59:36 GMT I created a user control with form fields (name, address, city, state, etc.) I dropped two user controls on one page, one for Shipping, and the other for Billing. I have validation within this user control, but they fire twice. If I fill in Shipping's address and not Billing's ...
more >> hurryJ PostAt:Wed, 26 Nov 2008 05:39:26 GMT Hello,I have a custom composite control where I dynamically generate the child controls in CreateChildControls. The child controls themselves are not declared as pre-existing member fields of my custom composite control since they are dynamically generated. I've noticed that ASP.Net ...
more >> Bee PostAt:Wed, 26 Nov 2008 03:19:02 GMT I have a custom control for which there is an enum property. During thedesign time, the property appears in the IDE, but its not applying tothe code when i select one of the value. The rest of the string andinteger properties applies to the code.What could be the problem. ...
more >> powerZ PostAt:Wed, 26 Nov 2008 01:03:13 GMT Hi friendsI'm trying to write a custon control with should interact with other controls in the page referenced by a property. As an example, this property should work like the validators's ControlToValidate property.If i ...
more >> drjon PostAt:Tue, 25 Nov 2008 18:06:12 GMT I'm sure this is a simple one, but I can find the answer. To bring my Custom Server Control skills up-to-date, I'm creating a tab control just for the fun of it. I've been able to get a child tag to render in IntelliSense:i.e.<CS:TabControl> <Tab ...
more >> powerZ PostAt:Tue, 25 Nov 2008 14:59:14 GMT Basicly with the following code I can add steps, select the step I want to edit and drag controls onto the editable region. Cool eh? But I have one problem.I first add 2 steps via the Templates collection, add content to the two steps. I then add another step and add content. I switch to ...
more >> powerZ PostAt:Tue, 25 Nov 2008 14:01:24 GMT Hi all,I am trying to create a control which will infact mimic the functionality of the HtmlInputFile control. The reason for this is purely visual, but it is a necessity to maintain the sites "look and feel".I have tried including a transparent HtmlInputFile in my control which visually ...
more >> sun PostAt:Tue, 25 Nov 2008 11:54:51 GMT Hi,I am making a custom server control from groud-up and would like to have validation features included. I mean, i would like to have the control validate himself built-in, without need of declaring an external validator in the page.How can i do this? I only found documentation, step by step, of ...
more >> Lee PostAt:Tue, 25 Nov 2008 09:36:10 GMT I am aware these controls make reference to webresource, but what I was wondering is what they do with their images (plus,minus,arrow).I've been trying to toy with Resources.resx and have plopped some images in there and want to reference them.I read the other forum messages relating to images in ...
more >> kangshifu PostAt:Tue, 25 Nov 2008 05:25:45 GMT This is not really a problem but I was curious if there was a better way to do this. I have a Composite Control that will return its value to a server control or something when it is done. I expect that it will fill a text box or a label but I wouldn’t mind if it could fill a button or any ...
more >> ary PostAt:Tue, 25 Nov 2008 03:30:17 GMT I'm creating a custom control that uses several dropdownlists that all have to post information back to the page but the SelectedIndexChanged event isn't firing. I've created a simple version of the control shown below, can anyone tell me what I'm doing wrong or suggest a different ...
more >> cjfeng PostAt:Mon, 24 Nov 2008 19:54:45 GMT Hi,I'm creating a WebControl with a TableItemStyle property and I wouldlike the designer to show this property exactly the same way itdoes for the HeaderStyle property of the GridView control forexample (with the '+' sign and the sub-properties).Can anyone tell me how to do this ?My ...
more >> windy PostAt:Mon, 24 Nov 2008 11:54:01 GMT Hi aLl,i am developing one user control in that i am putting one list box and at client side i am updating that list box and adding some new item to it. but when i am selecting that item but i am not able to get it on server side. if any body have any idea on this then please let me ...
more >> Bee PostAt:Mon, 24 Nov 2008 08:18:42 GMT I am new to custom control development and need some advice. We are developing a control that will display a calendar of events on a website. Within the control we query a database and then display the calendar. Should we establish a connection within the control or is it better to pass in ...
more >> dongfeng PostAt:Mon, 24 Nov 2008 06:24:09 GMT Hi guys, here's a fun one for you...I have a custom control which generates the html of a sport game table, and this custom control is in a datalist. So basically, the datalist is populated with all of the games for a given sport, and then each game is displayed in an instance of this custom ...
more >> drjon PostAt:Mon, 24 Nov 2008 04:04:28 GMT Hello AllI am searching for some advices. I need to create my own GridView that will be used all over my application. My custom GridView will hold some specific formatting and some other controls (eg specific paging controls and a title). I wonder if I would create a custom server control ...
more >> Bee PostAt:Mon, 24 Nov 2008 02:41:12 GMT Hi,I'm Developing a new Custom Server Control for ASP.NET.For this component i have write a class descendent from ControlDesigner to provide Designer-Support in the IDE.But I Have a little problem with "WIDTH & HEIGHT" properties at Design Time in the IDE, My Component doesn't Resize and have ...
more >> windy PostAt:Mon, 24 Nov 2008 00:24:24 GMT Hi everyone,I am new to .net v2 and am asking for your expert advise.I would like to create a menu toolbar that will be added at runtime for a user, the toolbar will be fed 3 parameters, to that the title, description and url can be different for ecah toolbar.Would it be best to create this as a ...
more >> Luck PostAt:Mon, 24 Nov 2008 00:16:45 GMT Hi.I made a custom control (that inherits from CompositeControl) that has 3 sections (controls): a label, a Panel, and a set of buttons (Ok-Cancel). The controls renders fine when I use it in a aspx. I need this control to be reusable by other developers so anyone can drag and drop new controls ...
more >> Linlin PostAt:Sun, 23 Nov 2008 19:02:47 GMT Is there any way of programatically getting anything into the <head> tag of a page from a control? I've tried using RegisterClientScriptBlock but its just putting the info at the beginning of the form.Thanks ...
more >> Luck PostAt:Sun, 23 Nov 2008 14:34:26 GMT Hello,I programmed a Custom Web Server Control (see part of the source code bellow). It’s a Composite Control with some textboxes and buttons. I have embedded a bitmap as resource, and it is added to the VS Web Control ToolBox. The Code is working perfect, but now I want that my ImageButton gif ...
more >> Lee PostAt:Sun, 23 Nov 2008 10:58:44 GMT My application runs fine for a long while then, all of a sudden my application starts gettting this errorCould not load file or assembly 'App_Web_ih1xlmmx, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.I saw people ...
more >> ary PostAt:Sun, 23 Nov 2008 07:48:51 GMT HiI wrote my own custom made Tab like control which consists to controls the main Tab And the childs tab which sits in side the main Tab (much like View and MultiView controls).Anyhow, all working fine except one wierd issue, when i put ValidationSummary control inside my tab, the client ...
more >> Dick PostAt:Sun, 23 Nov 2008 07:20:04 GMT Hai All,I have created two usercontrols in a webform but i want onlyone to display at a timebut i don't Know how to set Visible property for custom madeuserControl and toggle its visibility property of userControls through program according to theconditions arises in ...
more >> jing PostAt:Sun, 23 Nov 2008 06:28:38 GMT Where can I find a popup datepicker control, that also has an input mask (mm/dd/yyyy) in the textbox area? ...
more >> shine PostAt:Sun, 23 Nov 2008 04:16:12 GMT Could We create a structure so that it could be binded as a datasource to control who supports databinding.If yes Could any body provide me a sample (with code) of creating our own datasource in C#.That is I don't want's to bind to dataset ,xml etc.It would be my own structure.What I have to ...
more >>