Best tool - Show source codes - Web
What is the best tool for showing source codes on the Web ? with Syntax highlighting , in color - Line-Numbers Asp.Net ...
What is the best tool for showing source codes on the Web ? with Syntax highlighting , in color - Line-Numbers Asp.Net ...
I have a meeting time starts from 6.00 AM to 9.00 PM in drop down with drop down value storing as 1 to 6.00 AM and 2 to 6.30 AM...... till 9.00 PM .I have kept drop down value as number since it is difficult to play with AM and PM so in database it stores as number. It has from time and to time 2 drop down... I donot want to have overlap...
I'm digitally signing a XML document and verifying it on 2 different machines (Sign it at one machine and verifying on another). I'm doing the following to verify the XML DSIG in CSharp.Net. public static Boolean VerifyXml(XmlDocument document) { document.PreserveWhitespace = true; // Create a ne...
After doing a project with WPF and getting very much attached to it's excellent databinding capabilities, I have now moved back to ASP.Net and am starting to miss some of WPF's stuff. My question is...is there anything similar to WPF's ValueConverters for ASP.Net? For example, I want a UserControl to expose a public property which is a...
I was just told that I might have to work on a project where i will be working with ASP.NET 3.5 and C#. Someone in our team said that we should change all the pages to HTML when we publish the site. So instead of having www.test.com/Page.aspx we will have www.test.com/Page.html So what i would like to know is: A.) How can this be done ...
I have to inherit an ASP.NET 1.1 website of company. The website's still running smoothly. I get a copy of it and then convert it to ASP.NET 2.0, and ... Visual Studio 2008 shows errors: Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific par...
Hi, I've a asp.net web solution which references a web service from another web site (also in our development environment). I want to know if I need to change the address of the web service (from production server) when deploying to production and how or if it is not necessary to make any changes? ...
Hi I'm using IIS 7.5 on Windows 7 RC. I use the IIS Url Rewrite module to rewrite URLs. Everything seems to work fine, until I perform a postback by clicking a button. It then appends the querystring params to my rewritten URL, like this: Rewritten URL, as it appears in the browser: http://localhost/en/product/1239/Gary+Fisher+Hkek+Mo...
i am adding more than one link button during runtime but they all have the same name. so how can i differentiate between their events because i want everyone to have a different parameter or variable. this is my code: while(drr.Read()) { LinkButton lb = new LinkButton(); lb.Click += new EventH...
Hi there, I have an image uploader and cropper which creates thumbnails and I occasionally get an Out Of Memory exception on the following line: Dim bm As Bitmap = System.Drawing.Image.FromFile(imageFile) The occurance of the error is tiny and very rare, but I always like to know what might be causing it. The imageFile variable is ju...
Is it possible to get design mode to work for templated user controls? I have tried following the How to: Create Templated ASP.NET User Controls on MSDN, and also tried the various tips at the bottom of page for version 2.0 of the framework, but alas, I still get the dreaded "Error creating user control" error, when switching to design v...
Hi there, Actually, I am developing a website using ASP.Net MVC 3.5. I have a method in the Home controller which returns a partial view when called. The issue is when I am calling the controller method using jQuery, the Not Found (404.0) errors comes. All this happens when the application is deployed on ISS 7. It works fine during deve...
Hi , I am using the below code. OpenIdRelyingParty createRelyingParty() { OpenIdRelyingParty openid = new OpenIdRelyingParty(); int minsha, maxsha, minversion; if (int.TryParse(Request.QueryString["minsha"], out minsha)) { openid.Settings.MinimumHashBitLength = minsha; } if (int.TryParse(Request.QueryStr...
I have a asp.net textbox(textarea which is in a repeater have single texarea for each record which are read only) I have button (open in new window) when i click on it the content of the text area needs to be rendered in a new window using javascript . similar to experts exchange. ...
How to give a combined header name for 2 columns in a datagrid in ASP.NET 2.0 with 2 column sub heading values. ...
I know there is a very similar question here but I was hoping to get a better explination. Why would I ever use HttpContext.Cache instead of HttpRuntime.Cache if the HttpContext really uses the HttpRuntime.Cache behind the scenes? In the article Simulate a Windows Service using ASP.NET to run scheduled jobs Omar uses the HttpContext to ...
I’m using Heather Solomon’s minimal publishing master page, I’ve got a simple feature with an apsx page and a code behind file that does this public class SSInformPage : Page { protected Literal Literal1; protected override void OnLoad(EventArgs e) { //base.OnLoad(e); try { ...
How can I get a rounded rectangle graphic to span across all columns within an ASP.NET GridView header row ? I currently have created a rounded rectangular graphic and have used CSS to add it to the gridview header background as such:- .datagrid th { background-image: url('../images/rounded_graphic.jpg'); } ... but this just disp...
I have the following regular expression in a asp.net email test box: ([a-zA-Z0-9_\-\.]+)\@((base\.co\.uk)|(base\.com)|(group\.com)|(arg\.co\.uk)|(arggroup\.com)) This regular expression only works for [email protected] [email protected] [email protected] It's not working for: [email protected] [email protected] Please help me ...
I have an input control on a page like this: <input type="button" causesvalidation="false" runat="server" id="resetButton" value="Iptal" onclick='return resetForm("<%=projectValidationSummary.ClientID%>");' /> when it is rendered <input name="ctl00$ContentPlaceHolder1$EditForm$resetButton" ...