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:564771
More Search Options
RSS Available
Matching Posts
Templated databound controls - template property
I have a templated databound control with several templates. I want to extend this with some new functionality. Ideally I want to do something like this: 1 <MyControl runat="server"> 2 < ClassTemplate ClassName= "Article" >template definition comes here </ TemplateClass > 3 < ClassTemplate ClassName= "News" >template definition comes here </ TemplateClass > 4 < ClassTemplate ClassName= "BlogPost" >template definition comes
Posted to
Custom Server Controls
(Forum)
by
vlangber
on 5/17/2009
Re: Open Web Site freezes VS2008
I think that happens because it remembers the last folder you used. I don't remember exactly how I reset it, but it I think it as by deleting the Visual Studio 2008 folder(I didn't have anything important there) in Documents and restarting the computer, or by reinstalling Visual Studio.
Posted to
Visual Studio 2008
(Forum)
by
vlangber
on 10/8/2008
Re: Open Web Site freezes VS2008
I haven't fixed the issue, but I know how to prevent it from happening. It happens when I point the Open Website dialog at a folder with many large zip and rar files. When I copied my website away from that folder, everything is working again.
Posted to
Visual Studio 2008
(Forum)
by
vlangber
on 10/8/2008
Re: Open Web Site freezes VS2008
I have the same problem.. I just bought a new machine, and I've installed VS 2008 and SP1. I can create new websites etc, but as soon as I click on the "Open Website" on the File menu, it freezes. I've used VS 2008 on other machines in the past without any issues. I've tried reinstalling both VS 2008 and SP1, but it doesn't work. I'm using Windows Vista Enterprise x64.
Posted to
Visual Studio 2008
(Forum)
by
vlangber
on 10/2/2008
Re: Templated controls, bubbled events and selecting what template to render
I've been able to get another step further. I've created an EmptyMessageTemplate where I use the same content as the MessageTemplate, but without any of the databinding, but with the controls that can cause a postback. So now I get the events, but since the dataSource in the CreateChildControls(IEnumerable dataSource, bool dataBinding) method only contains null values in the postback, I can't set the CommandArgument of the buttons that cause the postback. Anyone have a suggestion on how
Posted to
Custom Server Controls
(Forum)
by
vlangber
on 5/22/2008
Re: Templated controls, bubbled events and selecting what template to render
I've been able to narrow the problem down further. The problem is described here: http://www.michaelteper.com/archive/2006/02/14/5922.aspx The most relevant part: "The CreateChildControls method will be called under two distinct scenarios: when your control is databound (and a dataSource is supplied) and on postback (when a data source is NOT available). Under this second scenario, the dataSource value will be an array of null's of the length you returned when the control was first databound
Posted to
Custom Server Controls
(Forum)
by
vlangber
on 5/21/2008
Templated controls, bubbled events and selecting what template to render
I've created a custom templated server control(inherits CompositeDataBoundControl) with 8 different templates, and depending on certain actions I want to render certain templates. The default template is a list of messages in a MessageTemplate. The MessageTemplate contains a button for adding a message. If I click the button, I want to render a "AddMessage" template. The problem is that the event from the button isn't bubbled up into my custom control unless I create the messagetemplates
Posted to
Custom Server Controls
(Forum)
by
vlangber
on 5/21/2008
MVC and App_Code
Hi! I have a web application where I have a number of classes in the App_Code directory. When I try to use those classes with MVC, it fails because there isn't a reference to App_Code. Is there a way to add a reference to App_Code? Vidar
Posted to
ASP.NET MVC
(Forum)
by
vlangber
on 5/18/2008
Re: Mixing MVC and Webform in same web application
Please correct me if I'm wrong, but the article from Hanselman is not about ASP.Net MVC, but using MVC in ASP.Net before ASP.Net MVC was launched. Anyone got suggestions on how to mix ASP.Net MVC and webforms in the same website?
Posted to
ASP.NET MVC
(Forum)
by
vlangber
on 5/7/2008
Mixing MVC and Webform in same web application
Scott Guthrie mentioned in one of his MVC blog posts that it is possible to combine MVC and webforms in the same application. I've tried that, but I get lots of errors in the webforms. What I'm trying to do: I have a asp.net cms, with an edit part where I need to continue to use webforms. I want to use MVC for the website itself. I've copied all relevant files from the webforms application into an empty MVC application(it worked before I started copying files), and then I've added
Posted to
ASP.NET MVC
(Forum)
by
vlangber
on 5/4/2008
Page 1 of 5 (48 items) 1
2
3
4
5
Next >
Channel 9:
Nikolaj Bjørner and Leonardo de Moura: The Z3 Constraint Solver
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
TechNet Edge:
How Microsoft Reduces Operational Risk through Business Continuity Management
Channel 9:
Jeffrey Van Gogh and Bart De Smet: Inside System.Interactive
WindowsClient:
Runtime Fault Injection using TestAPI
TechNet Edge:
TechNet Radio: Community Corner with John Weston (Episode 1)
TechNet Edge:
Windows Firestarter Events (Part 3 of 5): IE8 - Browse the Web in Style!
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online