Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:677651
More Search Options
RSS Available
Matching Posts
Re: Problem with "dynamic" usercontrols in web application project
Solved! Turns out I was on the right track. The App_Code folder (in which the baseclass was placed) is compiled both at compilation and later when viewing the site. Solution: Create another folder and move your classes from the App_Code folder to the new one. Some might be wondering why I had the App_Code folder there in the first place (as it's not part of the WAP). The reason for that is that the project is a converted web-site project.
Posted to
VS 2005 Web Application Projects
(Forum)
by
TchamiDK
on 9/21/2007
Problem with "dynamic" usercontrols in web application project
Hi, A web-application I'm currently working on allows users to create new usercontrols on the site (as in writing the code for the .ascx and the codebehind file, and yes I'm aware of the security issues). The usercontrol will always inherit from a base class defined in the web-application. These usercreated usercontrols will later on be dynamically added to the site like this placeholder.Controls.Add(Page.LoadControl(pathToUsercontrol)) So far so good, but try to load the control I get this
Posted to
VS 2005 Web Application Projects
(Forum)
by
TchamiDK
on 9/20/2007
Re: menucontrol and outputCache Bug?
Did you manage to solve this? I'm having the same problem..
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
TchamiDK
on 2/6/2007
Re: Button control rendered as html-table
Thanks Raymond, but this wasn't quite what I was looking for. This attaches an event alright, but it still renders the control (Mybutton) as a regular button. Either attaching an event or rendering the control as an html-table is easy, but doing both doesn't seem to work.
Posted to
Web Forms
(Forum)
by
TchamiDK
on 1/12/2007
Button control rendered as html-table
Hi, I'm trying to figure out how I can extend on the Button control to get full control of the HTML that's being rendered. I need my buttons to contain a custom icon as well as custom text. Furthermore the button needs rounded corners. Here's a image to illustrate: To create this I imagine I need to create a custom control that inherits from System.Web.UI.WebControls.Button and overrides the RenderControl method. That's not a problem, but I cannot figure out how to get the OnClick event to fire.
Posted to
Web Forms
(Forum)
by
TchamiDK
on 1/11/2007
Filed under: RenderControl, button, custom controls
Re: FYI: How to make FCKeditor work in an UpdatePanel
Thanks a lot for this. It works perfect, except I keep getting a "FCK is not defined" in fckeditorcode_gecko.js line 35. Any workaround for this? This is using the latest version (2.3.2).
Posted to
ASP.NET AJAX UI
(Forum)
by
TchamiDK
on 1/11/2007
Re: Dynamically adding controls to UpdatePanel and then getting their values
I load it in the OnInit event, just by adding it to a PlaceHolder. If I loop through the Request.Form collection I can see that all changes are being posted, they're just not "transfered" to the User Control for some reason.
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
TchamiDK
on 11/26/2006
Re: Dynamically adding controls to UpdatePanel and then getting their values
Ahh, that was helpful. Thanks a bunch, both of you. When the controls are loaded, I add them to an ArrayList and save that to a Session-variable. When the "Save"-postback occurs I recreate the controls, and it works like a charm, well almost. I've run into a single problem: One of the controls I add to the PlaceHolder is a UserControl containing a number of standard webcontrols, such as TextBoxes. When I recreate the controls (and thereby add the UserControl to the PlaceHolder), the changes made
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
TchamiDK
on 11/24/2006
Re: Dynamically adding controls to UpdatePanel and then getting their values
I understand that, but I just cannot figure out how to actually do it. I've been looking at this problem for a few days now, and although your solution sounds perfect, I have a hard time putting it down to code so I would really appreaciate just a few lines of sample code (in C#, VB or whatever). Anyone? Please :)
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
TchamiDK
on 11/23/2006
Re: Dynamically adding controls to UpdatePanel and then getting their values
First of all, thanks for all the quick replies. Really appreciate it. I don't understand how I can use the init event though. I understand the idea behind using it, but (and I know I'm asking a lot here) could you provide an example on how to do it?
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
TchamiDK
on 11/23/2006
Page 1 of 2 (14 items) 1
2
Next >
Channel 9:
E2E: Brian Beckman and Erik Meijer - Co/Contravariance in Physics and Programming, 1 of 2
TechNet Edge:
Windows Server 2008 R2 Quick Look #3 - PowerShell V2
ASP.NET:
2009 Blogged - Greatest Hits
WindowsClient:
2009 Blogged - Greatest Hits
Channel 9:
Nikolaj Bjørner and Leonardo de Moura: The Z3 Constraint Solver
Channel 9:
MEF & Silverlight 4 Beta - Part 2, Imports & Exports
Channel 9:
MEF & Silverlight 4 Beta - Part 1, Introduction
WindowsClient:
The (Near) Final Word on Multi-Monitor Taskbars for Windows 7 - Ultramon vs. DisplayFusion
WindowsClient:
Looking back at 2009, and forward to 2010
Silverlight:
Polling Video – A Viable sub-second alternative?
TechNet Edge:
Windows Server 2008 R2 Quick Look #2 - Active Directory Recycle Bin
Channel 10:
I'm a Windows 7 PC Themes
Channel 10:
24 Years of Windows Box Art
WindowsClient:
Silverlight tutorial: HOW TO build CommandLink Control in Silverlight with Expression Blend 3 and Behaviors
ASP.NET:
Converting an RGB Color To Hex With JavaScript
Silverlight:
Silverlight HVP Design – Configuration & Scenarios
Channel 9:
Channel 9 Live at PDC09: Day 3 Welcome
Channel 9:
Channel 9 Live at PDC09: TWoC9 Day 3
Channel 10:
Microsoft's Mobicast: Stiched Cell Streams
Channel 10:
Festive Bing
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online