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:431473
More Search Options
RSS Available
Matching Posts
Theming parsed child controls
I'm building a control that requires parsed collections of child controls; something like the following: <My:Control runat="server"> <Controls> <My:ChildControl /> </Controls> </My:Control> I want to be able to build skin files for the ChildControl objects. Mostly, they'll require Urls for images, etc. and I want to be able to use the current App Theme. I can skin the top-level control no problem, but the child controls seem to require something I'm unaware of. How do
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
BurntSky
on 12/10/2005
Re: How to build a UI a site like live.com: may be AJAX?
Well, you can use his AJAX library to make asynchronous calls to dynamically load things, but theres not actually any UI related objects in his library. To acheive the UI seen on live.com you'll need to either use ASP.NET 2.0's WebParts, find another library (like Component Art's), or start from scratch and build your own.
Posted to
Client Side Web Development
(Forum)
by
BurntSky
on 11/22/2005
Re: Parsing javascript files dynamically
Haha, yes, I know what User Controls are. I've only been doing the ASP.NET thing since betas of 1.0, after all. However, this is quite an interesting proposition you've presented. Not exactly one I'm willing to take up, but a very different approach, nonetheless. One of the reasons I keep my libraries of javascript functions in external files, however, is so that if a malicious user views the source for the rendered page they must go that extra step to extract the referenced javascript files, rather
Posted to
Client Side Web Development
(Forum)
by
BurntSky
on 11/21/2005
Re: Possible to embedd *.css file into dll?
Interesting. Well, you said you've been successful with *.js files, correct? why don't you try changing the extension of the .css file to .js? Obviously, you shouldn't have to do this, but it should prove that the problem is not in the file type, but somewhere else instead. I've successfully embedded .css files as resources a number of times and don't recall having a problem. At the moment, however, everything you're doing appears to be correct (but it's also 1:30am here and I may not be thinking
Posted to
Client Side Web Development
(Forum)
by
BurntSky
on 11/21/2005
Re: Changing mime-types from HttpHandlers...
That's what I had figured, but I thought there might be a way to trick the browser into overriding the mime type and binary streaming out something else. I suppose this would also be a security risk, so I can imagine why it's not possible. I suppose I can dynamically create an image and stream it out, if need be.
Posted to
HttpHandlers and HttpModules
(Forum)
by
BurntSky
on 11/21/2005
Changing mime-types from HttpHandlers...
This may be more of a browser-specific question, but here's what I'm trying to do: under certain circumstances, I need an IHttpHandler that will spit out HTML rather than an image. Lets say on a page where this applicable there sits an img tag ("<img src='dontserveme.jpg' />"). I have an HttpHandler set up to handle this request. In the ProcessRequest method I need to change the content type to "text/html" (I would assume) and spit out a certain string of HTML instead of the image. It works
Posted to
HttpHandlers and HttpModules
(Forum)
by
BurntSky
on 11/21/2005
Re: Parsing javascript files dynamically
Actually, no, I'm not quite sure what you're implying. Could you elaborate a little further on your solution?
Posted to
Client Side Web Development
(Forum)
by
BurntSky
on 11/21/2005
Re: Word on Client Side
You have to change the content type of the http response to Word's MIME type: Response.Clear(); Response.ContentType = "application/msword"; Response.WriteFile(Server.MapPath("~/some.doc")); Response.End();
Posted to
Client Side Web Development
(Forum)
by
BurntSky
on 11/21/2005
Re: Possible to embedd *.css file into dll?
Also, remember the name the WebResource is assigned is more than simply the namespace; it's a combination of the base namespace and the directory hierarchy. If your assembly's base namespace is "Some.Thing" and in the root directory you have a folder named "Resources", the WebResource will be assigned the name "Some.Thing.Resources." A good way to find out the exact name it's being assigned, if you're unsure, is to use Lutz Roeder's .NET Reflector.
Posted to
Client Side Web Development
(Forum)
by
BurntSky
on 11/21/2005
Re: Add spaces between digits in javascript
var sText = '9038352', sNewText; for(var i=0; i<sText.length; i++) { sNewText += sText.charAt(i) + ' '; } // sNewText == '9 0 3 8 3 5 2 ' (if you care to trim off that trailing space just use the substring method.)
Posted to
Client Side Web Development
(Forum)
by
BurntSky
on 11/21/2005
Page 1 of 16 (155 items) 1
2
3
4
5
Next >
...
Last »
TechNet Edge:
Check out how Dolly Parton uses IE8 and Web slices!!!
Silverlight:
A Silverlight HVP Update
Channel 9:
Channel 9 Live at PDC09: This Week on Channel 9 - PDC09 Daily Show Edition Day 1
Channel 9:
Maria Klawe: Scholar, Scientist and Microsoft Board Member
Channel 10:
Play the Bing Sherlock Holmes Game
Channel 9:
Channel 9 Live at PDC09: Loic Le Meur
Channel 10:
How to Delete Jump List Items
Channel 10:
Roll Back to Classic Network Indicator in Win7
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 2
Channel 9:
Ping 42: Is Microsoft cool? Photo DNA, Win7 tool, 10k MIX contest
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 1
Channel 9:
Francesco Logozzo - Static Checking with Code Contracts for .NET
Channel 9:
Channel 9 Live at PDC09: Doug McCuistion, NASA
TechNet Edge:
System Center Operations Manager 2007 R2 – Service Level Dashboard part 3: Configuration
Channel 9:
Reading Debate with Bill Buxton
Channel 10:
Reading Debate with Bill Buxton
WindowsClient:
Build WPF Data Controls for Outlook Addins Easily with VS2010
Channel 9:
Channel 9 Live at PDC09: .Net Rocks Part 2
Channel 9:
Channel 9 Live at PDC09: .Net Rocks Part 1
Channel 9:
Channel 9 Live at PDC09: Wei Zhu (Facebook)
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online