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

Filter by week: 1 2 3 4 5

Does anyone know...Please
Posted by Gerald Klein at 1/21/2004 4:57:34 PM
I have a datalist that I subclassed and it has a usercontrol in the header template, in the usercontrol is a databound dropdown. It loads fine and posts fine unless I rebind the datalist, then the dropdown loses it's viewstate. Someone please help their has to be a way around this. Gerald Klei...more >>


Error ORA-00923
Posted by Amal T. at 1/21/2004 1:02:46 PM
Hello, I can not make the databound Navigator (Superexpert Data Form) work on Oracle using the OLEDB part of it I get the following error One or more errors occurred during processing of command. ORA-00923: FROM keyword not found where expected Can anyone please tell me how to make it work...more >>

Avoid including @ Register tag on every page
Posted by swesorick NO[at]SPAM t60t.com at 1/21/2004 12:06:42 PM
I have written several custom web controls for my aspx pages. In order to use any of them, I need to include the following line of code at the top of every aspx page: <%@ Register TagPrefix="MyPrefix" Namespace="MyNamespace" Assembly="MyAssembly" %> Is there any way to declare this at th...more >>

Why is the PropertyDescriptor's GetValue method called multiple times when selecting the descriptor into the PropertyGrid?
Posted by mark belles at 1/21/2004 12:06:07 PM
i have a scenario in which i am using a ICustomTypeDescriptor in combination with an inherited PropertyDescriptor class to display information about an object using the PropertyGrid provided with .NET. I'm am using C#, and have noticed that the GetValue method which is overridden in my PropertyDescr...more >>

