|
Add a hyperlink rather than a label. What problems are you encountering? What don't you understand?
Also, you should not be using the FONT element. Use CSS.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Hi thanks for your reply.
Actually i can display the path of the file in my page. since im using a repeater over here i wanna show the path of the file as a hyper link and when user clicks on the path the file should get downloaded.. im struggling at this point.. Any help is appreciated..
Thanx in advance,
Tash
|
|
|
|
|
Hello,
i have multiple files on server. I want to Copy all files on Client Machine at once time.
Now i am just using this code
Response.Write("<script type=\"text/javascript\">window.open('download.aspx?f=" + path + "');</script>");
Its Save the file one by one on client machine and ask every time for save.
But i want to save all files at once save click, ya copy all files in Client Machine at once
Regards
Raushan Kumar
|
|
|
|
|
hello all..
I want to ask for help..
about making simple chatting.. with filter word..
any suggest or turtorial maybe?
just simple chatting like facebook, maybe desktop not online..
thx b4..
|
|
|
|
|
if you go to BCC news website or any other website you'll see the usrl is referring to a file like this:
http://www.bbc.co.uk/news/world-middle-east-11661496
not to a database like this:
http://www.bbc.co.uk/news.aspx?id=9999999
so what's the best way to save news website? how do they do it? i don't think it's just physical files because maintaining it would be very very difficult..
can anyone explain to me please....
|
|
|
|
|
jrahma wrote: http://www.bbc.co.uk/news/world-middle-east-11661496
The above url that you are talking about, It is not the linked to the direct page. They must have used some routing mechanism or URL rewriting kind of thing. So user clicks the news link it is redirected to the appropriate page wit the help of mechanism implemented.
jrahma wrote: so what's the best way to save news website? how do they do it? i don't think it's just physical files because maintaining it would be very very difficult..
I didn't get your question.
Do you want save the links of the news. So for a user point of view, both the links are same, whether the routed url or querystring one.
|
|
|
|
|
I have a timer which displays the current time within an asp:UpdatePanel This part is working fine..
I have another asp:UpdatePanel on the same page with two TextBoxs for login purpose.
The problem when the timer is running and I try to put the cursor in one of the two boxes in the UpdatePagel of the loging area it just stays there for seconds and then lose the focus! why is that?
these are the panels:
<dxt:ASPxTimer ID="timerClock" runat="server" Interval="1000" OnTick="timerClock_Tick" />
<asp:UpdatePanel runat="server" UpdateMode="Always">
<Triggers>
<asp:AsyncPostBackTrigger ControlID="timerClock" />
</Triggers>
<ContentTemplate>
<asp:Table runat="server" Width="120" BorderWidth="0" CellPadding="0" CellSpacing="0">
<asp:TableRow>
<asp:TableCell HorizontalAlign="Center" VerticalAlign="Middle"><dxe:ASPxImage ID="imageFlag" runat="server" ImageUrl="~/images/flags/ar-BH.gif" /></asp:TableCell>
<asp:TableCell HorizontalAlign="Center" VerticalAlign="Middle" Width="100%"><dxe:ASPxLabel ID="lblCurrentTime" runat="server" Font-Bold="true" Text="Loading.." /></asp:TableCell>
</asp:TableRow>
</asp:Table>
</ContentTemplate>
</asp:UpdatePanel>
<asp:UpdatePanel runat="server">
<ContentTemplate>
<asp:Table ID="Table1" runat="server" CellPadding="2" CellSpacing="2">
<asp:TableRow><asp:TableCell>Email Address:</asp:TableCell></asp:TableRow>
<asp:TableRow><asp:TableCell><dxe:ASPxTextBox ID="txtLoginEmail" runat="server" Width="160px" /></asp:TableCell></asp:TableRow>
<asp:TableRow><asp:TableCell>Password:</asp:TableCell></asp:TableRow>
<asp:TableRow><asp:TableCell><dxe:ASPxTextBox ID="txtLoginPassword" runat="server" Width="160px" /></asp:TableCell></asp:TableRow>
<asp:TableRow><asp:TableCell HorizontalAlign="Center"><asp:Button ID="btnLogin" runat="server" Text="Login" Width="100px" /></asp:TableCell></asp:TableRow>
</asp:Table>
</ContentTemplate>
</asp:UpdatePanel>
|
|
|
|
|
What is the easiest way to achieve that?
Do I have to create an API for my website?
Any references please send them.
Thanks
|
|
|
|
|
Hello
what does this error mean?
"500-inernal server error .
There is a problem with the resource you are looking for, and it cannot be displayed."
This project has been written with visual studio .net 2010 and the database is ms sql server 2008.
Every few times I am faced with this error.
Can anyone help me to solve this error ?
Thanks
Davood
D.riazi
|
|
|
|
|
The 500 message you posted is pretty much the server equivalent of "Exception", in that it means "something" has gone wrong the processing the request and the error is on the server side (as opposed to a bad call from the client). It could be one of 1000s of things, can you post a stack trace or log message as the error you supplied doesn't narrow things down very much.
|
|
|
|
|
See, this error is returned from the web server. The Web server encountered an unexpected condition that prevented it from fulfilling the request by the client
This error itself doesn't describe about the error. You need to see the IIS logs to find more details about the error.
So see the logs which might help you to find the exact issue.
|
|
|
|
|
hi
how to print a mobile web page that run at mobile device such as pda or smart phone?
thabks a lot
|
|
|
|
|
hiii to all
any one can tell step by step how to upload data base like Ms Access and Sql Server
rizvan sivally
|
|
|
|
|
Upload a database?? What do you mean by that???
Cheers,
Karthik
|
|
|
|
|
to upload a MS Access to the server for particular website by that we can store and edit our record on the web as we do in our local system
rizvan sivally
|
|
|
|
|
Check out this tutorial. It might be of help to you.
http://www.aspfree.com/c/a/Microsoft-Access/Connecting-to-a-Microsoft-Access-database-with-ASPNET/1/[^]
In this case the poster uses a local MS Access database. So in your case, you could have your .mdb in your server and then use Server.MapPath to get the full physical path. But be careful to secure your database file (w/ a password or some other mechanism), because in such an implementation, its accessibility will be wide open. If there is an option to use MS SQL, you could always choose that.
Cheers,
Karthik
|
|
|
|
|
i waht to know what is WCF and how to learn it
Thanks
|
|
|
|
|
WCF Tutorials[^]
As barmey as a sack of badgers
Dude, if I knew what I was doing in life, I'd be rich, retired, dating a supermodel and laughing at the rest of you from the sidelines.
|
|
|
|
|
Is it difficult to find it out in google; the tutorial site and the books?
IMO, getting a book and reading it from scratch should help you more.
Well, wrong forum.
CodeProject has got a separate forum for WCF:
WCF Forum in Code Project[^]
|
|
|
|
|
I am trying to remove address bar of browser from javascript. I am writing the following code
window.open('newWindow.aspx', 'new', 'width=' + width + ', height=' + height + ', toolbar=no,location=0, left=' + left + ',top=' + top + 'screenX=' + left + ',screenY=' + top + ', directories=no, menubar=no,scrollbars=no,resizable=no, status=no');
please help,
Thanks in advance.
|
|
|
|
|
amitrajahuja wrote: I am trying to remove address bar of browser from javascript.
Then why haven't you asked this in the Javascript forum instead of here?
I could be wrong, and can't find a reference now, but I seem to remember reading that Microsoft had removed the ability to do this, on the grounds that users had a right to know the address of whatever page they were on (and maybe re-directed to unwittingly) - call it a security measure.
|
|
|
|
|
search on google you will find it
|
|
|
|
|
hi, just try this.
I think in new versions of IE address bar will be visible ...
var strVal = "toolbar=0,location=0, directories=0, status=0, menubar=0,scrollbars=0,resizable=0," + "width=" + width + ",height=" + height +",left=" + left + ",top=" + top
window.open("newWindow.aspx", "new", strVal);
|
|
|
|
|
Hi, i have a requirement like as below.
I need to get the current url of the browser in the code.Based on that url the logic will depends. The problem is we are doing URL rewriting in web.config.
Original URL - http://mysite.com/test/mypage.aspx
URLRewrite - http://mysite.com/site/champ
In my code if i use Request.URL i am getting URLRewrite one. But how can i get the original url in mycode ?
Please suggest me
G. Satish
modified on Friday, October 29, 2010 3:49 AM
|
|
|
|
|
Did you try
Request.QueryString ?
|
|
|
|