Web Forms :: Put $ Sign In Textbox
Jan 11, 2011i 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 Repliesi 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 RepliesI am writing value to a textbox from handler(ashx) file. But the problem is that when the value contains double quote or single quote the textbox only shows the value before that quote and omits the the string after that quote.
For eg Value is: Hi "there
The textbox shows: Hi
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 RepliesI have a querystring created that contains + character. This is not a space character but an actual + sign in an encrypted string. Below is one example...
[Code]....
My code when reads above QS, I am losing + character in it if I use URLDecode. If I remove URLDecode, and just read as Querystring method, I lose the '=' character... and it gets replaced by %3d or like charcters...
What I am looking for is to save above QS in a variable... the way it is.. PAXGR52H8SS4bSWTn+HyZg==
How can I save QS as is in a variable?
I have this tutorial on Single Sign On with forms authentication.The following link:
[URL]
I did item number 1 which is "SSO for parent and child application in the virtual sub-directory" and it works fine BUT I can't seem to stay logged in because each time I leave and reenter the application I get redirected to the login page.
Is this an inherent feature of forms authentication?
What happened to authorized cookie generated by forms authentication?
While waiting for responses, I will look for answers.
I have a table in which I have the box amount.How would the table have been added to the + sign.- 10.00 OK, it works.+10.00 - The signs "+" indicatesShows only 10.00 - I do not want to.I would like to table the recorded information +10.00
View 4 RepliesI've had no problems implementing CAS however I have hit an issue with its timeout. It appears my Uni has the timeout set to about 15 minutes. Some forms (specifically ones for our HR department) take a lot longer than 15 minutes to fill out. The result being that when they click the Save/Submit/whatever button, CAS refreshes its login, sends them back to the same page, and resets the page to default (since it's essentially reaccessing it).
Is there any easy way to force my SSO to refresh at set intervals? I tried to use another page (embedded in an iframe that I added to all .Master pages) whose page load contained:
[Code]....
I am going to create application, in that application, i need feature of single sign on application.if i am login with 1 application, i suppose to login with others application.ex. if i login in gmail, then i automatically login with You Tube...
View 1 RepliesHow can i use single sign on.. Am having vs2012. I downloaded identity and access control. And I created an application for local sts... all the other options are asking money for getting space in cloud. Need creating an application other than local sts as i need to implement it for two different domains..
View 1 RepliesI'm currently doing sign up page where customer can sign up to use my website.however, when they type username, they will prompt that username is taken.how to check in database if the username is already been taken? i got 2 sign up page. 1st page is where the customer type their username, and password.2nd page is where they type thier personal particulars and then it will store in database..
below are my codes fot my 1st page
protected void btnNext_Click(object sender, EventArgs e)Â {Â
if (!Page.IsValid)Â {Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â
return;Â Â Â Â Â Â Â Â Â Â Â
}Â Session["username"] = tbNewId.Text;Â Â
Session["password"] = tbConfirmPassword.Text;Â
Response.Redirect("~/SignUp2.aspx");Â Â Â Â Â }
this is my codes for second page
protected void btnNext_Click(object sender, EventArgs e) {
SqlConnection con = new SqlConnection();
con.ConnectionString = ConfigurationManager.ConnectionStrings["Connection"].ConnectionString;
String sql = "Insert into Customer (Name, Phone, Email, Address, Username, Password) ";
sql = sql + "Values (@Name, @Phone, @Email, @Address, @Username, @Password)";
[code]....
I created a website, i create a Login panel in "Homepage(default.aspx)" using CSS & Serverside control(ASP.NET, C#), my question is when user login into my website, the default.aspx(homepage) login will be disable or hide. is there any way to do this? i used DIV tags to make a panel. do i use PANEL control to group the login panel?
View 4 RepliesThe users add their birthdate when they sign up on the page. So now I need to view their age on their profile. But when I get this error
Object reference not set to an instance of an object. on this line: if (DateTime.TryParse(birthdate.ToString(), dk, DateTimeStyles.None, out birthday))
[Code]....
IÂ am trying to login with third party Authencation to my site (c#4.0 ). have visited [URL] ....
But after authentication it will redirect me to: [URL] .... and gives error resource cannot be found.
Instead of my default page page  [URL] .....
I have downloaded and added all the ddl have done all setting in web.config accordingly.
I have visited [URL] .... but unable to solve ...
Asp.net 2 or 4.0
We have a controlled list of the users (It s an Extranet solutions for our collaborators)
We need to develop some new web pages (not all) some of which require the user accessing the web page to fill out some form and sign it using his digital signature/certificate. Each customer has their own certificate which he has on his computer (either as a local desktop file or the certificate may be probably integrated into the browser certificates via browser advanced options).
In other words:
1- Allow a client visiting some of the web pages to digitally sign the form before submitting it to our web server (the signature is his specific certificate)
2- Send either the form and the certificate or the html encrypted with his certificate to the web server
3- Read and identify the certificate on the web server (C# code)
In my project we are implementing Single Sign On functionality. The domain credentials will be received through the SAML file and we have to consume/Parse SAML response sent by SSO page using .Net. How to do this ?.Net 4.5 provides some classes to support SAML Response/token.
View 1 RepliesI am using TreeView Control in Asp.net. I have placed this control inside a panel. The tree control is completely binded (we don't want populate on demand) with an Xmldatasource during a callback and then I call Panel.renderControl to return the response (HTML) to the client side callback handler. Problem: 1. The tree expand/collapse (on click of plus sign) is causing postback whereas when I normally bind a tree with xml during postback and without using renderControl of container control, the expand/collapse (on click of plus sign) is being handled at client side. I want to stop this postback and allow tree node to call javascript to toggle nodes as it does when tree is binded and renderd in case of normal page life cycle.(when render control function is not used)
View 1 RepliesI 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?
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 Repliesbut 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.
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 RepliesI'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;
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 Replies1. 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 RepliesI 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.
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]...