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 > december 2003 > threads for december 1 - 7, 2003

Filter by week: 1 2 3 4 5

Programmatically create buttons from user control
Posted by Jonah Olsson at 12/7/2003 6:58:52 PM
Hello guys, I have an application which is built upon several user controls. That is, I have a default template (default.aspx) that I load a user control into (using placeholders in the template). Now, the template also contains a placeholder for buttons used by each user control. The curre...more >>

Frames in ASP.Net
Posted by Nedu N at 12/6/2003 4:43:07 PM
Hi, Is there a way to load the src for Frames dynamically? or it is static I have got a frame which has got top, contents and main... i want to load different options in contents and top frames in different contexts.... Thanks Nedu ...more >>

Hyperlinking and ASP.NEt Session
Posted by Nedu N at 12/6/2003 4:40:18 PM
Hi, I am trying to design a Home page for my applicatiion in which i want show the links for for some itms... I tried to put the following <td> <font face="Arial, Helvetica, sans-serif" color="#ffffff" size="2"> Contact | My Profile | Logout /font> </td> Here i want to have link for th...more >>

Global User Controls
Posted by Jeff Tolman at 12/5/2003 4:02:17 PM
Hi! I'm trying to understand how I can use a UserControl across projects. Basically it's a Header.ascx file (along with the code-behind .vb file). I'd like to be able to use this header in several projects for a web site. Do I have to import the component files into every project? Or is it p...more >>

Databinding a custom user control
Posted by Scott at 12/4/2003 1:49:32 PM
I am having trouble getting a web user control that I created to work the way I need it to in my ASP.NET app (I am using VB for the script). I am doing a survey (Q&A) type application where I need to create custom 'text boxes' so as a first step I created a ascx file with a text box in it...more >>

Losing viewstate in custom control
Posted by williamfrench1 NO[at]SPAM yahoo.com at 12/4/2003 1:46:19 PM
I have a custom control I derived from the datagrid control and set a couple of values in viewstate("foo") = "bar" but on postback they are nothing. I have seen an example of doing this in the O'Reilly book "Programming asp.net" pg 645. I must be missing something. Any help would be greatly a...more >>

using a usercontrol from code behind
Posted by John Koswalski at 12/4/2003 1:18:14 PM
I have a test usercontrol, It works fine from the HTML page of the webform. If i want to manipulate the control (properties, methods) I can get that to work if add in dynamically at run time. Adding it to the webform at design time (drag and drop) doesn't allow me access to the properties...more >>

controls and performance ...
Posted by Ashish at 12/4/2003 12:26:07 PM
hi all, Iam trying to investigate some serious memory problems and ways to optimize them in our web application. some of the information i collected using the performance monitor, is that number of assemblies loaded per appdomain is large, we have a lot of pages which are using number of u...more >>



