Web Forms :: Blocking Autocomplate Textbox On Browsers?

Aug 1, 2010

I have a bookingwith credit card page in my application and users will enter their crdit card details inside the textboxes. but after they enter them and post it the browser cache the data and after that in the same textbox, it can be autocomplated.

View 1 Replies


Similar Messages:

Web Forms :: Blocking Textbox Form Any Action?

Jul 1, 2010

i m using two grid in both gird i have a text box control on which i apply some java script funtion. my broblem is that when i press a tab key then its block my textbox. it means i m not able to press any key in that box even mouse click is not working.

my both grid in a same update panal but when i set focus out of that update panal and back to my text box they are start working properly.

i m applying a Web method on that text box also which call by javascript.3

View 2 Replies

TextBox Disabled Style Is Not Consistent In Different Browsers?

Feb 17, 2011

ASP.NET

When TextBox1.Enabled = false; it has a gray background in FF3, but no change in IE8 or Chrome. So it's harder to tell if it's disabled or not. Is there any more general way to make the disable textbox rendered more consistent on a top-level? So I don't need to change this for every page or every website?

View 2 Replies

Javascript Numeric Textbox Supported By Maximum Browsers?

May 6, 2010

i need to let the user to enter numbers only in the textboxand the code should be work in IE FF and major browsers

View 5 Replies

Social Networking :: Prevent TextBox Multiline Resize In Browsers Like Google Chrome And Mozilla Firefox

Jan 25, 2013

I have textbox in my page that I put this attribute for it TextMode="MultiLine"..here user can change width and hight of textbox with mouse..I couldn't find any attribute for textbox that din't allow users to change width and hight of textbox.

View 1 Replies

Web Forms :: Internet Explorer Blocking The Active X?

Feb 9, 2010

I created an active x dll and I am using this dll on my web page. whenever I try to run my web site and perform any action, it displays at the top

"Internet explorer has blocked this site from using ActiveX control in an unsafe manner. As a result, this page may not display correctly"

I tried to add my site in trusted sites, but trusted sites only takes the site that has https: prefix. Is their any way I can add my site to trusted sites. My security level is very low. I want to set up the security only for this site so that users can use it.

View 3 Replies

Web Forms :: How To Open Popup Window In C# Application Without Browser Silently Blocking It

Jan 4, 2011

I can't use RegisterStartupScript('window.open...), because Chrome blocks the popup without even informing the userI can't use "onclientclick=window.open(..." in the markup, because I have to invoke code in the button click event handler before opening the popup window.I can't expect every user of the website to add the site as an exception in Google Chrome's popup blocker, since they'll assume it's an error on the website and not with the popup blocker

View 5 Replies

MVC2 Application With Forms Authentication Is Blocking Access Even To Images - Styles And Scripts

Sep 15, 2010

I'm developing a MVC2 application and using Forms Authentication on it. The scripts, images and styles are all blocked to unlogged users and, consequently, the login page looks awful. It works well local, the problem is when I publish to the server. Does anyone has any idea WHY? The server IIS is version 7.5

<configuration>
<system.web>
<globalization culture="pt-BR" uiCulture="pt-BR" />
<httpRuntime requestValidationMode="2.0"/>
<customErrors mode="Off" />
<compilation debug="true" targetFramework="4.0">
<assemblies>
<add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
</assemblies>
</compilation>
<pages>
<namespaces>
<add namespace="System.Web.Mvc" />
<add namespace="System.Web.Mvc.Ajax" />
<add namespace="System.Web.Mvc.Html" />
<add namespace="System.Web.Routing" />
<add namespace="Admin.Models" />
</namespaces>
</pages>
<authentication mode="Forms">
<forms name="AGAuth" loginUrl="~/Home/Login" timeout="120" />
</authentication>
</system.web>
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<modules runAllManagedModulesForAllRequests="true"/>
</system.webServer>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0" newVersion="2.0.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
<connectionStrings>
<add name="DBContainer" connectionString="metadata=res://*/Database.DB.csdl|res://*/Database.DB.ssdl|res://*/Database.DB.msl;provider=System.Data.SqlClient;provider connection string="Data Source=thewebserver.com,5158;Initial Catalog=thedatabase;Persist Security Info=True;User ID=theuser;Password=thepassword;MultipleActiveResultSets=True"" providerName="System.Data.EntityClient" />
</connectionStrings>
</configuration>

View 9 Replies

