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:528965
More Search Options
RSS Available
Matching Posts
Adding custom attributes to the @ Page directive.
Is it possible to add custom attributes to the @ Page directive in the markup of a page? I could imagine that we could inherit from the System.Web.UI.Page class and add some custom properties. Only would Visual Studio allow this? I'm thinking of something like this: <%@ Page Language="C#" CodeFile="Default.aspx.cs" Inherits="_Default" MyCustomAttribute="CustomPageSetting" %> public partial class _Default : ExtendedPage { } public class ExtendedPage
Posted to
Web Forms
(Forum)
by
dekale
on 10/11/2006
Re: How to reload an entire TreeView with a callback?
Thanks Danny, I'll try it out.
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
dekale
on 4/4/2006
How to reload an entire TreeView with a callback?
I've got a TreeView that I sometimes need to reload, because data has changed on the server. This however cannot be done with a normal post back, because then we'll loose the information in the iframe that's on the page. So callback to the rescue, but how can I let the TreeView refresh itself entirely through a callback?
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
dekale
on 4/4/2006
Re: How can I get Visual Studio to render my pages as valid HTML 4.01?
This is great, works like a champ! Thank you Mikhail.
Posted to
Visual Studio 2005
(Forum)
by
dekale
on 2/18/2006
Re: How can I get Visual Studio to render my pages as valid HTML 4.01?
Mikhail, you asked me some time ago what was wrong and why I wanted to render as HTML 4.0. The problem I'm (still) having is that I want to have a table with a height of 100% in XHTML 1.0, but this isn't working in Firefox. Below the html code. Maybe you know a solution. Thank you for your time. <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head runat="server
Posted to
Visual Studio 2005
(Forum)
by
dekale
on 2/17/2006
Re: Masterpages and the INamingContainer
For getting the controls using document.getElementById() on the client, you should use the ClientID property of a control, rather than it's ID property. This will solve most of the problems when trying to get the html element the control represents. public class MyControl : TextBox { protected override void OnPreRender(EventArgs e) { this.Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "MyControl", @"function SetMyColorOnClick() { var e = document.getElementById('" + this.ClientID +
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
dekale
on 2/14/2006
Adding a custom Style to the HtmlHeader
I'm trying to add a style to the Page.Header programmatically to achieve the following: < head > < style type ="text/css"> input.myclass { text-transform : uppercase ; } </ style > </ head > But all I get is: < head > < style type ="text/css"> input.myclass { } </ style > </ head > The code I'm using for this is the following: public partial class Default3 : System.Web.UI. Page { protected void Page_Load( object sender, EventArgs e) { Style style =
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
dekale
on 2/9/2006
Re: Very simple example doesn't work
Thanks. I'm gonna try it right away!
Posted to
Web Parts and Personalization
(Forum)
by
dekale
on 2/7/2006
Very simple example doesn't work
I've copy-pasted a code snipped from an article from MSDN Magazine, but all I get is an exception when executing the 'AddWebPart' method: "Cannot add a control of Type WebParts.MyWebPart. The Type must be loadable by BuildManager.GetType(string typeName)." Why doesn't this work, while the method asks for a WebPart control? Am I missing something here? In the .aspx file I defined a WebPartManager and a WebPartZone. This is the code behind: namespace WebParts { public class MyWebPart : WebPart { }
Posted to
Web Parts and Personalization
(Forum)
by
dekale
on 2/6/2006
Re: Betreft: Re: Betreft: To Dispose or not to Dispose, that's the question
Yes, you're right. And you ofcourse can't know what my knowledge is. I once saw someone make this construction: IDisposable o; for (int i = 0; i < 100; i++) { o = CreateNewDisposableObject(); // do something with the object here } o.Dispose();
Posted to
System.Drawing/GDI+
(Forum)
by
dekale
on 1/17/2006
Page 1 of 5 (47 items) 1
2
3
4
5
Next >
Channel 9:
Channel 9 Live at PDC09: Dr Jeff Norris, NASA
Channel 10:
Flickr Drive Integrates Flickr into Windows Explorer
Channel 10:
Playfire: A Growing Network for Gamers
Channel 10:
Find the Top iPhone Apps with Bing (Yes, Really!)
Channel 10:
Xbox to Become Emergency Alert System
Channel 10:
Progression of the Iconic Background
WindowsClient:
ASP.NET AJAX 4.0 Data Binding on MSDN Magazine
WindowsClient:
Don’t miss out..
TechNet Edge:
Improving Collaboration with SharePoint - Tech Focus December 2009 Part 1
Channel 9:
Channel 9 Live at PDC09: Scott Guthrie
Channel 10:
Get Discounted Concert Tickets at the New Windows Section 7
Channel 10:
Get Bing Wallpapers on the iPhone
Channel 10:
Bing Gets a New Toolbar
ASP.NET:
More on medium trust: what permission are you missing?
Channel 9:
Channel 9 Live at PDC09: Bob Muglia
WindowsClient:
Adventures With Windows Azure Diagnostics
Mix Online:
Adventures With Windows Azure Diagnostics
Channel 9:
Channel 9 Live at PDC09: Ray Ozzie
Channel 9:
Coding4Fun: DrinkTendr
Channel 9:
TWC9: Scott Hanselman, John Galloway, Bing, parallel unit tests, more
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online