| User.IsInRole in Usercontrol (2 replies) |
| ASPFriends.com 'aspngreuse' list |
| Moved from [aspngfreeforall] to [aspngreuse] by Marcie Jones marciejones@yahoo.com Trying to use a User.IsInRole() in a User control, but it isn't being recognized. Works fine in an ASPX page. |
|
| usercontrol events (2 replies) |
| ASPFriends.com 'aspngreuse' list |
| Moved from [aspngwebcontrols] to [aspngreuse] by Marcie Jones marciejones@yahoo.com I have a dropdown list in my usercontrol. How do I get the DropDownList1 SelectedIndexChanged event to fire? David Everything in this e mail and any attachments relating to the official business of Isonet ZA is proprietary to the company. It is confidential, legally privileged and protected by law. Isonet ZA does n... |
|
| Upgrading a simple function from ASP to ASP.NET (2 replies) |
| ASPFriends.com 'aspngreuse' list |
| Copied from [aspngfreeforall] to [aspngreuse] by James Avery javery@deluxeeng.com I'm trying to upgrade my ASP website to ASP.NET and I encounter a major problem with a simple function that I used with ASP. All my HyperLinks in ASP are created with a simple function: Sub CreateLink (Desc, WindowStatus, LinkPage) % % a href " % MainURL% / % strLanguage% / % LinkPage% " onmouseover "window.status ' ... |
|
| Datagrid in User Control (2 replies) |
| ASPFriends.com 'aspngreuse' list |
| Copied from [aspngdatagridrepeaterdatalist] to [aspngreuse] by Marcie Jones marciejones@yahoo.com Does anyone know of an example using a datagrid in a user control and processing the Edit/Update/Cancel Commands? tia, Scott Cate |
|
| Control 'Header1_lbtLogoff' of type 'LinkButton' must be placed inside a (2 replies, VIP) |
| ASPFriends.com 'aspngreuse' list |
| Moved from [aspngfreeforall] to [aspngreuse] by Charles M. Carroll charlesmarkcarroll@yahoo.com Just upgraded from Beta2 to Release 1 tonight. Migrated over appropriate files, etc. Went to compile, no big problems. Went to site and wel... I have two user controls, both are inside a form which *ISN'T* a runat server. I can't put them in there because there are forms on the pages that *ARE* runat se... |
|
| User-control with no code-behind...can it be used in code-behind webform class? (2 replies) |
| ASPFriends.com 'aspngreuse' list |
| Moved from [aspngfreeforall] to [aspngreuse] by alotofmail@tripleasp.net alotofmail@tripleasp.net I can't import the namespace into my code behind webform class for a simple one page user control (no code behind) because I'm not sure what the namespace is. Here is the control directive in connect strings.ascx: % @Control Language "VB" ClassName "Connection" % ... simple property code here ... I've... |
|
| Setting up code-behind for a user control (2 replies, VIP) |
| ASPFriends.com 'aspngreuse' list |
| VS.Net doesn't automatically declare my user controls in the code behind of the pages calling them, and I'm having problems setting them up myself. I assume I'm suppose to declare it as System.Web.UI.UserControl, but when I do so, I cannot set my custom properties (dbId) from the codebehind. ucCompletedSurveyList.dbId won't compile because dbId is not a valid property of UserControl, and ucComplet... |
|
| Dynamic User Controls (3 replies) |
| ASPFriends.com 'aspngreuse' list |
| Moved from [aspngfreeforall] to [aspngreuse] by Marcie Jones marciejones@yahoo.com I have a PlaceHolder control in a user control, "UserControl1". I placed UserControl1 on a .aspx page. From the code behind for my .aspx page, I need to dynamically add a user control, "UserControl2" to the place holder in "UserControl1". Stumped... Alvin |
|
| Page_Load firing twice (4 replies) |
| ASPFriends.com 'aspngreuse' list |
| I have a page with two user controls on it and I think they are causing the main page's Page Load event to fire twice cause I have them wired wrong. Heres the main page: %@ Register TagPrefix "uc1" TagName "clientDropDown" Src "ClientDropDown.ascx" % %@ Register TagPrefix "uc1" TagName "leftNavigation" Src "leftNavigation.ascx" % %@ Page language "c#" Codebehind "WebForm1.aspx.cs" AutoEventWireup ... |
|
| NOT ANSWERED BEFORE: Page_Load firing twice (7 replies) |
| ASPFriends.com 'aspngreuse' list |
| Never got an answer to this. I have a page with two user controls on it and I think they are causing the main page's Page Load event to fire twice cause I have them wired wrong. Heres the main page: %@ Register TagPrefix "uc1" TagName "clientDropDown" Src "ClientDropDown.ascx" % %@ Register TagPrefix "uc1" TagName "leftNavigation" Src "leftNavigation.ascx" % %@ Page language "c#" Codebehind "WebFo... |
|
| ASCX file and 'another' application (4 replies, VIP) |
| ASPFriends.com 'aspngreuse' list |
| Moved from [aspngdebug] to [aspngreuse] by Marcie Jones marciejones@yahoo.com Whats all this about? Parser Error Message: The virtual path '/LeftMenu.ascx' maps to another application, which is not allowed. Source Error: 20 Line 1: %@ Page Language 3D"vb" % Line 2: %@ Register TagPrefix 3D"TopMenu" TagName 3D"TopBit" Src 3D"Top.ascx" % Line 3: %@ Register TagPrefix 3D"LeftMenu" TagName 3D"LeftBit"... |
|
| Load Control persistance (3 replies) |
| ASPFriends.com 'aspngreuse' list |
| Moved from [aspngfreeforall] to [aspngreuse] by Marcie Jones marciejones@yahoo.com I have a PlaceHolder in an ASP.Net page into which I load a user control. This user control contains a checkbox list from which I can select a number of options. The problem I have is that on Page.PostBack the dynamically loaded control isn't there any more, so how do I access the list to see what items are checked?... |
|
| unanswered question(usercontrole) (6 replies) |
| ASPFriends.com 'aspngreuse' list |
| hi all follwing is the problem i am facing.. i have one htmlAnchor(delCmd) in my webusercontrole. in the serverclick i have following code. Private Sub delCmd ServerClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles delCmd.ServerClick deleteQtr() CType(Me.Page, qtrinfo).GetPartsName() CType(Me.Page, qtrinfo).fillPageData() End Sub ' when i click on delCmd anchor, first time this fu... |
|