Control derived from datagrid, problem with adding other control and databinding (VB)
Posted by Jc Morin at 12/4/2003 11:33:00 AM
I all, my employer required me to add a bunch of control to a datagrid (such as a drop down list on top corner to select page size and prev, bunch page number adapted to current page, next and other button like export to excel). All of those control do not required databinding (except of course...more >>

Deploying .cab files with .NET
Posted by Jason at 12/3/2003 12:19:28 PM
I am using third party software to view and manipulate images in a C# project. I access this software through several .dll files which are references in my C# project. This project is one of seven projects in a large web application. For client computers to use these third party .dll fi...more >>

problem with dropdownlist selected item
Posted by Aaron Prohaska at 12/3/2003 11:37:56 AM
I'm having the problem with this drop down list on postback. For some reason both the ListItems get selected when I change the selected item. Using the code below I'm building the drop down list in the overriden CreateChildControls method and setting the selected item. Then when I change the ite...more >>

Viewstate
Posted by Frank at 12/3/2003 11:21:39 AM
I have a question concerning Viewstate and how it relates to a Control's event handler (if at all). I did not think there was any association between a Control's viewstate and an event handler until I attempted to clear Viewstate from the Page. Here is the problem I am facing: in our sys...more >>

Dynamically Added TextBoxes
Posted by klj_mcsd NO[at]SPAM hotmail.com at 12/3/2003 10:32:40 AM
Is there anyway to get the value of a dynamically added textbox that was added after OnInit in Page_Load on Postback? Page_Load Dim tb As New Textbox page.controls.add(tb) tb.text = "ASP.NET" End Sub But1_Click label1.text = tb.text End Sub My problem is tb.text is bl...more >>

rendering derived control from composite control
Posted by william.french NO[at]SPAM mssgroup.com at 12/2/2003 2:56:35 PM
I am triing to load a control derived from a datagrid into a composite control so I can wrap some html around the datagrid. it renders the html in the composite control but does not render the dervived control. The derived control works fine on it's own. I got most of this from an O'reilly bo...more >>

Don't quite understand how to create a default property value, please help
Posted by gwellman NO[at]SPAM princeton.com at 12/2/2003 2:39:43 PM
I'm sure the answer is something simple, I'm just new to this environment... I made a custom control (code to follow). I can register the control with the toolbox and use it on a page. If I enter property values *different* from the default values, they get put in the HTML, and they work. ...more >>

Creating Controls with Javascript and getting to them from the server.
Posted by klj_mcsd NO[at]SPAM hotmail.com at 12/2/2003 11:54:22 AM
Maybe I did this wrong. I think I did but I built some textbox controls using Javascript and I call the javascript function that builts and adds the controls to the page when I click an htmlbutton on my aspx page. Now I have a problem. I can't access the controls after they are added. I view ...more >>

Javascript problem in Custom Webcontrol
Posted by New User at 12/2/2003 9:50:46 AM
I have following structure for my project myproj Controls/control1 morepages/special.aspx specialpages/webpage1.aspx scripts/filename.js default.aspx I have a control1 which has a public property name ScriptFilePath for bring in external javascript file. E.g it ...more >>

UserControl click event won't fire
Posted by mark NO[at]SPAM corporatedigital.com at 12/2/2003 8:03:04 AM
I've got a custom usercontrol (UC1) that dynamically loads another custom usercontrols (UC2) during it's Init event. Both controls have LinkButtons with click events. The LinkButton from UC1 properly goes to it's click-event handler but the LinkButton from UC2 does not fire it's associated cli...more >>

How to create a TextBox containing a (clickable) Hyperlink??
Posted by Daniel Walzenbach at 12/2/2003 2:21:04 AM
Hi, I would like to create a TextBox containing a Hyperlink (Only to visualize the user that he/she can click on the link in the TextBox. The TextBox should be ReadOnly.). Does anybody know how to do this? I imagine a CustomControl but don't know how to start. I'm also looking for a good...more >>

Book Opinons
Posted by Kevin Blakeley at 12/1/2003 8:32:36 PM
I was just getting ready to buy the book by MSPress called "ASP.NET server controls and components" which I have looked at and also read some great reviews on, but then I saw that apress came out with a new book on the same topic: http://www.apress.com/book/bookDisplay.html?bID=262 Has anyo...more >>

Image data from Sql server to asp.net
Posted by seeni at 12/1/2003 12:51:30 PM
I have tried retrieving the image data from NorthWind database and print in the asp page using Repeater control. But instead of showing picture, the browser is showing "System.Byte[]" My code is In codebehind file. private void Page_Load(object sender, System.EventArgs e) { if(!Page.IsP...more >>

RegisterClientScript
Posted by katzavital NO[at]SPAM hotmail.com at 12/1/2003 8:35:28 AM
Hi, I have a dropdownlist in vb.net (server controls). Based on the user's selection from the list of items certain textboxes have to be disabled. I wrote a code but it only seems to work once the page is loaded (which is also what i need). I need it to work also after the page is loaded and ...more >>

Dropdownlist in Server Control loses Viewstate
Posted by Graham Stevenson at 12/1/2003 5:40:49 AM
Hi, I am trying to create a webpart with a dropdownlist (MS say it is the same as an asp.net server control). All works fine except that the ddlist does NOT maintain its viewstate (I have set EnableViewState = true). Controls are all being created in CreateChildControls override (as ...more >>


DevelopmentNow Blog