|
Deepak Kumar Vasudevan wrote:
font-family: Arial,Verdana,Helvetica,sans-serif;
Why place Arial before Verdana or Helvetica when most clients will have Ariel? It pretty much makes then redundant...
"I dont have a life, I have a program."
|
|
|
|
|
Hey, I'm halfway through a game in ASP.
It's medieval based and all we need is the battle engine.
If you want to help, contact me
messenger:kwan_rules@hotmail.com
ICQ:122303558
AIM:KatatonicKwan
|
|
|
|
|
|
In .NET, is there a way to set the browser title in code-behind?
|
|
|
|
|
MS le Roux wrote:
In .NET, is there a way to set the browser title in code-behind?
I don't know a direct way but you can put a PLACEHOLDER control inbetween the TITLE tags and then add a literalcontrol to the placeholder with the title you want.
e.g.
<title><asp:placeholder id="pagetitle" runat="server" /></title>
then
...
protected PlaceHolder pagetitle;
...
private void Page_Load(object sender, System.EventArgs e)
{
pagetitle.Controls.Add(new LiteralControl("Absinthe from reality!"));...
Paul Watson Bluegrass Cape Town, South Africa Ray Cassick wrote: Well I am not female, not gay and I am not Paul Watson
|
|
|
|
|
Request.Browser gives you an enumeration rather than the direct title string, but that should be enough, right?
Paul
I think there're pieces of me you've never seen - Tori Amos, Tear in Your Hand
|
|
|
|
|
Hi,
I think your title should come under some common header, right? You can have something like this:
<asp:placeHolder runat="server" id=fortitle>
...
this must be within
<title></title>
Within a placeholder, you can have as many controls. But this placeholder since it is on web browser title, you can have something called <asp:LiteralControl runat="server"> and that will be written as the title.
If you want scrolling titles like in DynamicDrive.com, you can simply use AddAttributes and the onLoad as Key and the function as the value.
Deepak
Deepak Kumar Vasudevan
http://deepak.portland.co.uk/
|
|
|
|
|
Doesn't win 2000 count page hits? If so how do you check it? I would look this up but I am far from my computer and I need to send out an email from here. Thanks for your time.
|
|
|
|
|
IIS Performance Counters Reference[^] will tell you what performance it measures.
Ususally you use a third-party tracking system, like LiveStats[^], because it offers much more in the way of analysis of traffic.
|
|
|
|
|
I am using asp/vbscript to format an excel workbook while streaming MIME Content. I have found out how to put the Title in the Page Setup and to set the printing orientation to landscape, but I can't seem to find in the excel's html/xml format how to set the 'Rows to repeat at top', to get the headings to print on each page. Can anyone help? Is there a way with the html/xml format or anyother way to accomplish the same thing?
Ed Mee
|
|
|
|
|
Office Xml reference[^]. Happy hacking...;P
How low can you go ? (MS rant)
|
|
|
|
|
Thanks, but I have the MS Office HTML/XML Ref. and I still can't find where to reference that particular part of the Page Setup.
Ed Mee
|
|
|
|
|
There is an easy way to check it out.
1. Save a current Excel document as xml
2. Change the page setup
3. Save again as xml (no overwrite of course)
4. Make a diff (use windiff for instance)
The pagesetup fields will show right on screen...;)
Good luck!
How low can you go ? (MS rant)
|
|
|
|
|
I am (still!) writing a Web Image viewer for my compnay that allows our Customers to view the images, that we have scanned for them, to be viewed over the Web. I have used ASP, Javascript and an ISAPI Extension dll to do all the database and Image processing work, and am using IIS while developing.
However, all works well when the image Folders are on the actual Web Server machine but, as soon as we move them onto another machine, and map a drive to the folder e.g. X:\Image_Folder, it won't work. I have trapped the message with "GetLastError()" and get "Access is denied".
The folder on the Image Server is shared and "full" Permissions are granted to "Everyone". I can view the images OK using IE from the Web Server machine.
Any ideas? It seems such a trivial problem but, having got so far with no major problems, it would be a shame for this to mess everything up.
Many thanks for any help.
code dope.
Life's like a sh*t sandwich - the more bread you got, the less sh*t you gotta eat!
|
|
|
|
|
Do all the images also have Everyone / Full permissions?
"The greatest danger to humanity is humanity without an open mind." - Ian Mariano
http://www.ian-space.com/
|
|
|
|
|
What account is your webserver running under ? If its LocalSystem then it only has access to local resources. Remember your ISAPI DLL will run in the context of the web server.
|
|
|
|
|
Hi:
With the advent of .NET i really have not quite used
Request.Form,Request.Querystring.But with zhoujun's question i think i too need to know
What is the default method of submitting values to an asp.net page even if it posts back to itself.Is it Post Or Get..
Why Need Parking lots in Bars when Drunken Driving is Prohibited
|
|
|
|
|
By default, browsers use "get." You have to explicitly state in your <form> tag that the method="post" .
In ASP.NET, if the form is run server-side, I believe it uses "post."
"The greatest danger to humanity is humanity without an open mind." - Ian Mariano
http://www.ian-space.com/
|
|
|
|
|
Hi Pradip,
The default in normal HTML is GET. But under .NET Framework, we normally use
and it ALWAYS uses POST. You may check out the javascript function that framework uses which is called _doPostBack()
We do not do Request.Form like that.
Perhaps we assign an event handler to the button and handle them. The framework manages the mappings.
Check out the login page and other forms in iBuySpy Portal/Store SourceCode, which would really be very helpful to understand the flow.
Deepak Kumar Vasudevan
|
|
|
|
|
Hi Folks:
We have applications that use a lot of our own webservices .Now we want some of the functionality in our webservices to be hidden from view even if theperson manages to break into the asmx page that lists out all webservices being offered.
Where exactly in the function defnition do i specify that the function is not to be listed out in the asmx page..
Thanks in advance for your help..
Regards
Pradhip.S
Why Need Parking lots in Bars when Drunken Driving is Prohibited
|
|
|
|
|
Why don't you just enable some security on the services you wish to "hide?" That way, if they do see it, they still may not be able to call it unless they crack your security as well.
"The greatest danger to humanity is humanity without an open mind." - Ian Mariano
http://www.ian-space.com/
|
|
|
|
|
Hi,
I think with the release of Microsoft Web Services Development Kit (WSDK) Technology Preview, there are also some authentication mechanisms that are available along with the message itself.
Perhaps you can try that and see if that should be useful for your objective.
Deepak Kumar Vasudevan
http://deepak.portland.co.uk/
|
|
|
|
|
here's a small dillema i have.. done for the sole purpose of security.. i have a modified version of a program called 'browseamp' which installs a mini web browser onto winamp. i also have iis running on that web server (standard port.. port 80).. i have browseamp running on port 81 but i have bound it to LOCALHOST only, which means it will accept calls ONLY from that local machine (so say, no one tries to flood port 81 and crashing winamp) .. i run a huge internet radio station and the goal is to get the dj's to start their own shows by using this browseamp plugin.. i already have the 'commands' to pass to the browseamp plugin, buti want, perhaps through asp, IIS to pass those to localhost:81 etc etc...
how can i do this.. is this some kind of redirect fuction? .. remember this will be a client from the outside, accessing the iis server (Which does accept the outside connections) and then the IIS server calling the browseamp server on localhost:81 ...
i'm confused, perplexed, and just dumbfounded by how i could do this.
any help would be appreciated.
thanks!
michelle
bassdrive.com
|
|
|
|
|
How about using xmlhttp (or asptear) to request the page from localhost?
|
|
|
|
|
Hi all
Can cookies be "stolen" by other parties? How safe are they? Is it ok to leave info like username and email in an unencrypted form in a cookie? Or maybe someone can point me to a link explaining cookie security.
CHeers
"There are no stupid question's, just stupid people."
|
|
|
|