|
You can embed the youtube video with the following code:
<object width="320" height="180">
<param name="movie" value="http://www.youtube.com/v/9bZkp7q19f0&hl=en_GB&fs=1&"></param>
<param name="allowFullScreen" value="true"></param>
<param name="allowscriptaccess" value="always"></param>
<embed src="http://www.youtube.com/v/9bZkp7q19f0&hl=en_GB&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="320" height="180" wmode="transparent"></embed></object>
|
|
|
|
|
|
I need to be able to take items no longer avaalble or renamed and issue a page 410 error.
The page is dynamic, a single page that uses query strings to load the item.
So I double check to make sure the item exists, and if not, draw a panel that give the user a message, but I want to send a message to the crawler saying the same thing.
I'm looking for suggestions or tips, but so far I have the code below, but I think it needs improvement.
HttpContext.Current.Response.TrySkipIisCustomErrors = True
HttpContext.Current.Response.StatusCode = 410
HttpContext.Current.Response.StatusDescription = "Product item does not exist or has been moved or renamed"
HttpContext.Current.Response.Write(HttpContext.Current.Response.StatusCode)
HttpContext.Current.Response.Write(HttpContext.Current.Response.StatusDescription)
Me.Page.Header.Title = rm.GetString("Page Error 410 - This item is no longer available and has been removed or relisted")
|
|
|
|
|
Hello,
How we can change our complete dynamic asp.net website in to simple HTML?
Just we made new website in asp.net but now want to change complete website in html. Any way how we can change?
|
|
|
|
|
You are using ASP because you must need some server side scripting in your application. How can you expect to convert it to HTML. How will the server-side scripting logic be translated to HTML and still keep working.
Twenty years from now you will be more disappointed by the things that you didn't do than by the ones you did do. So throw off the bowlines. Sail away from the safe harbor. Catch the trade winds in your sails. Explore, Dream. Discover.
|
|
|
|
|
It is not possible to change a dynamic website into a static one, i assume you chose asp because you have some server side code that you want to execute but if you are talking about changing your asp.net controls to simple html controls i would tell you that all asp controls are eventually rendered as html on the client side so there is really no point in changing it.
|
|
|
|
|
I see many asp.net websites with all HTML file extensions.
Perhaps this is what you want to do?
|
|
|
|
|
You're a team leader and this is beyond you? Resign immediately!
Actually, I have a feeling that you just have not posed your question well (another reason to resign).
Do you, perchance, mean that you wish to recreate an ASP web site into an HTML5y website, using CSS, JavaScript and other library goodies (jquery, etc) to drive the dynamic parts of the site?
If that's not what you mean, what do you mean? As the other posters have already stated, if the site is dynamic you can't just remake in HTML as that will only support a static (unchanging) website.
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
Those who seek perfection will only find imperfection
nils illegitimus carborundum
me, me, me
me, in pictures
|
|
|
|
|
Thanks for the reply @ Mr. Mark. First for your kind information I'm team leader in Online Marketing, here i am helping to some other peoples who is getting problem in development. but I'm not a developer guy. Let me know which developers are master in codes. Every developers getting a code with these all type of good website. OK! Also you are a not good coder. If you are good developers, so you never joined this type of forums for discussion. You can't make website as well as software with help of other guys.
|
|
|
|
|
I have absolutely no idea what you are trying to say. I mean, it looks like you are trying to insult me but I just can't be sure. Whatever.
If you don't know what you are talking about, get someone to post a question who has a clue.
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
Those who seek perfection will only find imperfection
nils illegitimus carborundum
me, me, me
me, in pictures
|
|
|
|
|
That was funny!
OP can't be serious. It seems more like an attempt at trolling.
"I had the right to remain silent, but I didn't have the ability!"
Ron White, Comedian
|
|
|
|
|
Manfred R. Bihy wrote: It seems more like an attempt at trolling.
Pretty poor attempt!
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
Those who seek perfection will only find imperfection
nils illegitimus carborundum
me, me, me
me, in pictures
|
|
|
|
|
And most of it unintelligible.
"I had the right to remain silent, but I didn't have the ability!"
Ron White, Comedian
|
|
|
|
|
First, replace all of your
<asp:... tags with equivalent html tags.
Then use some other framework or plain CGI to handle your server-side submits.
If you form does no postbacks to submit data, then you can do away with the form and just present static HTML pages.
|
|
|
|
|
|
how do I create a pop up window in ASPX.CS?
For situations out of my control. The pop up window, is the fastest way I can debug the app I have online.
I tried this:
Help.ShowPopup(this, "Testing ...", new Point(100, 100));
and it threw an error. I believe it was a "500 Error". What am I doing wrong? Since I am unable to comple and step through the code, it is difficult to find out and it ie especially complicatated because the vehicle i intent do tuse to debug is what is crashnig.
|
|
|
|
|
When you say popup i assume you mean a message box or an alert, well there is actually no way you can do that from the server(Unless you call the script from the server) side, the only way is for you to use javascript.
I would advise you use jquery than the regular javascript alert.
And also the popup won't work if javascript is disabled in the browser so if it's just messages you want to display i would advise you use labels.
|
|
|
|
|
you cannot create a popup window directly in the aspx.cs file, unless you use the "ClientScript" register the "javascript" code.
|
|
|
|
|
Hello All,
How we can get complete data form Data base in VB.net also i want to insert our database in my email but not as a attachment. Please let me know?
Thanks in Advance.
|
|
|
|
|
David Kroj wrote: How we can get complete data form Data base in VB.net Use the SELECT command to read all data from each table.
David Kroj wrote: i want to insert our database in my email but not as a attachment. Sorry, that makes no sense.
Use the best guess
|
|
|
|
|
You can try to generate the script of your DB along wid data ... I hope that could fulfill your need.
|
|
|
|
|
1. You are responding to the wrong person.
2. Your suggestion does not make a lot of sense.
Use the best guess
|
|
|
|
|
|
I mean: why are you responding to me, and how does your response answer the original question?
Use the best guess
|
|
|
|
|
So this is the only reason to downvote that??? WOW....
I just answered as per my understanding of the question... and if it is not fine than you should clear me by guiding.. not by doing this.. anyway thanks for welcoming me over this forum as being the Senior....
|
|
|
|