<rss version="2.0" xmlns:dn247="http://www.dot-net-guru.com/schemas/rss"><channel><title>.Net Guru: ASPFriends.com 'aspngreuse' list</title><link>http://www.dot-net-guru.com/247reference/__site/134</link><description>ASPFriends.com 'aspngreuse' list on .Net Guru.</description><generator>.Net Guru/WinFX 247 RSS Generator</generator><dn247:id>134</dn247:id><item><title>Dynamically Adding Controls (3 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/27/136112.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/27/136112.aspx</guid><pubDate>20 Aug 2002 03:37:53</pubDate><description>Moved from [aspngcontrolsvb] to [aspngreuse] by devin dmrader@sseinc.com Hello, I'm trying to dynamically add controls to a page and pass parameters to those controls as well, but I can't figure out how to do the latter. The hard coded way to do it would be something like: %@ Page language &amp;amp;quot;vb&amp;amp;quot; % %@ Register TagPrefix &amp;amp;quot;my&amp;amp;quot; TagName &amp;amp;quot;Header&amp;amp;quot; Src &amp;amp;quot;/Controls/Header.ascx&amp;amp;quot; % %@ Register TagPrefix &amp;amp;quot;my&amp;amp;quot; T...</description><dn247:id>136112</dn247:id><dn247:siteId>134</dn247:siteId></item><item><title>Multiple User Controls on one Page (4 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/27/136107.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/27/136107.aspx</guid><pubDate>20 Aug 2002 03:37:52</pubDate><description>Hi, I have an ASP.NET page which has 2 instances of a user control which I've created. The control is a table with several text boxes which are populated with text at the time of loading. If I have only one control on the page, everything works as it should BUT when there are two, the boxes are only populated in the second control! I've been struggling with this for ages, can anyone shed any light...</description><dn247:id>136107</dn247:id><dn247:siteId>134</dn247:siteId></item><item><title>loadcontrol causing specified cast invalid (3 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/27/136105.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/27/136105.aspx</guid><pubDate>20 Aug 2002 03:37:51</pubDate><description>Moved from [aspngcs] to [aspngreuse] by Alex Lowe webmaster@asp grandrapids.net Moved from [aspngcontrolscs] to [aspngcs] by Rachel Reese rachelemilyreese@hotmail.com Hi, I have a usercontrol that is causing a Specificed Cast invalid error on the page which I'm trying to load it from. I'm loading it using the Page.LoadControl method and adding it to a placeholder. When I turn off viewstate on the ...</description><dn247:id>136105</dn247:id><dn247:siteId>134</dn247:siteId></item><item><title>Page Templating (16 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/20/101192.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/20/101192.aspx</guid><pubDate>20 Aug 2002 03:37:47</pubDate><description>Has anyone implemented page templating using the method described in http://www.fawcette.com/vsm/2001 12/magazine/columns/aspnet/default.asp (inheriting your code behind page class from a custom page class using placeholders, etc.)? What are the pros/cons of this approach as regards speed (and maintainability)? It's sounds cool, except it seems that for every page you'd have to have an ASPX that i...</description><dn247:id>101192</dn247:id><dn247:siteId>134</dn247:siteId></item><item><title>Controls and Class Library Organization (2 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/27/136110.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/27/136110.aspx</guid><pubDate>12 Aug 2002 21:35:00</pubDate><description>Is it good practice to keep server controls and general classes in separate files or even assemblies? They work fine in the same file, I'm just trying to get a grip on how to group our code in proper namespaces, and be able to use them in other solutions as well. Thanks for any thoughts or links. </description><dn247:id>136110</dn247:id><dn247:siteId>134</dn247:siteId></item><item><title>Loading user controls... (4 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/27/136103.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/27/136103.aspx</guid><pubDate>06 Aug 2002 13:17:00</pubDate><description>Moved from [aspngwebcontrols] to [aspngreuse] by Swoop Doggy Dogg IronMan@aspelite.com Hello all, I am tasked with creating a Web application for a client using ASP.NET. One of the required features is to facilitate a modular display. I was thinking that I would use user controls to contain data that could then be pushed into a .aspx template. I have a main index.aspx file that contains a series o...</description><dn247:id>136103</dn247:id><dn247:siteId>134</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Composite Controls and adding a form tag programmatically... (2 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/27/136102.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/27/136102.aspx</guid><pubDate>05 Aug 2002 06:21:00</pubDate><description>I am trying to programmatically add the: form id 3D&amp;amp;quot;Form1&amp;amp;quot; runat 3D&amp;amp;quot;server&amp;amp;quot; tag to a web form from a registered custom control. How should I do this? As a literalcontrol? Is this possible? Thanks! </description><dn247:id>136102</dn247:id><dn247:siteId>134</dn247:siteId></item><item><title>User Controls across Domains (5 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/27/136101.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/27/136101.aspx</guid><pubDate>31 Jul 2002 15:24:00</pubDate><description>Moved from [aspngcontrolscs] to [aspngreuse] by Alex Lowe webmaster@asp grandrapids.net Is it possible to use User Controls across domains? We have a number of sites originating from the same default domain name, e.g. Site1.domain.com site2.domain.com We are using User Controls for some of the page structure that it common to all sites and are at the moment maintained separately. Is there any easy...</description><dn247:id>136101</dn247:id><dn247:siteId>134</dn247:siteId></item><item><title>query (2 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/27/136100.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/27/136100.aspx</guid><pubDate>30 Jul 2002 04:02:00</pubDate><description>Moved from [winforms cs] to [aspngreuse] by Let the good times roll bbilbro@hotmail.com hi , i am having an asp.net page with c# code behind implementing a simple dropdownlist , now that web control has to be implemented at several places in a given project , so is it possible for me to carry out this thing from a single c# file . That c# file will be populating the dropdownlist at every place . C...</description><dn247:id>136100</dn247:id><dn247:siteId>134</dn247:siteId></item><item><title>Object reference not set.. (2 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/26/131092.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/26/131092.aspx</guid><pubDate>29 Jul 2002 08:41:27</pubDate><description>Anyone see what I'm doing wrong here? I'm using a control (ships.ascx) on my page and I pass to it the value of the parent page. So parentpage (pando.aspx in this case) %@ Page Language 3D&amp;amp;quot;vb&amp;amp;quot; Explicit 3D&amp;amp;quot;True&amp;amp;quot; EnableSessionState 3D&amp;amp;quot;True&amp;amp;quot; smartnavigation 3D&amp;amp;quot;True&amp;amp;quot; Strict 3D&amp;amp;quot;True&amp;amp;quot; % %@ Register TagPrefix 3D&amp;amp;quot;showShips&amp;amp;quot; tagName 3D&amp;amp;quot;shipsBit&amp;amp;quot; src 3D&amp;amp;quot;/cruise/ships.ascx&amp;amp;quot; % %@ import Namespace 3D&amp;amp;quot;System.Da...</description><dn247:id>131092</dn247:id><dn247:siteId>134</dn247:siteId></item><item><title>LoadControl from stream (4 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/26/131093.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/26/131093.aspx</guid><pubDate>29 Jul 2002 00:38:08</pubDate><description>The LoadControl() method of TemplateControl works nicely for files, but is there any way to do a similar thing for streams? I assume that internally LoadControl is using a FileStream, so it should theoretically be possible. Any ideas? Thanks, Ryan [This E mail scanned for viruses by Declude Virus] </description><dn247:id>131093</dn247:id><dn247:siteId>134</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>System.Runtime.Serialization Problem with UserControl (3 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/26/131091.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/26/131091.aspx</guid><pubDate>29 Jul 2002 00:38:08</pubDate><description>Moved from [aspngwebcontrols] to [aspngreuse] by Alex Lowe webmaster@asp grandrapids.net Hi everyone! I'm having one heck of a problem with a user control that I'm writing. I've got a bunch of custom WebControls that I've written and that I'm loading dynamically. They are put into a place holder in a static WebUserControl. When I run my program everything is fine until the controls begin to unload...</description><dn247:id>131091</dn247:id><dn247:siteId>134</dn247:siteId></item><item><title>Random numbers in a User Control not so random (5 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/26/131087.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/26/131087.aspx</guid><pubDate>29 Jul 2002 00:38:05</pubDate><description>Hi, Problem: I am writing some tutorials and am trying to demonstrate a simple example of a random quote generator, provided in a User Control, and then used twice (or more) on an .aspx page. I want to show that the two instances of the user control on the page are independent of each other that the output dynamically created by one is separate from that produced by the other(s). I can get it to w...</description><dn247:id>131087</dn247:id><dn247:siteId>134</dn247:siteId></item><item><title>Pass a value to an ASCX file? (4 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/26/131088.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/26/131088.aspx</guid><pubDate>29 Jul 2002 00:38:05</pubDate><description>Can I? I have an ascx which does a database query and then displays the results in a templated datareader. Part of my sql is where month(hol date) month(dateAdd(m,1,getDate())) What I really want to do is %@ Register TagPrefix &amp;amp;quot;thisMonthsDeals1&amp;amp;quot; TagName &amp;amp;quot;thisMonthsBit1&amp;amp;quot; Src &amp;amp;quot;/get Cheapest.ascx?THEMONTH 1&amp;amp;quot; % %@ Register TagPrefix &amp;amp;quot;thisMonthsDeals1&amp;amp;quot; TagName &amp;amp;quot;thisMonthsBit1&amp;amp;quot; Src &amp;amp;quot;/get Cheapest.ascx?T...</description><dn247:id>131088</dn247:id><dn247:siteId>134</dn247:siteId></item><item><title>Dynamic User Control properties... (7 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/25/127260.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/25/127260.aspx</guid><pubDate>29 Jul 2002 00:38:04</pubDate><description>Moved from [aspngfreeforall] to [aspngreuse] by Tony Stark IronMan@aspelite.com howdy howdy. I've been searching through the afternoon looking for a solution to this problem. I have a DLL with a base page class that I inherit all pages on my web site from... this DLL has the base class and other classes that I use within the site (authentication, etc.). So far, it works well. Every page derives fr...</description><dn247:id>127260</dn247:id><dn247:siteId>134</dn247:siteId></item><item><title>How to use the html hidden control? (5 replies, VIP)</title><link>http://www.dot-net-guru.com/247reference/msgs/26/131089.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/26/131089.aspx</guid><pubDate>21 Jul 2002 06:39:00</pubDate><description>Hi all: I want to keep value in hidden field and access it when I click button. I want to use hidden field in my user control ? Any idea ? Thanks</description><dn247:id>131089</dn247:id><dn247:siteId>134</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>CrossBrowser TextBox (5 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/24/123381.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/24/123381.aspx</guid><pubDate>08 Jul 2002 19:34:22</pubDate><description>I was thinking of making a cross browser text box. The MS textbox doesn't support the readonly or enabled attribute for Netscape 4 browsers. This can be simulated by adding an onfocus &amp;amp;quot;blur;&amp;amp;quot; attribute. I've made some dinky server controls. But I haven't seen any examples on how I could inherit the textbox and then add/remove this attribute whenever the readonly or enabled property is set or chang...</description><dn247:id>123381</dn247:id><dn247:siteId>134</dn247:siteId></item><item><title>Div in UserControl not rendering in Netscape (2 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/24/123380.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/24/123380.aspx</guid><pubDate>03 Jul 2002 20:26:00</pubDate><description>Copied from [aspngfreeforall] to [aspngreuse] by Marcie Jones marciejones@yahoo.com I have a div within a usercontrol within a multipage control where I set the innertext property. In IE the text is rendered. In Netscape 4.7 the div is rendered but the innertext is not. Very strange because I can walk throught the debugger and see the value set, but it is only rendered in IE. Any ideas. p.s. works...</description><dn247:id>123380</dn247:id><dn247:siteId>134</dn247:siteId></item><item><title>Consuming user control event from inside datagrid/datalist (2 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/24/123379.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/24/123379.aspx</guid><pubDate>27 Jun 2002 06:12:00</pubDate><description>Moved from [aspngwebcontrols] to [aspngreuse] by Ryan Trudelle Schwarz ryants@aspelite.com Hi, I'm using several user controls inside a datalist edititem template. I've been playing around with getting the focus to move to the right place after a postback initiated by the user control. I already have an event defined that is triggered when the main public property of the control is set, but not su...</description><dn247:id>123379</dn247:id><dn247:siteId>134</dn247:siteId></item><item><title>Shared Properties in controls (3 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/24/123377.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/24/123377.aspx</guid><pubDate>25 Jun 2002 19:29:00</pubDate><description>Hi, what is the best way if I would like to have some properties shared in different custom controls (composite controls), these controls would be quite similar, but to make it easy for our webdesigners I would like to offer different drag/drop controls for them but do not want to write the similare properties in each of these about 10 controls ... Thanks in advance &amp;amp;amp; Greetings Stefan </description><dn247:id>123377</dn247:id><dn247:siteId>134</dn247:siteId></item><item><title>Passing variables from ASPX to ASCX (5 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/23/117737.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/23/117737.aspx</guid><pubDate>21 Jun 2002 20:49:28</pubDate><description>I have a web form which contains a user control. I need to be able to set a variable value in the web form and read it from the user control. I&amp;amp;amp;#146;m using VB.NET. How should I do this? It seems one can&amp;amp;amp;#146;t just read the variables set by the other. Many thanks, Dot Net Guru</description><dn247:id>117737</dn247:id><dn247:siteId>134</dn247:siteId></item><item><title>User Control With JavaScript (2 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/23/117133.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/23/117133.aspx</guid><pubDate>20 Jun 2002 20:02:58</pubDate><description>I have a user control with JavaScript with a button. In IE6 I have to press the button 3 4 times before it executes. Is there something I should know about with JS in user controls? btnLogOut.Attributes.Add(&amp;amp;quot;onclick&amp;amp;quot;, &amp;amp;quot;window.location 'http:&amp;amp;quot; &amp;amp;amp; ConfigurationSettings.AppSettings(&amp;amp;quot;LogOutURL&amp;amp;quot;) &amp;amp;amp; &amp;amp;quot;?SignOut yes'&amp;amp;quot;) This gets rendered as: input type &amp;amp;quot;submit&amp;amp;quot; name &amp;amp;quot;Header1: ctl0&amp;amp;quot; value &amp;amp;quot;LogOut: 117250&amp;amp;quot; on...</description><dn247:id>117133</dn247:id><dn247:siteId>134</dn247:siteId></item><item><title>Getting a value from an ascx (6 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/22/114939.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/22/114939.aspx</guid><pubDate>14 Jun 2002 19:11:27</pubDate><description>Hi all, this is probably easy but I just can't figure it out. I have a person info page, and all I do is copy a template page to a directory in the name of the person (using FSO at the moment) so that they can access their details by folder, rather than ID (eg www.travelcounsellors.com/briant The page is an ASPX and too complicated to muck about with, so I want an ASCX in the same directory that I...</description><dn247:id>114939</dn247:id><dn247:siteId>134</dn247:siteId></item><item><title>Are people having success with page templating and VS.NET? (4 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/22/114941.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/22/114941.aspx</guid><pubDate>14 Jun 2002 18:08:00</pubDate><description>I'm just curious whether or not people are having success using page templating and Visual Studio .NET? If not, what are the errors you get? If yes, can you share your technique with us? Alex AspFriends.com Moderation Team Microsoft MVP ASP.NET *********************************************************** Translate C# code to VB.NET code at http://aspalliance.com/aldotnet/examples/translate.aspx ***...</description><dn247:id>114941</dn247:id><dn247:siteId>134</dn247:siteId></item><item><title>User controls interference (7 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/22/114518.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/22/114518.aspx</guid><pubDate>14 Jun 2002 04:55:25</pubDate><description>Moved from [aspngcontrolsvb] to [aspngreuse] by James Avery javery@deluxeeng.com When I add 2 user controls with a buttons to a page, the controls interfere with each other.. The first control has a button which makes a piece of text visible or invisible. The second control is a login (user/pass) with validator and submit button. When I press the button from the first control, the validators of th...</description><dn247:id>114518</dn247:id><dn247:siteId>134</dn247:siteId></item><item><title>GAC assembly from inline code (10 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/22/114520.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/22/114520.aspx</guid><pubDate>14 Jun 2002 04:55:23</pubDate><description>I'm probably doing something silly but when I try to use the following line: %@ Assembly Name 3D&amp;amp;quot;myName, Version 3D1.2.3.4, PublicKeyToken 3Dag629a3va3u1s628 &amp;amp;quot; % It says it cannot find the assembly. Now, the assembly exists in the C:\Windows\Assembly folder, GACUtil shows it as existing, and VS.Net shows it in the GAC. They all show the same information for the dll, so what's the problem? I've als...</description><dn247:id>114520</dn247:id><dn247:siteId>134</dn247:siteId></item><item><title>User Control with Link Buttons Question (2 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/22/114522.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/22/114522.aspx</guid><pubDate>14 Jun 2002 04:55:23</pubDate><description>Moved from [aspngstart] to [aspngreuse] by Marcie Jones marciejones@yahoo.com I have build an user control (ascx with VB) that creates a table with linkbuttons based on data from an XML file. The table rows, cells and linkbuttons are added programmatically. Question: How can I program the click event of the linkbuttons ? Hereunder an example of the (reduced and modified) code: menu.ascx ... ASP:TA...</description><dn247:id>114522</dn247:id><dn247:siteId>134</dn247:siteId></item><item><title>User Control question (8 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/22/110408.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/22/110408.aspx</guid><pubDate>14 Jun 2002 04:55:20</pubDate><description>Moved from [aspug padnug] to [aspngreuse] by Cain Marco juggernaut@aspelite.com Consider a following code section of an ASPX page: myControls:userControl1 id 3D&amp;amp;quot;userControl1&amp;amp;quot; runat 3D&amp;amp;quot;server&amp;amp;quot; / myControls:userControl2 id 3D&amp;amp;quot;userControl2&amp;amp;quot; runat 3D&amp;amp;quot;server&amp;amp;quot; / myControls:userControl3 id 3D&amp;amp;quot;userControl4&amp;amp;quot; runat 3D&amp;amp;quot;server&amp;amp;quot; / myControls:userControl4 id 3D&amp;amp;quot;userControl4&amp;amp;quot; runat 3D&amp;amp;quot;server&amp;amp;quot; / where, userContro...</description><dn247:id>110408</dn247:id><dn247:siteId>134</dn247:siteId></item><item><title>Has anybody come up with decent reuse across projects? (4 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/22/114523.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/22/114523.aspx</guid><pubDate>12 Jun 2002 15:29:00</pubDate><description>Moved from [aspngvs] to [aspngreuse] by Bob Levittan blevittan@hotmail.com SITUATION I have one solution containing multiple projects. I want to reuse connection strings and header and footer layouts across my various projects. PROBLEM 1)User controls don't work across applications. 2)Using includes (like we did in Classic ASP) don't seem to be &amp;amp;quot;politically correct&amp;amp;quot;. 3)Web services are somewhat sl...</description><dn247:id>114523</dn247:id><dn247:siteId>134</dn247:siteId></item><item><title>Server Control Embedded Image (5 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/22/114519.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/22/114519.aspx</guid><pubDate>11 Jun 2002 15:27:00</pubDate><description>I would like to make a server control (not user control) that kind of replicates Explorer. So there would be a lot of images display/redisplayed (folders, line images, etc.) I don't know how or whether I can use an embedded image to display in the output. The only examples I have seen for displaying images are kind of lame. 1. output the image to the browser in a response (can't have text) 2. spec...</description><dn247:id>114519</dn247:id><dn247:siteId>134</dn247:siteId></item><item><title>Page Inheritance in ASP.NET (3 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/22/110409.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/22/110409.aspx</guid><pubDate>05 Jun 2002 12:52:23</pubDate><description>Moved from [aspngfreeforall] to [aspngreuse] by Clint Barton hawkeye@aspelite.com Hello all, I have an ASP.Net application that uses a Base Page to inherit from. So instead of having my forms inherit System.Web.UI.Page, I inherit my own Page Class. In the base class for all my pages, I'd like to have the default constructor for that page run a check on a session object to test for valid sessions s...</description><dn247:id>110409</dn247:id><dn247:siteId>134</dn247:siteId></item><item><title>can not load type 'user control' (5 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/22/110406.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/22/110406.aspx</guid><pubDate>05 Jun 2002 12:52:22</pubDate><description>I just created a user control in vs.net, but when I build and browse, I get an error that it can not find the namespace in the code behind file. Specifically...&amp;amp;quot;Could not load type 'AlphaBrackets.siteadmin.SiteAdminHeader'.&amp;amp;quot; Any ideas? Thanks Stewart</description><dn247:id>110406</dn247:id><dn247:siteId>134</dn247:siteId></item><item><title>Accessing User Controls within another user control? (2 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/22/110407.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/22/110407.aspx</guid><pubDate>05 Jun 2002 12:52:21</pubDate><description>Moved from [aspngcontrolscs] to [aspngreuse] by devin devinr@drone interactive.com Hello On my page, I include a header user control, which in turn includes a search user control. I would like to be able to access the search user control and its properties from the main page, but the FindControl methods fails to find it using the following code... Main Page... Control myUC Page.FindControl( &amp;amp;quot;Searc...</description><dn247:id>110407</dn247:id><dn247:siteId>134</dn247:siteId></item><item><title>Problem with Nested User Control in Form (7 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/22/110411.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/22/110411.aspx</guid><pubDate>04 Jun 2002 16:45:00</pubDate><description>Moved from [aspngfreeforall] to [aspngreuse] by Marcie Jones marciejones@yahoo.com Hi, This seems like a really basic question to me... I am trying to create a Web form a postback form. It has text fields and such using HTML server controls. Some of them are standard across many forms/uses, so I am placing them in a separate User Control (.ascx page) so that I can reuse that chunk on multiple form...</description><dn247:id>110411</dn247:id><dn247:siteId>134</dn247:siteId></item><item><title>Passing Control's ID (2 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/21/106594.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/21/106594.aspx</guid><pubDate>27 May 2002 14:42:15</pubDate><description>Hello All, I'm working on constructing a function that accepts a label (or even a textbox) and checks to see how many characters are in it. How do I pass in a control's ID to this function? For example, if I have in my page: asp:label id &amp;amp;quot;Label&amp;amp;quot; runat &amp;amp;quot;server&amp;amp;quot; text &amp;amp;quot;blahblah&amp;amp;quot; runat &amp;amp;quot;server&amp;amp;quot; onLoad &amp;amp;quot;CountLetters&amp;amp;quot; / And this in my script tags: Sub CountLetters(Sender As Object, E As EventArgs) Dim N...</description><dn247:id>106594</dn247:id><dn247:siteId>134</dn247:siteId></item><item><title>Page Templates Revisited (10 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/20/104052.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/20/104052.aspx</guid><pubDate>22 May 2002 22:22:47</pubDate><description>Hey all, We're implementing Ryan's solution on our site, but we're running into difficulties. In particular, it seems that viewstate is not working on our databound controls. I've made some modifications to Ryan's solution, so I&amp;amp;quot;m wondering if I should start w/ those, or if you could tell me if this is a known issue w/ that solution. Also, since we're adding everything to a &amp;amp;quot;template&amp;amp;quot; user control...</description><dn247:id>104052</dn247:id><dn247:siteId>134</dn247:siteId></item><item><title>virtual directory root in asp.net controls (8 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/20/101193.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/20/101193.aspx</guid><pubDate>16 May 2002 03:25:00</pubDate><description>Is there a way to point to a virtual directory root through html in an asp.net control. Here is my problem: my Virtual directory url: http://localhost/myNewWebApp http://localhost/myNewWebApp usercontrol1.ascx looks like this: ! BEGIN HEADER table border &amp;amp;quot;0&amp;amp;quot; cellpadding &amp;amp;quot;3&amp;amp;quot; cellspacing &amp;amp;quot;0&amp;amp;quot; width &amp;amp;quot;100%&amp;amp;quot; align &amp;amp;quot;center&amp;amp;quot; tr td valign &amp;amp;quot;top&amp;amp;quot; img SRC &amp;amp;quot;images/image1.jpg&amp;amp;quot;% &amp;amp;quot; border &amp;amp;quot;0&amp;amp;quot; /td /tr /table hr si...</description><dn247:id>101193</dn247:id><dn247:siteId>134</dn247:siteId></item><item><title>Dynamic Control Creation and Object Instantiation (2 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/20/101191.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/20/101191.aspx</guid><pubDate>15 May 2002 15:41:00</pubDate><description>Moved from [aspngcs] to [aspngreuse] by devin devinr@drone interactive.com DQogIEknbSB3b3JraW5nIHRocm91Z2ggYSBwcm9qZWN0IGFuZCBoYXZlIGVuY291bnRlcmVkIGEg cXVlc3Rpb24gdGhhdCBhZGRyZXNzZXMgYSBudW1iZXIgb2YgYXJlYXMgaW4gQyMgYW5kIHRoZSAu TkVUIGZyYW1ld29yayAgdGhhdCBJIGRvbid0IHVuZGVyc3RhbmQgdmVyeSB3ZWxsLg0KDQogIEkn bSBkZXZlbG9waW5nIGEgd2ViLWJhc2VkIHB1cmNoYXNlIHJlcXVpc2l0aW9uIGFwcGxpY2F0aW9u IHRoYXQgaXMgaW50Z...</description><dn247:id>101191</dn247:id><dn247:siteId>134</dn247:siteId></item><item><title>Webcustomcontrol and Server.MapPath ? (3 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/19/99046.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/19/99046.aspx</guid><pubDate>13 May 2002 15:49:58</pubDate><description>Inside my WebCustomcontrol I cannot use Request.PhysicalApplicationPath or Server.MapPath ??????? I am using the same routines in an .ascx file and it works fine but when I convert to build it all in an .dll assembly as a webcustomcontrol my intellisense tells me these objects are not available Why is it so ? /Johan</description><dn247:id>99046</dn247:id><dn247:siteId>134</dn247:siteId></item><item><title>User Custom Controls within User Custom Controls (4 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/19/98580.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/19/98580.aspx</guid><pubDate>13 May 2002 15:49:58</pubDate><description>Moved from [aspngfreeforall] to [aspngreuse] by Marcie Jones marciejones@yahoo.com Hi all, I wrote 2 user custom controls. Now I have a need to put the second user custom control &amp;amp;quot;inside&amp;amp;quot; the first one. For example, if user custom control 1 returns a table with a bunch of rows, I need my user custom control 2 to be in one of the cells within the table. When I alter custom control 1 to create a tag...</description><dn247:id>98580</dn247:id><dn247:siteId>134</dn247:siteId></item><item><title>What's the problem with Page_Load? (3 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/19/99386.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/19/99386.aspx</guid><pubDate>13 May 2002 14:26:00</pubDate><description>Moved from [aspngfreeforall] to [aspngreuse] by Marcie Jones marciejones@yahoo.com Hi, I have a simple UserControl that queries a DB and displays the query result in a DropDownList. The page holding the UserControl should have access to the value of the selected item in this DropDownList via a Public Property of the UserControl called &amp;amp;quot;PostedBy&amp;amp;quot; (all code below). The code seems to work fine if I a...</description><dn247:id>99386</dn247:id><dn247:siteId>134</dn247:siteId></item><item><title>User Controls - Select Case (2 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/19/99047.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/19/99047.aspx</guid><pubDate>13 May 2002 01:13:12</pubDate><description>I need to put a particular user control, dynamically, based on user selection, in a certain place on my page, but I'm not sure exactly how to do this here is what I've got, but it doesn't work (error below, also): script language &amp;amp;quot;VB&amp;amp;quot; runat &amp;amp;quot;server&amp;amp;quot; Sub dochoice(Source as Object, E as EventArgs) Select Case choice.selecteditem.text Case &amp;amp;quot;owner20&amp;amp;quot; aspx:owner20 runat &amp;amp;quot;server&amp;amp;quot;/ Case &amp;amp;quot;owner&amp;amp;quot; aspx:owne...</description><dn247:id>99047</dn247:id><dn247:siteId>134</dn247:siteId></item><item><title>User Control (6 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/19/99045.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/19/99045.aspx</guid><pubDate>12 May 2002 03:08:00</pubDate><description>Hi All ~ If I'm compiling a user control, is there a way I can get it to render from an .ascx file? Or, if I'm inheriting a class, is there a way I can do something comparable? Thanks, Josh</description><dn247:id>99045</dn247:id><dn247:siteId>134</dn247:siteId></item><item><title>What is the best way to make a page template? (2 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/19/96408.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/19/96408.aspx</guid><pubDate>07 May 2002 15:51:00</pubDate><description>Hi, I'm currently investigating the best way to make a page template for a web site. I want to be able to create a page template in a WYSIWYG editor that handles the layout of the page. Each page on the website could then use this template for a common look and feel. 20 The two ways that we are plaing with so are: 1) Using a literate at the top and bottom of the ASPX pages, similar to ASP's includ...</description><dn247:id>96408</dn247:id><dn247:siteId>134</dn247:siteId></item><item><title>Template User Control (2 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/19/96302.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/19/96302.aspx</guid><pubDate>07 May 2002 14:27:00</pubDate><description>Moved from [aspngfreeforall] to [aspngreuse] by devin devinr@drone interactive.com Hi All, I am trying to create a user control to define the page layout. Take for example the snippet of HTML code below: HTML HEAD SCRIPT LANGUAGE 3D'javascript' SRC 3D'js file' /SCRIPT SCRIPT LANGUAGE 3D'javascript' ! // 20 // Set up some variables used by the included javascript var upH 3D 10; var upW 3D 10; 20 //...</description><dn247:id>96302</dn247:id><dn247:siteId>134</dn247:siteId></item><item><title>load an aspx on right side (2 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/19/96182.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/19/96182.aspx</guid><pubDate>07 May 2002 11:45:00</pubDate><description>Moved from [aspngfreeforall] to [aspngreuse] by Yannick Smits dotnet@stepcompany.com Friends, See this webpage layout: 1 Top (webcontrol .ascx) 2 Menu (webcontrol .ascx ) 3 Rigth Side principal (webform .aspx) (1) | | | | | | | (2) | (3) | | | | | | | | | What i want is to load on the Right (3) one aspx, depending of my choose on the menu(2). Note: I know how to load an ascx, but this not what i w...</description><dn247:id>96182</dn247:id><dn247:siteId>134</dn247:siteId></item><item><title>Having trouble with codebehind and usercontrols (4 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/19/96082.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/19/96082.aspx</guid><pubDate>06 May 2002 21:47:00</pubDate><description>Moved from [aspngfreeforall] to [aspngreuse] by Marcie Jones marciejones@yahoo.com I've created a user control and given it a public property with get/set accessors. Using vs.net, I've dragged&amp;amp;amp;dropped it into an aspx page which has a codebehind page associated with it. I want to set the usercontrols public property within the aspx's codebehind page (I assume in the page load event). When I try to ...</description><dn247:id>96082</dn247:id><dn247:siteId>134</dn247:siteId></item><item><title>How to implement web form inheritance (2 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/19/95242.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/19/95242.aspx</guid><pubDate>06 May 2002 11:33:12</pubDate><description>Moved from [aspngcommunity] to [aspngreuse] by James Avery javery@deluxeeng.com Usually we make all pages of a web site having a common appearance, say, fixed frame areas, headers and footers etc. Of course in .NET we implement every page with a web form. But how can I draw a standard, base webform with some fixed wordings, controls, links etc so that all other pages look the same to it. I guess i...</description><dn247:id>95242</dn247:id><dn247:siteId>134</dn247:siteId></item><item><title>Accessing a user control from another usercontrol.. (2 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/19/95238.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/19/95238.aspx</guid><pubDate>06 May 2002 11:33:11</pubDate><description>Is it possible to access a user control (ascx) from another user control on the page? In theory, I would like to be able to do something like this from within the Page Load of the second control.. private void Page Load(object sender, System.EventArgs e) { MyUserControl1 UserControl1 this.Page.Header } .where this.Page.Header is the other user control on the page that I want to access. So far I ha...</description><dn247:id>95238</dn247:id><dn247:siteId>134</dn247:siteId></item><item><title>ascx grabbing info from aspx (5 replies)</title><link>http://www.dot-net-guru.com/247reference/msgs/19/95237.aspx</link><guid>http://www.dot-net-guru.com/247reference/msgs/19/95237.aspx</guid><pubDate>06 May 2002 11:33:10</pubDate><description>Moved from [aspngcs] to [aspngreuse] by devin devinr@drone interactive.com How could I pass information from the main page (eg: index.aspx) to a user control (eg: Header.ascx)? The index page would have the Register directive %@ Register TagPrefix &amp;amp;quot;MySite&amp;amp;quot; TagName &amp;amp;quot;Header&amp;amp;quot; Src &amp;amp;quot;Header.ascx&amp;amp;quot; % ...but the Header has no reference to the index page. Thanks, Stewart Haddock </description><dn247:id>95237</dn247:id><dn247:siteId>134</dn247:siteId></item></channel></rss>