tips & tricks


Calendario
aprile 2024
lmmgvsd
25262728293031
1234567
891011121314
15161718192021
22232425262728
293012345

HTML in un campo di testo

HTML in un campo di testoPer visualizzare in un report un campo in cui vi è del codice HTML come fosse testo formattato si può aggiungere questa funzione nel codice al Tab Code del Report:Public function FormatHtml(byval s as string) return new System.Text.RegularExpressions.Regex("<[^>]*>").Replace(s, "") End Functione la possiamo richiamare così:= Code.FormatHtml(Fields!Description.Value) 
Leggi tutto il post...
Categoria: Reporting
martedì, 29 mar 2011 Ore. 18.08

Controllo Email format

CONTROLLA un campo email function isEMailAddr(elem) {     var str = elem.value;     var re = /^[\w-]+(\.[\w-]+)*@([\w-]+\.)+[a-zA-Z]{2,7}$/;     if (!str.match(re)) {         alert("Verify the e-mail address format.");         setTimeout("focusElement('" + elem.form.na 
Leggi tutto il post...
Categoria: Jscript
martedì, 29 mar 2011 Ore. 09.19

window.opener

WINDOW.OPENER Ho provato diverse volte a utilizzare questo codice come diceva l'sdk, ma senza successo:  var oParentCrmForm = window.opener.document.all.crmForm;Poi cercando su google ho trovato questo: var oParentCrmForm = window.opener.parent.document.all.crmForm; e finalmente ha funzionato!   function isCompetitor() {     //var oParentCrmForm = window.opener.document.all.crmForm;      var oParentCrmForm = window 
Leggi tutto il post...
Categoria: CRM 4.0
lunedì, 07 mar 2011 Ore. 10.43

Recuperare i Valori di una Picklist

SELECT StringMap.Value,* FROM StringMap       INNER JOIN MetadataSchema.Entity             ON StringMap.ObjectTypeCode = MetadataSchema.Entity.ObjectTypeCode WHERE StringMap.AttributeName Like 'address1_addresstypecode' AND MetadataSchema.Entity.Name Like 'account'   
Leggi tutto il post...
Categoria: CRM 4.0
venerdì, 04 mar 2011 Ore. 15.22
Archivio Posts
Anno 2020

Anno 2018

Anno 2015

Anno 2013

Anno 2011

Anno 2010

Anno 2009

Anno 2008
Statistiche
  • Views Home Page: 13.361
  • Views Posts: 56.107
  • Views Gallerie: 2.837
  • n° Posts: 117
  • n° Commenti: 1
Copyright © 2002-2007 - Blogs 2.0
dotNetHell.it | Home Page Blogs
ASP.NET 2.0 Windows 2003