I create the following function to handle :
Private Sub SkipEnterTbx(ByVal oControl As Control)
Dim strJScript As String
strJScript = String.Concat("if (document.all) {if (event.keyCode == 13) {event.returnValue=false; event.cancel = true; return false;}} ", _
"else if...
Thx for ur kindly reply, Dan.
I use the "Attributes.Add" to stick the above script to the "onClick" event of the textbox and no more. As you say, the "event" global variable is not available except IE, how can I detect the browser so as to suspend the enter key press for form submission?
Thx a...
The httpContext.Current.Session is nothing when access it is referenced at the
public override string GetVaryByCustomString(HttpContext context, string arg){
return httpContext.Current.Session("xxxx")
}
under the global.asax
I'm using asp.net 1.1 and not sure whether the session would be...
I'm using the following javascipt to "onkeydown" event at the controls to disable pressing Enter key to submit the form in the asp.net 1.1 pages
---------------------
if (document.all) {
if (event.keyCode == 13) {
event.returnValue=false;
event.cancel = true;
return false;
}
}
else if...
Hi, I have some qns about page cache with "VaryByParm" & "VaryByCustom".
At first, I use the page directive to set the output cache with "VaryByParm" on all query variables. The pages work fine.
Then, I changed it to set them at code behind. Since the page cache need to be depend on some...
Thanks, Rick.
I had tried to set the trust level of the applications (which is located at the file server) to full and then retry. The problem for requesting permission from the "System.Data.SqlClient.SqlClientPermission" still exist.
I just wonder whether I need to add the codes for...
Hi guys, I'm developing an VB.NET application to access data at SQL server. It run perfectly at my local PC but error occurs when I place it to the file server.
(1) Error occur when calling Enviornment.MachineName but ok for Envornment.UserName
(2) permission problem on the...
I fixed the problem by adding the merge module managed.msm into the web setup project. This module is included after adding the Primary Outut & Content Files to the setup project and found under Detected Dependencies (not excluded). But it is still needed to add into the web setup project...
Dear All,
I had developed a ASP.NET web applications with crystal reports. It works fine at the local machine. Then, I created a web setup project with appropriate merge modules for deployment to the testing web server. After the installation, I found that every aspx pages work except those...
Hey guys,
I'm using VS.NET to create a report in a ASP.NET page. The CR viewer is invisible initially. The report would be generated after inputting the selection criteria & then pressing a button. It works fine - the report contents show at the web page. When I pressing the navigation button...
Dear All,
I'm using CR9 to create several reports to access MSSQL server 2000 database at the DB server. They work fine. After a couple of days, I try to create another report with the same connection and database. The connection can be made, database can be opened and table can be selected...
Dear All,
I need to extract data from FPW26 tables & VFP5 tables and import into MS SQL server 2000 in a regular basis. The available tools are VFP5 & VB6. I'm considering to do it in the following ways :
(A) using VFP5 to extract the foxpro data and then insert the results into MS SQL server...
Have you solve your problem, Haldane? Our company also experience this problems too!!!
After migrating to W2K terminal server + Citrix Metaframe XP, the FPD26 application would be run but the performance is degraded. Now I'am headache for the following problems :
(1) The general response time...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.