ControlDesigner Question
Posted by JimM at 1/21/2004 12:05:46 PM
I'm deriving a Designer from ControlDesigner. The control is working pretty nicely now. What I'd like to add is a verb response that will put the control into an interactive design mode (where some of the properties can be modified a bit more elegantly than with the Properties window. I'm ...more >>

Template Controls (HowTo)
Posted by Stanley Glass at 1/21/2004 11:55:04 AM
I am looking for some help or a tutorial on Template controls. Basically the idea is to be able to build a small table with two rows and in the first row will be some text and an image. Then in the second will be anything the developer wants to put in there. Now all I can ever seem to find is an ...more >>

Composite Controls (Maybe I just don't get it)
Posted by Shane NO[at]SPAM agro-metal.com at 1/21/2004 8:04:19 AM
I've been searching for a while and have found jack on composite controls... Most source say it is as easy as this .. what is wrong with the following code... I'm trying to change a property of the label, works in design... but as soon as I build all is lost... I've tried everything ... what ...more >>

.js file for custom controls
Posted by Erik Cruz at 1/20/2004 8:36:20 PM
I have some javascript functions shared among several controls I wrote. I want to encapsulate all these functions inside a .js file, creating a library like the one used by the asp.net intrinsic validator controls. My doubt is how to add a reference to this .js file when one of my controls is pl...more >>



selectedindex after dropdownlist is added to placeholder
Posted by Michael Tanner at 1/20/2004 1:25:15 PM
I have created a custom control that derives from the PlaceHolder control. Based on a property setting, I load a DropDownList or a TextBox into the PlaceHolder control. I load the DropDownList or TextBox control in protected override void OnPreRender(EventArgs e). The issue that I have is get...more >>

Autotab control
Posted by rbscheer NO[at]SPAM my-deja.com at 1/20/2004 1:23:05 PM
Hi. I wrote a component derived from the textbox control that has an Autotab feature the component works well on both Netscape and IE. My only problem is that sometimes, on IE, I receive the error: "Can't move focus to the control because it is invisible, not enabled, or of a type that does n...more >>

Dynamically Created RadioButtonList Items & ViewState
Posted by jdn at 1/20/2004 12:36:08 PM
I'm having a variation on the typical problem with saving ViewState of dynamically created web controls. I have two radiobuttonlist controls (call them rbl1 and rbl2). Both are created at design time. Each has three items in their Items collection. When the selected item in rbl1 changes, the...more >>

Server.Transfer in ASP.NET - weired problem
Posted by Nedu N at 1/20/2004 11:43:59 AM
Hi All, I am facing a typical problem in my .NET application with the pop-up script messages. The thing is that its working fine when i run on my development machine but not running in expected manner when i move it to Prod environment. Please have a look at the following code snippet... //...more >>

to load user control runtime
Posted by Mahesh at 1/20/2004 10:56:08 AM
I've created a library of page templates and some user controls. These files reside on d: drive instead of c:\inetpub\wwwroot\webapp directory. When I use LoadControl("webUC1.ascx"), it looks for this file in c:\inetpub\wwwroot\webapp. How do I force it to look for the user control in any director...more >>

Server.Transfer in ASP.NET - weired problem
Posted by Nedu N at 1/20/2004 10:48:53 AM
Hi All, I am facing a typical problem in my .NET application with the pop-up script messages. The thing is that its working fine when i run on my development machine but not running in expected manner when i move it to Prod environment. Please have a look at the following code snippet... //...more >>

Child control forms data
Posted by johan NO[at]SPAM aktieguiden.com at 1/20/2004 5:46:04 AM
I have made a custom template control which basically loads a web user control and replaces some PlaceHolders with content that I specify in the template control tag, like this: <J2:Host runat="server" id="TemplateHost" TemplateUrl="Templates/PageTemplate.ascx"> <J2:Content Runat="server" ID=...more >>

ViewSate is not saved
Posted by bugge NO[at]SPAM elvis.dk at 1/19/2004 6:44:48 PM
I have written a custom control. Everything works fine until I place my control inside a repeater. When I do that the viewstate of my control is lost on postback(actually it is never saved). LoadViewState og SaveViewState is never called. If i manually call SaveViewState in my LoadPostData-met...more >>

IStateManager interface at design-time?
Posted by Jiho Han at 1/19/2004 11:13:05 AM
Would any of the IStateManager interface take part at design-time? ...more >>

Hyperlink Column URGENT!!!
Posted by Christopher Calhoun at 1/19/2004 8:05:33 AM
Does anyone Know how to programmatically assign all the columns in a DataGrid with AutoGenerateColumns set to true as Hyperlink Columns? Thanks in Advance.... ...more >>

Composite webcontrol
Posted by amit NO[at]SPAM c4ppy.net at 1/19/2004 7:46:59 AM
I have just built my first custom control draws a html wrapper to the screen around the content of the server control tag. Eg <myc:MyPanel .....> more html code or literal text</myc:MyPanel> will draw a panel containing the html inbeween the custom control tags. I did this buy overiding the...more >>

Creation of custom controls in .net
Posted by sumana36 NO[at]SPAM hotmail.com at 1/17/2004 10:02:57 AM
Hello, Does anybody know of any site that gives a detailed explanation of how to create a custom control ? thanks Sumana...more >>

design time property persistence
Posted by Jiho Han at 1/16/2004 5:33:58 PM
I have a control that inherits from WebControl. In it, I have a property of a collection type. Basically it's similar to how DataGrid works in design-time. See the code below. Basically, when I add a DataGridColumn through the collection editor in the designer, the correct tags are persisted i...more >>

How to add extra property to DropDownList control?
Posted by Santhu at 1/15/2004 8:26:08 PM
To the already present dropdownlist control can i add a property so that i can add text plus image to items. Actually my requirement is i want to add text and image to the items in the dropdownlist control. How can i do that, any suggestions are appreciated? Thank you...more >>

positioning label+textbox in user control
Posted by ton at 1/15/2004 4:30:29 PM
Hi, i want to create a server-site usercontrol to logon a database: It should be very simple but i cannot get the label en textbox in the write order. I want domething like Name : [ tekstbox] Password [ tekstbox] Button as just one usercontrol can someone help me...more >>

ASP.NET WorkFlow/Pipeline Component like Commerce Server ?
Posted by Microsoft at 1/15/2004 9:46:29 AM
Hi All. We currently use the Microsoft Commerce Server pipeline component to run the workflow for our application, however this is very limited when it comes to ASP.NET and has no programmable interface so that we can make a web interface to changing the workflow. With the pipeline editor you...more >>


DevelopmentNow Blog