| 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... |
|