|
I am using a font only available on my machine.
But I need it downloaded to the client automatically when the page is viewed.
Does any1 have a link to a page with the code?
1 line of code equals many bugs. So don't write any!!
|
|
|
|
|
The CSS2 specification includes the @font-face directive, which can be used to specify a URL for downloading a font. Take a look here for the description and an example:
http://www.w3.org/TR/REC-CSS2/fonts.html#font-descriptions[^]
I'm not sure what the browser support is, but it's a place to start.
|
|
|
|
|
cool. thanks. That hit the spot
1 line of code equals many bugs. So don't write any!!
|
|
|
|
|
|
I originally posted this question on the work/job issues board a few weeks ago but that board doesn't seem to get much activity so I'm reposting it here. I'd greatly appreciate your input:
I've been working as a web developer for 2 1/2 years now. It's my first programming job since graduating school and while I was waaaaaay underpaid, it's been great professional experience for me. The time has come however, for me to begin looking for better opportunities (i.e. a higher salary) and I was just wondering what you guys feel is the best set of advanced skills I should be learning before sending out my resume.
Some have said to get into VOIP. Others have said to take some classes dedicated on security programming. I've been given about a half dozen different recomendations so I was just hoping you guys could help me narrow it down to one or two skills that have the brightest future ahead.
My current specialty is .NET programming (both vb.net & c#) but I also know Java & C/C++ pretty well also (plus of course the obvious ones such as ASP, JSP, Javascript, etc). I also work with Sql Server.
Any advice you can give me on this would be greatly appreciated.
Thanks in advance.
-Goalie35
|
|
|
|
|
I think having .NET skills and Java skills covers a lot of bases. Add some real experience with web application development (including client-side scripting) and solid experience with relational database design/development and you're in very good shape.
What do you enjoy doing? Do you like database programming? web programming? building desktop applications? lower level programming for, say, device drivers? does a particular business appeal to you, such that marrying your technical skills to specific business processes is appealing?
I'm not surprised that you would get so many different suggestions for what skills would "have the brightest future ahead". What you enjoy doing is what would give you the brightest future.
|
|
|
|
|
Hi, I want to develop an On Line Test Engine Using ASP.NET & C# for the mca final sem project. please any one information regarding this please help me.
|
|
|
|
|
Try and be a bit specific - what do you need help with? (And before you say "the code" you are not going to get complete working code here)
|
|
|
|
|
Hi to every one laks here,i have got some doubt in ASP.Net,i just want to know how we can use insert,update,delete commands in Datagrid control,i tried but iam not getting,plz explain me with an example
|
|
|
|
|
|
Can somebody suggest a reliable webhosting provider(s) for .Net 2.0 and SQL Server 2005?
|
|
|
|
|
A non-profit organization I've been working with has been using DiscountASP[^] and it's been pretty good.
|
|
|
|
|
I want to pass the value of the selected item in a dropdownlist to a label. The dropdownlist is inside a FormView and
the label is outside in the main form. I'm trying to do this by implementing an event handler for the event
OnSelectedIndexChanged.
I cannot get it to work as I get an error:
Object reference not set to an instance of an object w.r.t code: Label1.Text = myDDL.SelectedItem.Value.ToString();
Here's the ASP/HTML
...
<asp:formview>
....
<insertitemtemplate>
....
<asp:dropdownlist id="DropDownList1" runat="server" datasourceid="SqlDataSource1"
datatextfield="StaffID" datavaluefield="StaffID" selectedvalue="<%# Bind("StaffID") %>" autopostback="True" onselectedindexchanged="DropDownList1_SelectedIndexChanged" ondatabound="DropDownList1_DataBound">
....
....
<
<asp:sqldatasource id="SqlDataSource1" runat="server"
connectionstring="<%$ ConnectionStrings:MyConnectionString %>"
selectcommand="SELECT StaffID FROM Staff_tbl">
...
<asp:label id="Label1" runat="server" text="Label">
Here's the event handler (c#)
protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e)
{
DropDownList myDropDownList = (DropDownList)FindControl("DropDownList1");
Label1.Text = myDropDownList.SelectedItem.Value.ToString();
}
My FindControl clearly isn't doing what I think it should.
I can get this to work if the dropdownlist is not inside a FormView where there is no need to use FindControl.
E.g.
protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e)
{
Label1.Text = DropDownList1.SelectedItem.Value.ToString();
}
But unfortunately I NEED to have the dropdownlist inside a FormView.
Thanks
Majella
|
|
|
|
|
Your drop down list will be rendered on the client with a name like FormViewName_DropDownList1.
|
|
|
|
|
Thanks - I had omitted to specify the container (FormView1). Was
DropDownList myDropDownList = (DropDownList)FindControl("DropDownList1");
but should have been
DropDownList myDropDownList = (DropDownList)FormView1.FindControl("DropDownList1");
Many thanks
Majella
|
|
|
|
|
How about something like this?
protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e)
{
DropDownList myDropDownList = (sender as DropDownList);
if (myDropDownList != null)
Label1.Text = myDropDownList.SelectedItem.Value.ToString();
}
|
|
|
|
|
I have just installed the .NET Framework 1.1 on my machine. But the web application I was developing can no longer access the database I have. I keep getting the error.....
System.Data.OleDb.OleDbException: Unspecified error
Now I know it has something or other to do with permissions. And Have been messing around with every option I can find but still it doesn't want to access it.
Another strage thing it is doing, is I have a number of different .jpgs for the different webforms. And because when I upload it to my webhost it doesn't recognise the file path c:\webapplication....etc etc I simply store all the .jpgs in the root folders and just access it by Image1.jpg instead of having a path name. Right now one of my webforms beckground is blank, if I change it to Image4.Jpg it shows up, if I change it back to Image5.jpg it goes blank again, despite both files being in the root folder.
Any help would be appreciated.
|
|
|
|
|
It's ok I found and fixed the problem. For reference the problem was....
In the .NET Framework 1.0, ASP.NET applications use the TEMP folder that is designated by the environment variables to store temporary files. In .NET Framework 1.1, ASP.NET applications use the profile folder for the local ASPNET account to write temporary files. This profile folder is C:\Documents and Settings\ServerName\ASPNET\TEMP. The ASPNET account has permissions to write to this folder.
|
|
|
|
|
Hi all
I already posted something similar but i ll be morz accurate now. I want to download a file from my web server from a remote computer. I heard it might possible to use a hyperlink and then to do a right click + Save As so the user can chose the directory where he wants to save the file. But i don t know how to do that so i ask if someone can help me with my prob.
Thx a lot
|
|
|
|
|
just point the href of your hyperlink to the document on your server's file system.
|
|
|
|
|
thx for your answer m8
|
|
|
|
|
hi all
how can i use multiple configuration file
that is one web config file and some other files with .config extention and also how to refer the keys
thanx in advance
coolsweety
|
|
|
|
|
|
|
hello sir,
thanx,
i used the same code from code project. if i gave the file name directly, then am getting one exception. and if i gave file name in with relative path it wont give any exception but didnt get any value. the code is shown below.
settings.config
appSettings
add key="Setting1" value="This is Setting 1 from ettings.config" add key="Setting2" value="This is Setting 2 from settings.config"
add key="ConnectionString" value="ConnectString from settings.confg"
appSettings
and web.config is
appSettings file="//Settings.config"
appSettings
and in cs file
string ConfigAttributeValue = ConfigurationManager.AppSettings["ConnectionString"];
Response.Write(ConfigAttributeValue);
exception i ma getting is
The root element must match the name of the section referencing the file, 'appSettings' (c:\inetpub\wwwroot\referexternalfiles\secondtestfileext\Settings.config
am using framework2 and vs2005
can u help me to get rid off this problem
coolsweety
-- modified at 0:37 Tuesday 25th April, 2006
|
|
|
|