Forms Data Controls :: Details View - Blocking Multiple Clicks When Updating?

Mar 12, 2010

I have a problem that is driving me insane. I have a simple detailsview that operates as you would expect a detailsview to do - the only difference being that in the updated event I send an email to various people to advise of detail changes (I have conditional testing to do this).

The problem is that if the user goes crazy with left clicking the update button, email recipients can receive multiple duplicate emails.

I have looked all over the net and seen many varied solutions for this problem - mainly using javascript - but none of them seem to be able to block multiple clicks without disabling or hiding the update button - which obviously causes issues with client side validation in the event that information is missing or incorrect.

View 4 Replies

C# - Blocking Users By IP Address?

Mar 23, 2011

I need a way to block users from their IP if necessary. What's the best way to approach this? Can I use Request.ServerVariables["REMOTE_ADDR"] and store the ip address as a string in the DB?

View 3 Replies

Security :: Blocking Access To Files From URL

Jun 15, 2010

I have built an online CMS that is forms authenticated. The CMS allows administrators to upload files to the website. These files are stored outside of the Forms Authenticated section of the site so that they can be accessed from another site I have built. This other site is also forms authenticated, so users must log in and then they can access the files on the CMS site. site1.com: CMS for administrators only. Site stores all the files. site2.com: Access site.

My second website (The access site), is basically an empty shell that is filled with all of its content through the CMS using an SQL database and then displayed on the page. This works fine as only authenticated users have access to the interface used to view and download the files. My problem was, even though there is no public interface to find the files, someone could surely type [URL] and the video would be available to them. I dont really know what to do here, is there any way that people could be blocked from retrieving the files like this?

View 1 Replies

Blocking Access To Application For A User

Dec 9, 2010

I have an ASP.NET MVC application that use the default ASP.NET Membership Provider. My customer asked to implement a feature that prevent users to log in (for example for users that resign and leave the company). I cannot use the IsApproved flag of the Membership table because that field is used to confirm user egistration. Is there any built in functionality for doing this? What are your experiences in scenarios like this?

View 1 Replies

Security :: Blocking IP Addresses For Certain Countries

Jun 9, 2010

I have a client who wants me to block his site from certain countries. Each month I add all the new IP address ranges for these countries into a sql database. If the user has a blocked IP address, the site directs them to a phoney 504 error page. This way it doesn't appear that the site is being blocked, but rather is just having difficulites. Thats the way we want it.

It works fine however, there are some users (5%) who get a 500 error. No rhyme or reason. It works across all browsers and operating systems. I have no way of finding out why from my hosting service. I can't dupliate it. I have the following code that runs at Page_Init

[Code]....

View 10 Replies

Validators Blocking Navigation In Ajax?

Mar 3, 2010

I am encountering issues in the navigation defined in a master page which are being blocked by validators pages that inherit from the master. How can I disable these validators so that they do not prevent my button actions in the master page?I am using AJAX controls in child pages.

View 2 Replies

Security :: Blocking IP Address Using HTTPModule?

Nov 19, 2010

I want to increase the security of my website, does creating http module that block certain ip address will increase security?

Since IP Address can be manipulated if I'm not mistaken, I'm not sure that creating HTTP Module will help.

View 1 Replies

C# - Multiple Calls To The Same Web Service Blocking?

Nov 18, 2010

We have a page that makes a request to a 3'rd party web service. When under heavy load this response time extends significantly, however the 3'rd party reports back that there times for processing remains constant. There timings show that from the time they receive a request to the time they send it back is always around 1.5-2.0 seconds. Now we are experiencing wait times of over 20 seconds. My understanding of ASP.NET is that each request will run on a IIS thread pool thread and make the request to the 3'rd party service return and process. So I don't really understand what could be blocking on our end. Is there something I am missing?? Is there a threshold limit beyond IIS that is blocking?

If I am missing something a physical book recommendation that covers this subject would also be a very welcome addition to any answer.

View 2 Replies

AJAX :: Thread Blocking In ScriptObjectBuilder?

Jul 23, 2010

My application is showing lots of thread wait events in the GetScriptReferencesInternal method of ScriptObjectBuilder. I am running a load test with 150 concurrent sessions and in 10 minutes I see 1000 thread block events. Each event stalls the execution of the thread for an average of 6 seconds.

View 2 Replies

Blocking - TransmitFile Causes Site To Block?

Jun 29, 2010

