| User Control and DHTML (5 replies) |
| ASPFriends.com 'aspngreuse' list |
| This message, which was originally sent to "aspngarchitecture", has been moved to "aspngreuse" mailing list by the List Master 1. Is there any way I can put client side code in User Controls ? 2. How do I pass variable to the user controls ? |
|
| Strategy for Reuse on Multi-Application Server (5 replies, VIP) |
| ASPFriends.com 'aspngreuse' list |
| Greetings all. I'd like some feedback and opinions on how to best go about creating a re usable set of library functions and page layout/look functions for a server that includes many different web applications. This would be for ASPAlliance.com, which hosts webs for dozens of columnists. Every one of them has their own application, with global.asa/asax, web.config, etc. Presently the common look ... |
|
| RegisterClientScriptBlock (5 replies, VIP) |
| ASPFriends.com 'aspngreuse' list |
| Andy, I am using RegisterClientScriptBlock to include a js file. Is there any specific place where it is to be added (Page Load, Init, etc). I have used it in Page Load. I notice though that the script block is generated inside the form. Is there a way to control where the script block is generated. Also, when I put in a global array into my js file, the page did not come up properly. What cld the... |
|
| UserControls having ClientSide Code (4 replies, VIP) |
| ASPFriends.com 'aspngreuse' list |
| Hi All, I am currently experimenting with adding some client side script blocks to user controls. Have the following questions. 1. I would like to generate a function name based on usercontrol ID. ie, if I have two instances of the usercontrol with id "usr1" and id "usr2", the corresponding client functions should be usr1 func and usr2 func. Is this possible. If so, how? 2. I notice when i "View S... |
|
| CustomControl - OnDataBinding issue (3 replies) |
| ASPFriends.com 'aspngreuse' list |
| I am using a custom control and implementing the OnDataBinding event to populate a DataList which is a child control inside of my custom control. The problem is, when I bind a different DataList on the parent page, the OnDataBinding event for my custom control is called. This causes an error because the custom control hasn't been assigned a datasource yet. The custom control should only be populat... |
|
| Cascading combo boxes (3 replies) |
| ASPFriends.com 'aspngreuse' list |
| Moved from [aspngarchitecture] to [aspngreuse] by darthcarroll@asplists.com In VB6/ASP it was very easy to have a series of cascading combo boxes where the selection in comboBox A determines the dataset of information in comboBox B, where the selection in comboBox B determines the dataset of information in comboBox C, etc., when each combo boxes (or select tags) data was re posted to the server. I... |
|
| User Control color error Question (5 replies) |
| ASPFriends.com 'aspngreuse' list |
| I'm trying to assign a variable in a User control for a forecolor property. However, when it is assigned in the ASPX page, in the user control, it errors out. Look at the following: ASCX page: %@ Import Namespace "System.Drawing" % %@ Import Namespace "System.Drawing.Color" % script language "VB" runat "server" Public MainLabel as string Public MainColor as Color Sub Page Load(Source as Object, E ... |
|
| NOT ANSWERED: Viewstate for Caching (2 replies, VIP) |
| ASPFriends.com 'aspngreuse' list |
| Hi all, I have a website in which we have a table of contents feature. I am rewriting this is ASP.Net and I was thinking of using a user control and displaying it in a tree view. The data for the table of contents could be different base upon which form the user have select at the beginning of the website. I was thinking of using an xml file which would contain the table of contents for each form.... |
|