Plus Sign '+' Is Skipped Doesn't Appear?
May 20, 2010
1. The plus sign '+' is skipped (doesn't appear) when I submit the content.2. When I copy -for example- a code from Visual Studio and paste it in the editor, the spaces are skipped.I want the code to be displayed exactly as it is in Visual Studio.
View 4 Replies
Similar Messages:
Mar 7, 2010
I have the following code. What's happening is, on postback, the required attribute for sequence will fire. If it passed, the range check is skipped completely. If it fails, it never gets to the range check either. Have I coded something wrong?
using System.ComponentModel.DataAnnotations;namespace Venue.Models{ [MetadataType(typeof(CategoryMetadata))] public partial class Category { } public class CategoryMetadata { [Required(ErrorMessageResourceType = typeof(Resources.Locale), ErrorMessageResourceName = "sequence_required")] [Range(0, 9999, ErrorMessageResourceType = typeof(Resources.Locale), ErrorMessageResourceName = "sequence_invalid")] public int Sequence { get; set; } [Required(ErrorMessageResourceType = typeof(Resources.Locale), ErrorMessageResourceName = "title_required")] [StringLength(256, ErrorMessageResourceType = typeof(Resources.Locale), ErrorMessageResourceName = "title_invalid")] public string Title { get; set; } }}
View 6 Replies
Mar 22, 2010
In my project when i click any button or linkbutton, it doesnt fire any event or doesnt postback.
It was working fine but now it hv problem like this.
I think i have changed some settings by mistake.
View 5 Replies
Jul 23, 2010
I debugged my code and it sets the visible to true and it doesn't show up in view/source either. PnlError is the one not displaying...
[Code]....
View 8 Replies
Jan 15, 2010
I create a fake link for SEO friendly purpose, for exampl:
If I have a link like this:
http://localhost:1846/mycompany/codesByBook/C#_beginner_1001.aspx in an <a></a> tag.
and if I use:
[Code]....
the value is: http://localhost:1846/mycompany/codesByBook/C (rest of the string:#_beginner_1001.aspx is cut off),
So the problem is the # sign, can you let me know how to keep the # sign so the Request.Url.ToString() get the full path?
View 2 Replies
Mar 15, 2011
I'm trying to make a website that can sign into other websites for the users, and grab certain information. For example: a web based game forum that automatically pulls your game statistics. My website would have to navigate to the game url, fill in the user name and password, sign in, then read the html once signed in (this is the easy part, for which I would simply use the HTML agility pack or something similar). Is this sign in process possible with asp.net?
View 6 Replies
Jan 6, 2010
but I'm looking for a hack or way to put a + in a folder name, like
http://www.mysite.com/cats+dogs/Default.aspx
I'm using IIS 7, and have tried creating a virtual directory to achieve this, and it didn't work. I am not allowed to put %2B in the explorer folder or virtual folder name.
how I could hack this to make it work? We've already had brochures printed up with a url on it, and wondering if there is some way I can alias it or some trick that might do it.
EDIT: I was able to figure this out, by creating a virtual folder with a + in it, then redirecting to a URL, which points to a virtual directory with the content.
View 3 Replies
Mar 5, 2010
I have a asp.net web application and one asp appliation which are hosted on different places.now i will login to asp application. within that asp application i have a link which will open the asp.net applicaitno home page in pop up window without need of sign in again along with full security.
View 2 Replies
Mar 25, 2011
I'm using this:
savetype=dirty&dirtytype=row&row=3&rv=100,93,60,100,78,80,89,85,60,100,100,X,X,22.5,80,60,82,80,100, 94,93,40,100,85,80,16,80,90,100,100,80,100,80,90,100,87,100,87,80,95,100,108.5,116,109.5,X,83,85,84, 100,100,96,X,70,80,X,80,30,20,75,29,33,50,80,80,100,29,25,36,14,50,95,80,95,100,119.5,100,100,85,65, 65,90,75,89,100,93,100,60,50,70,80,80&MP=3&Avg=C+ (78.21%)&FinalAvg=B- (81.66%)&jGuid=4f927982e9e3481e822ef69f38d0cbb7
But that C+ is turning intoRequest.Form(5)"C (78.21%)"StringAt this point in the JS it's still C+ in the postdata vbl
Code:
case "savegrid":
xmlhttp.onreadystatechange = state_savegrid;
xmlhttp.open("POST", url, true);
xmlhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
xmlhttp.send(postdata);
break;
View 5 Replies
Jan 4, 2011
I have a question, when I compiled my asp.net c# web application and transfer the ".dll" file to my hosting server which is godaddy. What happened was, all my users that used to show "online" all appears offline at once. I query db to get that online status of a column called "LastActivity" I guess, when that happens, I would like to sign out everyone so that they can relogin? How can I do that? I'm using form authentication.
View 3 Replies
Jan 11, 2011
i want to put $ sign in textbox, and when some one enter some value the that sign should keep visible. See the picture below for details [URL]
View 4 Replies
Nov 5, 2010
I have such a text for example:
"A01+B02+C03+D04+E05+F06+G07+H08+I09+J10+K11+L12+M13+N14+O15+P16"
I would like to add a space after each fourth '+' sign.
This is because if the text is too long in the grid's cell in my page, then it's simply cut off. So I'm thinking to simply wrap the string before binding the data to the grid.
I've played around with several string methods, like getting the IndexOf and the adding a space with Insert, or using a StringBuilder to make a completely new string out of the original one, but I just can't get the final solution running.
View 7 Replies
Aug 30, 2010
I have basic Single Sign-On working across 2 MVC sites (call them SiteA and SiteB) using something along the lines of the following method:http://forums.asp.net/p/1023838/2614630.aspxThey are on sub-domains of the same domain and share hashencryption keys etc in web.config. I've modified the cookie so it is accessible to all Sites on the same domain. All of this seems to be working ok.The sites are on separate servers without access to the same SQL database, so only SiteA actually holds the user login details. SiteB has a membership database, but with empty users.This works fine for my required scenario which is:1) User logs into SiteA2) The application loads data from SiteA (by AJAX) and SiteB (by AJAX using JSONP)I have the following LogOn Action on my AccountController for SiteA, which is where the "magic" happens:
[HttpPost]
public ActionResult LogOn(LogOnModel model, string returnUrl)
{
[code]...
View 2 Replies
Jan 24, 2011
we are trying to digitally sign pdf on a browser probably using js. the only good link i could find is this [URL] have you found the answer to this problem ? did you successed in that task.
View 2 Replies
Mar 16, 2011
We have a file in sharepoint with a £ sign as part of the url.When we try to retrieve this file we get a bad request.Interesting thing is that this is only a problem in production not in test.Anyone know what setting could be causing this difference?
View 1 Replies
Jan 15, 2010
we have developed a ASP.NET application that required a username and password to login and use the application.Now on of our customers wants to use Single Sign on with their Microsoft Sharepoint Portal.
Basically they want their users to be able to login to the portal, and then be able to access our application, without having to provide their login details again.Does anyone have experience with implementing Single Sign on?
View 4 Replies
May 30, 2010
I have used membership provider to implement my system. The system administrator can list the users. What I want to do is, administrator should be able to sign-in as the selected user. I can sign out administrator by FormsAuthentication.Signout but how can I sign in as the selected user? Passwords are hashed so I can not retrieve the passwords.
View 3 Replies
Sep 27, 2010
I need to create an ASP.NET application, which will send a message to be shown to an LCD TV.
This TV will work as a digital sign.
Can VS.NET communicate directly to a TV?
how I could do this?
View 1 Replies
Oct 13, 2010
I have a web app located at [URL] and I have several domains, such as [URL], [URL], etc. all pointing to the same directory in IIS. I use Host Headers to acheive this by setting the 'Host Header Values' under properties for the main site (under the Web site identification section). Based on the host header value I perform different functions in my pages.
Because of the way I have it set up, all the domains share the same files, web.config, etc. I have set the 'machinekey' in my web.config and have forms authemtication. However, when I go to MyMainSite.com and log in and then the user clicks a link and gets directed to MyFirstSite.com the user is shown as logged out. I need the user to be logged in and I need to be able to access the logged in user profile to display certain information. I thought by setting the 'machinekey', i could acheive this, but it does not seem to work.
how to go about having a single log on for my users?
The articles I have found show the same domain or have different domains each with a different web.config. The way they describe does not seem to work for me.
View 1 Replies
Sep 2, 2010
Whats the best way to digitally sign a file server side with .Net before offering it for download via an asp.net based web site
In addition how do I trigger checking of the signature and hence prove the file has not been tmapered with during the download process in a web browser
View 3 Replies
Mar 22, 2011
I am having a problem in creating my own login and signup page without using the login control of ASP.net. And I want to create them by applying with Jquery. So is there any solution for it.
View 1 Replies
May 4, 2010
How to implement Single sign on in asp.net web application.
Give me to full tutorial. How to implement this in two apps.
View 3 Replies
Feb 23, 2010
I have a textbox which accept the quantity of any material ,it could be in decimal also,my problem is how to prevent sign such as +,_ before quantity numbers ,like -2 or -2.5.
View 3 Replies
Apr 18, 2010
What is the easiest way to manipulate the built in LoginView and membership handlers so that users of a website can sign up with just their email (entered twice) and a password (entered twice)? The default is asking the user for a username, the email (just once) and the password (twice). How can this be tweaked, including adjusting the in-built aspnetUser table in the database?
View 4 Replies
Feb 16, 2011
m using visual studio 2008.my requirement is to implement single sign on across many domains without using cookies. is this possible?for example, i have 3 domains (hosted in 3 different systems).[URL]i implemented single sign on with cookies, if the sites are hosted in single system then it is working. but it doesnt work if cookies are disabled.i tried all made all possible google searches, but couldnt find anything useful.
View 2 Replies