Whenever I use TransmitFile to send a file, the sirte becomes blocked to the user until the file completes. IOW, the user cannot navigate the site.If the user cancels the transfer, it still blocks until the site either times out OR finishes sending the data. I can't tell which, but I know if for example I cancel a 30MB file immediately after starting the download, it takes longer to recover than a 10 MB file.Here is the relevant code:

Response.ContentType = "application/octet-stream";
Response.AppendHeader("Content-Disposition", contdisp);
Response.AddHeader("Content-Length", new FileInfo(fullfilename).Length.ToString());
Response.TransmitFile(fullfilename);
Response.Flush();

View 1 Replies

C# - I.NET HttpPostedFile.SaveAs A Blocking Call?

Mar 1, 2011

I was wondering whether HttpPostedFile.SaveAs function in ASP.NET C# is a blocking call.

View 1 Replies

Calling WebMethods / WebService Using Jquery Is Blocking?

Apr 6, 2010

I'm generating a file on the server which takes some time. For this, I have a hidden iframe which I then set the .src attribute to an aspx file i.e iframe.src = "/downloadFile.aspx"While this is taking place, I'd like to have a call to a web service return the progress. To do this, I thought I could use window.setInterval or window.setTimeout but Javascript seems to be blocked as soon as I set the iframe src attribute.Does anyone know how to get around this or perhaps try a different approach?I have also tried handlers, but the request never gets to the server so I'm assuming is a browser/javascript issue.

//Function that gets the file
function GetFile() {
setTimeout(GetProgress, 1000);
var iframe = document.createElement("iframe");

[code]...

View 2 Replies

SQL Server :: Modify Stored Procedure For Blocking Injection?

Mar 22, 2011

I want to modify a Stored Procedure for blocking injection :

This is the original Stored Procedure (working fine) :

[Code]....

And this is my Stored Procedure with variables :

[Code]....

Why this is not working? I got a "Conversion from type 'DBNull' to type 'Boolean' is not valid."

View 5 Replies

WCF / ASMX :: Best Practice For Blocking Requests Until Data Is Cached?

Mar 13, 2011

I have a RESTful webservice. This webservice builds some information (which can take upwards of a couple seconds) and caches the contents.

This works well; however, suppose that many of the same requests come in at about the same time. In our current scenario, each request will build the content before caching. This is obviously not desired as it uses CPU time that could be better served elsewhere. What I would like to do is to suspend/block requests to the same url/cachekey until the content has been built and cached, at which time those other requests will be unblocked and simply fetch the content from cache.

I am not sure the best way. The following are options I have thought about:

Use string.Intern on that cache key and lock. Problem is that this could cause a deadlock if that string is used elsewhere. Use a ConcurrentDictionary and WaitHandle objects to allow other request to lookup in the dictionary if a request is being processed and then "wait" for the request to finish. This would at least give me a timeout capability but I am concerned with the performance of creating many wait handles.

View 2 Replies

Thread.Sleep() Blocking NetworkStream.BeginRead() Call Back?

Jul 7, 2010

I create a NetworkStream from a TCPClient, I then call BeginRead() followed by Thread.Sleep(60000).

It seems that the BeginRead call back function will only ever occur after Thread.Sleep() has completed. Is this expected behaviour?

What I was expecting was for the call back function to be carried out on a separate thread whenever it was ready and that the Thread.Sleep() on the current thread should have no affect on when/how the call back function runs...

I'm currently creating a VT100 terminal emulator, I wanted to created a method that would allow me to make the emulator sleep until a given string is found in the screen buffer. Initially I was trying to call WaitOne() on the IAsyncResult passed back from BeginRead() if the string was missing (this was to allow more data to pass into the system so that the check could then be carried out again until it was passed), after this failed I tried Thread.Sleep instead of WaitOne() but this blocked my BeginRead call back from firing and I'm now I'm starting to think everything is running from a single thread...

View 3 Replies

AJAX :: VS2005: Modalup Is Not Blocking Whole Page In Contentpageholder Of Masterpage?

Feb 25, 2010

I have an issue with master page.i have used modalpopup control in one of the contentpage of "Masterpage.master".but the modalpopup is not blocking whole page instead it's blocking only the pace covered by contentplaceholder in the masterpage.

[Code]....

View 1 Replies

Web Forms :: Rotating Text In All Browsers?

May 17, 2010

I want to rotate the text vertically in all general browser. I find some solution, but it works on some broswer and not on some browser. how to rotate the text vertically in almost all the genral broswers.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved