Web Forms :: Show Code In A Webpage?
Aug 18, 2010How can I show code on a webpage like we do here on the forums without it beeing interpreded by my asp.net or javascipt or other ...
View 3 RepliesHow can I show code on a webpage like we do here on the forums without it beeing interpreded by my asp.net or javascipt or other ...
View 3 RepliesI am working on a small project of a university.In which i have to show the code snippets of c language & their description on webpages as tutorials.How can i accomplish it in Asp.Net.
View 10 RepliesI am working on a financial portal and I am having a problem..I don;t know what to call it so i mentioned it as an 'unknown to me' problem..I have a webpage..whenever I click on any button on my webpage, the request goes through..but nothing show up on the webpage..then If I click on another link and then again come back to previous link,then only I see the results of button_click..
e.g.
I have a currency conversion and investment form..so after filling up the form in following way and if I click on "INVEST" then nothing shows up..
so now if i click on any other link and go back to 'buy currency' link I see the result as 'investment successful'
how can i read a doc file and show it on webpage like if someone upload his/her resume one can see upload resume in asp.net page like monster.com and other job portal side do.
View 2 RepliesIn my website, where majority of the users are from Norway,I access some values via querystring(eg: email address).Since the members' email ID may contain Latin letters,I am confused and blocked at this level.
My requirements are,
1, I need to access the Latin letters from query string. Is there any thing different from normal query string operations?
2, I need to store these latin Email IDs to my DB ,which is mysql.Any precaution to be taken while storing latin letters to mysql?
3, I need to show these stored email IDs in my web page.Should I use localization(which I have not used yet) for correctly displaying latin letters in webpage?
I want to move some code from code behind file to web page such as
[Code]....
My question is in the code behind file there is
[Code]....
Do I need to move these stuff into web page?
Also can I declare global variables in the web page?
I have created a webpage in Microsoft Expression using a Masterpage.
All my page' are .ASPX
So when I upload the website and try to see it, it only show the code!
It works perfect when i preview the website on my laptop
How can I open a new web page from C# code behind?
View 11 Repliesi want to show address on google map in my website..i searched more but i find third part google map dll..
i don,t want to add third party Google map DLL in my website.
I have a .swf file, which I have to display as a ticker, but the issue is this that I don't want to display it on the webpage, I want it to be floating.
View 1 RepliesI'm working on an ASP.NET (C#) web project that is using master pages.
I'm looking for an easy way to display a random customer quote each time a page is loaded.
Since this is a fairly simple web project I'd like to stay away from storing the quotes in a database. Currently there is no database connections required for the project so I'd like to keep it as simple as possible -- perhaps storing the quotes in an XML file them using an XmlTextReader to read the file?
Edit: I will need to store and pull both a quote and a customer name for the quote.
I need to do a web page to show the video of live events, I gone through the article [URL]
View 12 RepliesI want to play video / audio files on asp .net page.
client has following requirements
1) It can play all the popular formats
2) It can use installed player (if windows media player or any other) or it can run inside browser (i.e. Flash player)
I have already explored different options i.e. silverlight, Windows media services & flash player Among these three silverlight is discarded as there very few browsers having that plug in.
I'm buillding a website for my company. I would like to show the indices from Dow Jones, NASDAQ, HSI, STI and KLSE, and also our company share in DAX.
I've saw some sample that grab data from yahoo finance. But I worry that yahoo will change the page laytou eventually and my code will not function anymore.
What is the best way to do such thing? Or any websites that provide live feed? web serviecs? rss?
If not, any company that provide such service at resonable price? I've read that these companies simply charge $10k per month! is it true? but what i want is just a simple data.
I have a big query that it execute in 4 minutes. (for example an important trigger)
I want to show situation of query or count of records that is affected in every 10 second in to a web page.
what should I do? (complete explain)
am querying an Oracle database thru an ASP.NET web page, but the other day, the webpage didn't show any results after 5 minutes which normally takes about 3 secs. Then, 3 hours after, I got an email from the IT Dept asking me to kill my task which was taking a lot of ressources, but I couldn't since there is no way to send a user cancel request as I can do for instance with SQL Naviguator. So, they had to kill it for me. However, I do't want it to happen again because I don't want to overload the servers because of a query that didn't execute properly.
So, I thought about including connection timeout into my connection string, but there is already a default value. So, is it possible to avoid that kind of situation?My code contains a try {} finally {} to trap errors, but I didn't seem to work in this case.
I have a web page that when the user presses the "Go Back" button, if the formview is not in ReadOnly mode, to ask if they want to exit without saving.
I was thinking of having a pop-up window to ask this question, but I am unsure of how to do this.
I'm looking for a way to make something very similar to this http://blog.jactionscripters.com/2009/05/23/introduction-of-qr-code-reader-library/ on my asp MVC 3 project.It is a QR Code Reader,not generator.I want it to be displayed on a View and serve as an input.Could anybody point me in the right direction to do this?
View 1 RepliesI am a begineer in ASP.Net programming. After learning the basics, I tried to host a simple website in a virtual directory. But the explorer returns error mentioned in the subject. Background tools used:
Operating system - Windows XP SP 3
IIS Server - 5.1
Internet explorer - 8
Visual Studio 2010
.Net Frame Work - 4
I have tried numerous ways described in various articles including those posted in this site to get the error solved, but in vain.
i cannot remember the proper code, how to capture the output of a page in the page_load event and possible store it to file c#, asp.net
View 2 Repliesin my project i want to integrate 2-3 other websites so i got source code of other website but could not found the code for button which is on other website so how i find it if any 1.
View 4 RepliesI cannot get my controls to show in the code-behind page. There are several errors showing that they are not defined...but when I run the project, everything is fine.I just have no intellisense and have to write all of my events out.
View 3 RepliesI'm doing chart running in application using C# VS2010 to make my Chart Xaxis move.when i place my code and run it, it show nothing. so i created another program using vb.net using the same code as C# yet my vb.net code allow me to make my Chart Xaxis moving.moving mean from 1pm to 1.10pm and so on.which mean my minimum of the chart and maximum will keep moving.
[code]...
I am using the following code to ensure that the web pages in my website are not cached by the browser:
this.Response.Expires = 0;
this.Response.AppendHeader("Pragma", "no-cache");
this.Response.Cache.SetNoStore();
This is working fine & the browser displays a page with the message, "Warning. This page has expired....". Is there any way I can display a custom page instead of the default page shown by the browser?
Is it possible to place .net code inside of a .html webpage?
View 3 Replies