Raúl Ribeiro
ASP.NET Portal Framework
ASP.NET Portal FrameworkPersonalize Your Portal with User Controls and Custom Web PartsASP.NET 2.0 comes with a built-in portal framework that brings two significant benefits...
Converting Hexadecimal string to byte[]
string hexString = txtHex.Text; int discarded; txtByteCount.Text = ((int)HexEncoding.GetByteCount(hexString)).ToString(); txtLength.Text = hexString.Length.ToString(); byte byteArray = HexEncoding.GetBytes(hexString, out discarded);
Create ThumbNail from image byte[]
private byte GenerateThumbNail(byte foto){
System.IO.MemoryStream memStream = new System.IO.MemoryStream(foto);
int thumbWidth = 88; int thumbHeight = 100; if (QueryStringHelper.ItemType == "detail"){ thumbWidth = 250;thumbHeight...
Updating webparts in the GAC without using IISReset
Retirado de Michael ChristensenWhen deploying new versions of Webparts to the GAC, the general recommendation is to subsequentially run IISReset, since Sharepoint will not...
Generate INSERT scripts for any table
Retirado de : DotnetSpider
/*---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------AUTHOR KARTHIKDESCRIPTION BUILDS THE INSERT QUERY FOR ANY GIVEN TABLE---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/CREATE PROCEDURE SP_GEN_INSERT_SQL @TABLENAME VARCHAR ( 2000 )ASBEGINDECLARE CUR_METADATA CURSOR FORSELECT NAME...
Using Ajax.NET under SharePoint
Retirado de : Angus Logan
I’m having a play with Ajax.NET because I have some somewhat unique requirements from an application which is delivered under...
Installing Templates on the Portal
Retirado de : http://www.spsfaq.com/downloads/SPS_cheat_sheet_1.doc
For templates to available form the “Create Site” link in the Sites Directory, in other words, to create a top level...
using System.Web.Mail with authentication
MailMessage msg = new MailMessage();
msg.From = ConfigurationSettings.AppSettings.ToString();msg.Subject = subject;msg.To = messageTo;msg.Fields = Settings.SmtpServer;msg.Fields = Settings.SmtpServerPort.ToString(CultureInfo.InvariantCulture);msg.Fields = 2;msg.Fields = 1;msg.Fields = Settings.SmtpSendUserName;msg.Fields = Settings.SmtpSendPassword;SmtpMail.Send( msg );
QueryStringPageViewer WebPart for Sharepoint
/// /// Mads Haugbø Nissen 2003(c) /// Objectware AS /// Norway /// /// http://weblogs.asp.net/mnissen /// /// The QueryStringPageViewer provides the...
SharePoint Tools Galore List
SharePoint toolsuites
Coras workplace suiteSuite with rollup webparts (for news,documents,tasks,...), navigation controls and full language localization (This is way cool...)
Syntergy Provide lots of modules...