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:83978
More Search Options
RSS Available
Matching Posts
Re: How to clear AsyncFileUpload if page revisited
I guess that only clears it (the string in the textbox) on the client side, not from the session. If you make it do a SaveAs when OnUploadedComplete is fired, postbacks on the page will keep saving the file whether you clear that input box or not with javascript. Which I guess would require a rethinking of a page that mixes postbacks with ajaxy stuff.
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
lonechicken
on 10/16/2009
TreeView: How do I add attributes to the checkboxes for each node?
I've tried extending TreeNode (class CustomTreeNode : TreeNode), but that's not the class that generates the input ...checkbox html tag, nor does it generate the tr tag that wraps around that node. The html that gets generated per node is something like: <tr> <td> <td> <td> < input id ="idofnodecheckbox" type =" checkbox " name ="idofnodecheckbox" /> < a id =...>The node's display text</a> </td>...etc I've
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
lonechicken
on 7/29/2009
Re: Finding the top level Master page from a page n levels below?
Thanks. This is what I ended up with: private System.Web.UI.HtmlControls.HtmlGenericControl GetTopLevelBodyTag() { System.Web.UI.HtmlControls.HtmlGenericControl body = null ; if (Page.Master != null ) { MasterPage master = Page.Master; while (master.Master != null ) { master = master.Master; } body = (System.Web.UI.HtmlControls.HtmlGenericControl)master.FindControl( "bodyMaster" ); } return body; }
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
lonechicken
on 8/25/2008
Finding the top level Master page from a page n levels below?
Say I have a user control that can sometimes be dropped into an aspx page that has 1 master page. But then sometimes, it can be dropped into an aspx page that has a master page nested inside another master page. How do I access a server control on the "top-level" master page from the ascx code-behind? More specifically, if the body tag at the top level Master was... <body id= "body" runat= "server" > accessing that body tag inside the user control, the code could
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
lonechicken
on 8/22/2008
Re: VS 2008 Unit Test Null Reference Error
httpcontext seems to be the problem. I was using Server.MapPath for a field for that class. Thanks!
Posted to
Visual Studio 2008
(Forum)
by
lonechicken
on 7/11/2008
VS 2008 Unit Test Null Reference Error
I'm not sure why I'm getting this when running tests in a separate unit test project: "...threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object. " Say the code behind for an aspx page has a couple of very simple methods: public int ExamListCount1() { return 8; } public static int ExamListCount2() { return 8; } In the unit test project, both of the ways below generate that error: [TestMethod()] public void ExamListCountTest
Posted to
Visual Studio 2008
(Forum)
by
lonechicken
on 7/11/2008
Menu control, Summary attribute
Using the asp.net 2.0 Menu control, is there anyway to make each of the HTML tables that it creates generate a summary property?
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
lonechicken
on 10/30/2006
Re: The 'diskcacheable' attribute is not supported by the 'outputcache' directive in a page.
What's the current story on this? My version is VS 2005 Team Edition (RTM). I can set it inside a page's OutputCache directive, but when I have it inside the web.config's <outputCache>, I get Unrecognized element 'diskCache' ...so I can't set a maxSizePerApp anywhere that I can tell. There are examples like this all over the web and in books supposedly talking about the release version of VS2005, that doesn't work for me: < configuration > < system.web > < caching > < outputCache
Posted to
Web Forms
(Forum)
by
lonechicken
on 8/22/2006
Re: Problems upgarding to ASP.NET 2.0
In general, I find the strict validation useful, but is there a way to customize what gets (or more importantly: doesn't get) flagged? Not something general like, "when client tags are not lowercase" inside tools->options but something specific... The web stats package I use needs a non-standard attribute stats="1" added inside the <body> tag for any page I need kept track. So for the hundreds of pages on the site, this validation error spams the error list: Attribute 'stats' is not a valid
Posted to
Migrating from ASP.NET 1.x to ASP.NET 2.0
(Forum)
by
lonechicken
on 2/22/2006
Re: Menu in Master page
I finally figured out it's whatever's inside the web.config file that got "upgraded" going from 1.x to 2.0. I simply removed that file and created a fresh web.config from VS 2005.
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
lonechicken
on 2/14/2006
Page 1 of 2 (20 items) 1
2
Next >
ASP.NET:
Tip#100: Did you know… How to view ASP.NET trace information?
ASP.NET:
Passing anonymous objects to MVC views and accessing them using dynamic
Channel 9:
Channel 9 Live at PDC09: Coding 4 Fun
Channel 9:
Channel 9 Live at PDC09: Stephen Toub
WindowsClient:
Mouse Gestures for Internet Explorer
Channel 9:
Controlling concurrency in Rx
Channel 9:
Dev Tools Ecosystem Summit Videos Available
WindowsClient:
Using Cerebrata's Cloud Storage Studio To Download IIS logs from Multiple Instances of Windows Azure
TechNet Edge:
TechNet Radio: Office 2007 Setup and Configuration (Part 1)
Channel 10:
How-To: Listen to Your Zune Pass Music on Your WinMo Phone
Channel 10:
Share Your Screen with SharedView
Channel 10:
Get Microsoft Tinker Game For Free
Channel 10:
LG eXpo WinMo 6.5 Unboxing Video
Channel 9:
ADFS 2.0 RC is Here!
Channel 10:
Bing Reference Updated with New Sidebar Features
Channel 10:
Look Behind SurfaceScapes
ASP.NET:
Moving your ASP.NET Application to Windows Azure – Part I
TechNet Edge:
Windows Server 2008 R2 Quick Look- Installing the Migration Tools
WindowsClient:
My latest videos – WPF, Silverlight, Sensors, and PDC09
WindowsClient:
Developing an installer for your Surface application
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online