ASPFriends.com 'aspngreuse' list Archive - April 2002
Messages
Page: 1
code management best practices (2 replies)
ASPFriends.com 'aspngreuse' list
Are there any guidelines for code management? i.e. should data access classes be in one *.cs file and other classes be in different files and so on? Philip
Dynamic Menus as a User Control (2 replies)
ASPFriends.com 'aspngreuse' list
Question! I created dynamic menus (using DHTML and Javascript) and implemented it as a user control in my web application, but the menus appear behind the controls I defined in my .aspx page. How can I make sure that the menus will appear "above" the web controls? Thank you, Rimma Do You Yahoo!? Yahoo! Tax Center online filing with TurboTax
Reference a user control from code-behind (3 replies)
ASPFriends.com 'aspngreuse' list
I am having trouble referencing my user control fro the code behind file. When I refer to the control like this: MyControl.strText "Foo" I get the error that "name 'MyControl' is not declared". I have it registered in the page correctly and I can assign a value to the property "strText" on the page OK. Any ideas? Brent Giesler Dallas, Tx 972.754.4100 www.aspguy.com brent@aspguy.com
CodeBehind Problem (2 replies)
ASPFriends.com 'aspngreuse' list
Moved from [aspngfreeforall] to [aspngreuse] by Charles M. Carroll charlesmarkcarroll@yahoo.com Does anyone know how to pass a Server Variables ("SCRIPT NAME") from an ASPX page, to a user control, and then to a code behind VB file? I am trying to write a "Send To Friend" app, which is in a user control, with the email code in a code behind .vb file... i can't figure out how to pass the Request.Se...
Include Files (8 replies)
ASPFriends.com 'aspngreuse' list
Moved from [aspngvs] to [aspngreuse] by James Avery javery@deluxeeng.com Ok... Code re use... is a web control the acceptable method for code re use or is there a better? I have several functions that will be used on different pages and would like to only write them once... (Which should be the goal for all developers :) ) Anyway, input would be appreciated. Tim Maloney tmaloney@allianceconsulting...
Nested User Controls? (2 replies)
ASPFriends.com 'aspngreuse' list
Moved from [aspngfreeforall] to [aspngreuse] by devin devinr@drone interactive.com Hi, I was wondering if it is (in general) possible to nest User Controls inside other User Controls in the same way you can have include files within include files. The (specific) reason for asking is that I have developed a User Control with UI elements and a couple of DB connections in it that is currently nearly ...
User Control Wierdness (2 replies)
ASPFriends.com 'aspngreuse' list
I started down this road in the freeforall list, but it seems to have headed in this direction. I have a user control that consists of two drop down lists in a table. Both lists are bound to the same dataset (which is cached), both have autopostback set to true, and both have SelectedIndexChanged events. First, I could not get the SelectedIndexChanged events to fire at all. This problem stopped wh...
lock down a dynamically placed control? (3 replies)
ASPFriends.com 'aspngreuse' list
Moved from [aspngfreeforall] to [aspngreuse] by Yannick Smits dotnet@stepcompany.com We have a web form that dynamically places content via a placeholder. One of the controls that can be placed is a content management piece that I would like to lock down with windows authentication (without locking down the whole page as the app is a consumer based internet app). Does anyone have any suggestions o...
User Controls PostBack (3 replies)
ASPFriends.com 'aspngreuse' list
Moved from [aspngfreeforall] to [aspngreuse] by Yannick Smits dotnet@stepcompany.com Hi, I'm confused a bit and any help is appreciated. I have a page that contains two usercontrols. I need to display (activate) only one of them at any time. The first control gets me a Category Listing, while the seond gets me product listings within the selected category. How do I programmatically instanciate a u...
Really wierd codebehind problem (2 replies)
ASPFriends.com 'aspngreuse' list
Hi, I have a user control with a server side form in it, which when submitted just gives me a blank screen OR a "The page cannot be displayed... currently unavailable"... and doesn't run the code in the code behind: Here's the code for the user control: %@ Control Language "VB" Inherits "IT Certification" src "Default.vb" % % If Not Session("UserEmail") "" Then % form runat "server" method "post" div styl...
User controls & databinding (3 replies)
ASPFriends.com 'aspngreuse' list
Moved from [aspngibuyspy] to [aspngreuse] by Yannick Smits dotnet@stepcompany.com Moved from [aspngfreeforall] to [aspngibuyspy] by Dana Coffey denigma@bellsouth.net I have created a general purpose user control that deals with the upload of documents to the database (it is based on the classes which do this in IBuySpy). 20 As an additional step and to make the control more general purpose I would...
problem with page execution order and events (4 replies)
ASPFriends.com 'aspngreuse' list
Moved from [aspngfreeforall] to [aspngreuse] by Yannick Smits dotnet@stepcompany.com I have a main page for my site, default.aspx. This page has the header, the site menu, etc, associated with the entire site. I also have a blank panel that is the host for whatever content the user has asked for. On load of the page, the codebehind checks what content was requested, instantiates the appropriate us...
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification