• Discussions
Select the search type
 
  • Site
  • Web
Search
Login|Register

 

Survey Links Customization in SharePoint

By Blog User on 3/27/2012 9:42 PM
How to customize the View Response menu link and the Response Survey button in just a few steps through Javascript
Read More »
Comments (0)
Knowledge Base

Get a User's Full Name

By Blog User on 3/3/2012 3:42 PM

Sometimes it's neccesary to retrieve the User's Full Name (or Display name) instead of just the network Name.
This can be easily obtained from the System.DirectoryServices.AccountManagement namespace introduced with the .NET Framework 3.5. This Namespace gives you access to the UserPrinciple class which encapsulates "principles that are from user accounts."

PermaLink Read More »
Comments (0)
Knowledge Base

Cancellations of Internet Explorer and Restart

By Blog User on 10/5/2011 2:25 PM
In many cases it's possible that the IE (in my case, the 9) restart at a certain page.

This may be caused by some Add-On that is cancelling it. 

The best way to test this is passing by parameter the -extoff command which disable the extensions.
 
Comments (0)
Knowledge Base

Graphics Components

By Blog User on 6/4/2011 12:20 PM
Google offers an api to perform interactives graphics with images.

 





The reference links are: 

Tool for creating graphics: http://code.google.com/apis/ajax/playground/?type=visualization#candlestick_chart



 

General site of graphics: http://code.google.com/intl/es/apis/chart/interactive/docs/index.html



 

There is also a suit of flash graphics with a better presentation and animation than those of google:



http://www.maani.us/xml_charts/index.php?menu=Introduction



...
Read More »
Comments (0)
Knowledge Base

MultiLine Textboxes don't take into account the MaxLength

By Blog User on 5/6/2011 5:59 PM

When using a Textbox with TextMode="multiLine", the MaxLength isn't respected.
 

A possible solution to this problem is to put the following script:

    function ValidateCharacters(textareaControl,maxlength){
        if (textareaControl.value.length > maxlength){
            textareaControl.value = textareaControl.value.substring(0,maxlength);
        }
    }   

 

and in textbox you have to add: 

onkeypress="ValidateCharacters(this, 100);" onkeyup="ValidateCharacters(this, 100);"

Comments (0)
Knowledge Base

HeaderText Propertie doesn't change in DataGrid

By Blog User on 1/18/2011 11:40 PM

When the HeaderText property of a DataGrid is set, it must be done before doing the DataBind. Otherwise, this change won't be updated until the grid be refreshed.

http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.datagridcolumn.headertext(v=vs.71).aspx

 

Comments (0)
Knowledge Base

Enable Compression on IIS 6.0

By Blog User on 12/23/2010 10:18 AM
The following article explains how to enable compression on IIS 6.0

 

http://www.codeproject.com/KB/aspnet/EnableGzip.aspx

 

This post is more complete than the other:

http://techdoc.superoffice.com/sixWebZip.html

 

If you need to disable an specific file or a folder from the compression, you must to run the following script:

 

cscript adsutil.vbs create W3SVC/1/ROOT/SystemName/Misc/DownloadFile.aspx IIsWebFile cscript adsutil.vbs set W3SVC/1/ROOT/SystemName/Misc/DownloadFile.aspx/DoDynamicCompression false cscript adsutil.vbs set W3SVC/1/ROOT/SystemName/Misc/DownloadFile.aspx/DoStaticCompression false

 

It's important that the intermediate routes (as Misc, in this case) exist in the Meta Base. This can be verified with the Meta Base explorer.

 

 

To enable HTTP compression for an individual site or an individual element of the site (Virtual Directory)

...
Read More »
Comments (0)
Knowledge Base

How to know which user is being impersonated in the IIS

By Blog User on 8/24/2010 8:32 PM

There are 2 properties for retrieving the User with which it is working.

System.Security.Principal.WindowsIdentity.GetCurrent().Name
Retrieve the User Name with which it is impersonating

HttpContext.Current.User.Identity.Name
Retrieve the name of the online User. This is set automatically or manually (depending on the authentication type) on the property.
Ex.: if the authentication is by form, the value depends on what the programmer has set. If the authentication is integrated, the network user is taken automatically

http://forums.asp.net/p/1507047/3582459.aspx

Comments (0)
Knowledge Base

IE7 Emulation in IE8 (compatibility mode) from the code

By Blog User on 8/16/2010 10:00 PM
To emulate the behavior of IE7 in IE8 from the code (compatibility mode with previous version), you can specify the following Meta-Tag in Global.asax.cs

 

 

1 2

3

4

5

6

Private Sub Global_BeginRequest(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.BeginRequest

    'Set IE8 compatibility

    If ConfigurationManager.AppSettings.Item("EmulateIE7") = "1" Then

        Response.AppendHeader("X-UA-Compatible", "IE=EmulateIE7")

    End If

End Sub



...
Read More »
Comments (0)
Knowledge Base

Cache Management of ASP.NET

By Blog User on 8/16/2010 9:09 PM

Enterprise Library Caching application block

http://www.codeproject.com/KB/web-cache/CachingApplicationBlock.aspx#heading0002

 

Comments (0)
Knowledge Base

Configuration of IIS 7: Users IUSR and IIS_IUSRS

By Blog User on 6/2/2010 12:48 AM

The following article explains the functionality of that Users. They replace Users older than IIS 7. 

IUSR replaces IUSR_[Machine Name]
IIS_IUSRS replaces IIS_WPG or Network Service
IIS_[Machine Name] is still there when FTP is installed with compatibility with IIS 6.
 
http://learn.iis.net/page.aspx/140/understanding-built-in-user-and-group-accounts-in-iis-7/
Comments (0)
Knowledge Base

PreCompile Options for "Hot Deployment"

By Blog User on 5/21/2010 1:33 PM

The following link explains the different precompile options allowed by the .NET compiler. Some of them, facilitate the deployment of the Site because they produce a pre-compiled code, avoiding the initial delay when accessing to each page of the site.

http://msdn.microsoft.com/en-us/library/bb398860.aspx
Comments (0)
Knowledge Base

Visual Studio 2003 with Windows 7

By Blog User on 11/11/2009 2:25 PM
I've tried the VS 2003 on Windows 7 in Compatibility Mode with XP Service Pack 3 and it works very well.
Comments (0)
Knowledge Base

Site Configuration with Framework 1.1 in IIS 7.0

By Blog User on 11/10/2009 7:11 PM
This guide explains how to configure an application that the Framework 1.1 uses of .NET with the IIS 7.0.
It's important to take into account that the IIS 7.0 isn't compatible with several tags of Web.Config, for example: 'system.webServer'.
 
http://learn.iis.net/page.aspx/472/how-to-install-aspnet-11-with-iis7-on-vista-and-windows-2008/
Comments (0)
Knowledge Base

Activate and deactivate a CheckBox into a datagrid

By Blog User on 10/21/2009 1:47 PM
  script language="javascript">

 

 

function CheckTypes(value, chkName1, chkName2)

 

{

 

var chkObj1 = document.getElementById(chkName1);

 

 

var chkObj2 = document.getElementById(chkName2);

 

chkObj1.disabled = value;

chkObj1.parentElement.disabled = value;

chkObj2.disabled = value;

chkObj2.parentElement.disabled = value;

}

 

script>

The problem was that the "parentElement" of each checkbox should also have been set. So, the tag "Span" that contains these checkbox has to be set. With the code above, the problem has been solved.

...
Read More »
Comments (0)
Knowledge Base

Assigning text to 'Password' field

By Blog User on 7/29/2009 9:55 AM

The fields which type is Password, don't allow the assignment of text using the text propertie. To assign the text, it must be used:

txtPassword.Attributes["value"] = "text"

 

Comments (0)
Knowledge Base

Conversion of Applications from Framework 1.1 to 2.0

By Blog User on 7/15/2009 12:17 PM
The following link will help you to carry out a good migration of applications from Framework 1.1 to 2.0:

 

http://blogs.msdn.com/b/peterlau/archive/2006/05/11/595294.aspx

Comments (0)
Knowledge Base

Importing error with Web project in VS 2003 - connection with the server could not be established

By Blog User on 5/22/2009 6:53 PM

Disable Proxy for Local Connections

http://www.ozzu.com/programming-forum/net-connection-with-the-server-could-not-established-t45057.html

 

Comments (0)
Knowledge Base

Regular Expressions Builder

By Blog User on 12/30/2008 6:04 PM
I share you a link of a page that generates regular expressions in many languages.

 

http://txt2re.com/index-java.php3?s=30:Dec:2008%20%22This%20is%20an%20Example!%22&7&-2
Comments (0)
Knowledge Base

Tips to improve performance in applications development .NET

By Blog User on 11/14/2008 1:41 AM
The following links refers to Tips for improving performance of applications developed in .NET
Some of them are basic, but others are quite interesting.
 
http://www.codeproject.com/KB/aspnet/Application_Performance.aspx
 
http://www.realsoftwaredevelopment.com/20-tips-to-improve-aspnet-application-performance/
Comments (0)
Knowledge Base

Identification of non-standard browsers from C#

By Blog User on 9/12/2008 7:14 PM
To identify the features of non-standard browsers, it's necessary to define them previously in a .browser file.
This file may reside in the APP_Browser folder of our project or could be installed on the Web Server in the folder: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG\Browsers.
If you haven't installed this last folder, you need to run the following command so that it would be installed:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regbrowsers.exe -i
 
More info at: http://www.codeproject.com/KB/aspnet/BlackberryASPNET.aspx
Comments (0)
Knowledge Base

Invoke a WebService from SQLServer 2005 through the SQLServer Agent

By Blog User on 5/20/2008 12:56 PM

The native form to invoke a Web Service from a Job, using the features of SQL 2005, would be through an SQL Integration Services Package (SSIS Package).

The following links explain how to create it:

http://www.codeproject.com/KB/database/webservicessis.aspx

http://blogs.msdn.com/sqlclr/archive/2005/07/25/Vineet.aspx

 

Comments (0)
Knowledge Base

Currency Convertor Web Service

By Blog User on 5/20/2008 12:17 PM
This service allows users to get the quotation of a certain currency, referring to another.
If you are going to implement it on a project, you will need to analyze the availability of it and if it is upated.
 
http://www.webservicex.net/CurrencyConvertor.asmx
Comments (0)
Knowledge Base

LinkD - Create a shortcut from a folder to another

By Blog User on 5/6/2008 12:53 PM
This command allows users to create a folder that is actually a link to an existing one.
 
The syntax is:
LinkD [origin] [destination]
 
Origin is the link to be created and destination is the existing physical folder.
Comments (0)
Knowledge Base

Textbox with ReadOnly = True, can't be changed from javascript

By Blog User on 1/28/2008 4:41 PM

Textboxes with the ReadOnly propertie to true can only take the value of ViewState or server code, not of javascript on the customer. Apparently it's a change of ASP.NET 1.1 to 2.0 that you can see in this forum: http://www.velocityreviews.com/forums/t123579-getting-viewstate-value-from-readonly-textbox-in-net2-vb.html

 

You can get the value through the form:

txtQty3.Text=Request.Form[txtQty3.UniqueID]

Comments (0)
Knowledge Base

Files Attaching NET 2.0

By Blog User on 7/10/2007 9:29 PM
This key that belongs to ASP NET 2.0 it's required to upload files larger than 256 bytes (its default value) so it's necessary to specify it to a larger size which shouldn't exceed the size of the MaxRequestLength (in KB)
 
Key:
RequestLengthDiskThreshold="10240" (bytes)
 
Be careful with the units!!! The requestLengthDiskThreshold is in Bytes and the MaxRequestLenght is expressed in KBytes
Example:
 
<httpRuntime executionTimeout="3800" maxRequestLength="40000" requestLengthDiskThreshold="400000"/>
Comments (0)
Knowledge Base

Regular Expressions

By Blog User on 4/20/2007 4:22 AM

Percentages Validation

^100$|^100.0$|^100.00$|^\d{1,2}(\.\d{1,2})? *%?$|^\d{1,2}(\,\d{1,2})? *%?$

Comments (0)
Knowledge Base

Search

Categories

Skip Navigation Links.
ASP.NET (27)
C# (9)
Dynamics CRM (1)
General (33)
Mobile (2)
NHibernate (2)
Sharepoint (4)
Team Foundation (1)
Visual Basic (5)

Archive

Archive
<May 2012>
SunMonTueWedThuFriSat
293012345
6789101112
13141516171819
20212223242526
272829303112
3456789
Monthly
April, 2012 (1)
March, 2012 (3)
February, 2012 (2)
January, 2012 (4)
December, 2011 (1)
November, 2011 (1)
October, 2011 (1)
September, 2011 (2)
August, 2011 (2)
July, 2011 (1)
June, 2011 (1)
May, 2011 (1)
April, 2011 (1)
February, 2011 (1)
January, 2011 (2)
December, 2010 (3)
October, 2010 (2)
August, 2010 (5)
July, 2010 (2)
June, 2010 (1)
May, 2010 (2)
January, 2010 (3)
November, 2009 (2)
October, 2009 (1)
September, 2009 (5)
July, 2009 (2)
June, 2009 (2)
May, 2009 (2)
April, 2009 (3)
March, 2009 (1)
December, 2008 (1)
November, 2008 (1)
October, 2008 (2)
September, 2008 (1)
May, 2008 (3)
April, 2008 (1)
March, 2008 (1)
January, 2008 (2)
November, 2007 (2)
October, 2007 (2)
August, 2007 (1)
July, 2007 (1)
May, 2007 (2)
April, 2007 (1)

Go
TISA - USA: 16360 Park Ten Place, Suite 301 - (77084) - Houston - Texas - United States - Phone.: +1-713-900-8667 - sales@tisa-software.com
TISA - ARG: 3087 Zapiola St. - 1st Floor - Buenos Aires - Argentina - Phone: (00 54 11) 4482-4096 - ventas@tisa-sistemas.com.ar
TISA - ARG: 940 Sarmiento St. - 3rd Floor - Buenos Aires - Argentina - Phone: (00 54 11) 4328-1327 - ventas@tisa-sistemas.com.ar
Copyright 2011 - TISA - All rights reserved Terms Of UsePrivacy Statement