<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5008590345631794156</id><updated>2024-12-18T19:23:45.188-08:00</updated><category term="Danny Fabian Duran Vesga"/><category term="c#"/><category term=".Net"/><category term="danny duran vesga"/><category term="javascript"/><category term="aspnet"/><category term="installer"/><category term="js"/><category term="0433"/><category term="Danny Duran"/><category term="Elementos"/><category term="Enum"/><category term="Enum string"/><category term="Error cs0433"/><category term="Failed to load viewstate"/><category term="Formato"/><category term="IIS"/><category term="Register"/><category term="Reversi"/><category term="aplicaciones web"/><category term="application"/><category term="assemblies"/><category term="batalla naval"/><category term="battleship"/><category term="bin"/><category term="cache"/><category term="call server methodo from client"/><category term="charts"/><category term="date format"/><category term="date format js"/><category term="definir formato en js para fechas"/><category term="doble click"/><category term="doble click server event"/><category term="element"/><category term="emsamblador"/><category term="folder app"/><category term="folder system"/><category term="formato de fechas"/><category term="game c#"/><category term="games winform"/><category term="get element from iframe"/><category term="global"/><category term="gráficas"/><category term="highchart"/><category term="how to format date with javascript"/><category term="iframe"/><category term="installer action"/><category term="kendo"/><category term="key"/><category term="llamar metodo desde el cliente"/><category term="mas de una referencia a un emsamblado"/><category term="othello"/><category term="patrones de diseño en javascript"/><category term="pattern design javascript"/><category term="project"/><category term="proyecto"/><category term="reference assemblies"/><category term="remoting"/><category term="rmi"/><category term="sea battle"/><category term="select distinct"/><category term="select distinct in xslt"/><category term="shortcut"/><category term="sistema de archivos"/><category term="string"/><category term="value"/><category term="web"/><category term="xsl"/><category term="xsl:key"/><category term="xslt"/><title type='text'>VS .Net, una Solución antes de la Rendición</title><subtitle type='html'>Soluciones .net c# para problemas singulares que encontramos en el desarrollo de aplicaciones</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ingnetcolombia.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5008590345631794156/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://ingnetcolombia.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14389045415125715406</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>15</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5008590345631794156.post-4836775173295024948</id><published>2013-02-12T14:02:00.002-08:00</published><updated>2013-02-12T14:02:23.503-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Danny Duran"/><category scheme="http://www.blogger.com/atom/ns#" term="Danny Fabian Duran Vesga"/><category scheme="http://www.blogger.com/atom/ns#" term="select distinct"/><category scheme="http://www.blogger.com/atom/ns#" term="select distinct in xslt"/><category scheme="http://www.blogger.com/atom/ns#" term="xsl"/><category scheme="http://www.blogger.com/atom/ns#" term="xsl:key"/><category scheme="http://www.blogger.com/atom/ns#" term="xslt"/><title type='text'>Select Distinct in XSL, using xsl:key</title><content type='html'>&lt;span style=&quot;color: #0c343d;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Para esta entrada les comparto una forma de obtener una lista de nodos (distintos) a partir de una variable usando XPATH sobre XSLT.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #0c343d;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Podríamos comparar esta sentencia como un &quot;Select Distinct&quot;, ese que usamos en sql para obtener registros distintos de acuerdo a los criterios de búsqueda. Bueno entonces este es el proceso:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #0c343d;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Primero, usé un ejemplo que hallé en Internet, en esta &lt;a href=&quot;http://forums.asp.net/t/1362667.aspx/1&quot; target=&quot;_blank&quot;&gt;url&lt;/a&gt;.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #0c343d;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Segundo, &lt;a href=&quot;http://www.utilities-online.info/xsltransformation/&quot; target=&quot;_blank&quot;&gt;esta paginita&lt;/a&gt; en la que podemos hacer las pruebas de transformación online&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #0c343d;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Por último, la mágia:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0c343d;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #0c343d;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;tenemos entonces un xml como este:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #274e13;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;&lt;br /&gt;&amp;lt;DropDownItems&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;DropDownItem&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;direction&amp;gt;E&amp;lt;/direction&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;street&amp;gt;10TH&amp;lt;/street&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;price&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tax&amp;gt;10p&amp;lt;/tax&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/price&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;streetType&amp;gt;AVE&amp;lt;/streetType&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/DropDownItem&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;DropDownItem&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;direction&amp;gt;E&amp;lt;/direction&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;street&amp;gt;11TH&amp;lt;/street&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;price&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tax&amp;gt;10p&amp;lt;/tax&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/price&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;streetType&amp;gt;DR&amp;lt;/streetType&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/DropDownItem&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;DropDownItem&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;direction&amp;gt;E&amp;lt;/direction&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;street&amp;gt;10TH&amp;lt;/street&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;price&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tax&amp;gt;10p&amp;lt;/tax&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/price&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;streetType&amp;gt;AAR&amp;lt;/streetType&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/DropDownItem&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #274e13;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;lt;/DropDownItems&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0c343d;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #0c343d;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Ahora queremos obtener simplemente los nodos cuyo valor &quot;X&quot; sea distinto. &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre class=&quot;prettyprint&quot; style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; background-position: initial initial; background-repeat: initial initial; border: 1px solid rgb(136, 136, 136); color: #222222; font-family: Consolas, monospace; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18.203125px; margin: 18px 0px 30px; orphans: 2; outline: 0px; overflow: auto; padding: 5px; text-align: left; text-indent: 0px; text-transform: none; vertical-align: baseline; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span class=&quot;tag&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #a31515; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;lt;xsl:stylesheet&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: black; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&amp;nbsp; &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: red; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;version&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: black; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: blue; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;1.0&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: black; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&amp;nbsp; &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: red; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;xmlns:xsl&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: black; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: blue; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;http://www.w3.org/1999/XSL/Transform&quot;&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #a31515; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: black; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&amp;nbsp; &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #a31515; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;lt;xsl:key&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: black; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: red; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: black; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: blue; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;by-street&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: black; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: red; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;match&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: black; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: blue; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;DropDownItem&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: black; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: red; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;use&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: black; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: blue; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;street&quot;&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #a31515; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: black; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&amp;nbsp; &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #a31515; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;lt;xsl:template&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: black; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: red; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;match&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: black; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: blue; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;DropDownItems&quot;&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #a31515; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: black; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #a31515; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;lt;xsl:copy&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: black; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #a31515; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;lt;xsl:copy-of&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: black; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: red; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;select&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: black; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: blue; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;DropDownItem[generate-id() = generate-id(key(&#39;by-street&#39;, street)[1])]&quot;&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #a31515; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: black; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #a31515; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;lt;/xsl:copy&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: black; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&amp;nbsp; &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #a31515; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;lt;/xsl:template&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: black; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #a31515; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;lt;/xsl:stylesheet&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;span style=&quot;color: #0c343d;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Entonces usamos el código de la página donde obtuve el ejemplo. Pero realmente no se trata de mostrar lo mismo, primero una breve explicación, y un ejemplo el cual me llevó a publicar mi propio ejemplo.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0c343d;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #0c343d;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;vemos un xsl:key, el cual nos va a permitir indexar los nodos de acuerdo al valor de (un atributo || nodo), para lo cual hay que tener en cuenta lo siguiente:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0c343d;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;1. xsl:key, se usa a nivel global, es decir, que no se puede crear dentro de un template&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0c343d;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;2. name, lo usamos para referenciar nuestra key&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0c343d;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;3. match, es la ruta relativa del nodo que contiene nuestro valor para la key&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0c343d;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;4 use, es el nodo dentro del match, o atributo del match que usaremos como filtro, entonces si es un nodo, simplemente le colocamos el nombre, y de ser un atributo le adicionamos como prefijo un &quot;@&quot; ej:&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;prettyprint&quot; style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; background-position: initial initial; background-repeat: initial initial; border: 1px solid rgb(136, 136, 136); color: #222222; font-family: Consolas, monospace; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18.203125px; margin: 18px 0px 30px; orphans: 2; outline: 0px; overflow: auto; padding: 5px; text-align: left; text-indent: 0px; text-transform: none; vertical-align: baseline; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: black; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #a31515; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;lt;xsl:key&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: black; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: red; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: black; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: blue; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;by-attr&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: black; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: red; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;match&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: black; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: blue; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;DropDownItem&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: black; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: red; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;use&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: black; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: blue; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;@street&quot;&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #a31515; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: black; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;prettyprint&quot; style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; background-position: initial initial; background-repeat: initial initial; border: 1px solid rgb(136, 136, 136); color: #222222; font-family: Consolas, monospace; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18.203125px; margin: 18px 0px 30px; orphans: 2; outline: 0px; overflow: auto; padding: 5px; text-align: left; text-indent: 0px; text-transform: none; vertical-align: baseline; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span class=&quot;atn&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: red; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;select&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: black; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: blue; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;DropDownItem[generate-id() = generate-id(key(&#39;by-&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: blue; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;atv&quot; style=&quot;background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: blue; font-size: 13px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;attr&lt;/span&gt;&#39;, @street)&lt;/span&gt;&lt;/pre&gt;
&lt;span style=&quot;color: #0c343d;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Ahora, supongamos que nuestro atributo o nodo para filtro no es hijo del nodo que necesitamos obtener, entonces hay que modificar un poco nuestro XPATH, para obtener el resultado:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0c343d;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #0c343d;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;primero la key:&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #274e13;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;lt;xsl:key name=&quot;by-street&quot; match=&quot;DropDownItem/price&quot; use=&quot;tax&quot;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0c343d;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #0c343d;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;ahora el select:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0c343d;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #0c343d;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;color: #274e13;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;select=&quot;DropDownItem[price[generate-id() = generate-id(key(&#39;by-street&#39;, tax)[1])]]&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0c343d;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #0c343d;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Se puede ver que ahora, que nuestro filtro será el nodo TAX, para lo que debemos definir nuestra key apuntando a esa ruta, y luego ajustamos nuestro select, para que el XPATH entienda que nuestro nodo de resultado debe ser un DropDownItem, y la búsqueda de la key es en uno de sus hijos llamado price.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0c343d;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #0c343d;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Espero les sirva este aporte.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0c343d;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #0c343d;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #0c343d;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://ingnetcolombia.blogspot.com/feeds/4836775173295024948/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://ingnetcolombia.blogspot.com/2013/02/select-distinct-in-xsl-using-xslkey.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5008590345631794156/posts/default/4836775173295024948'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5008590345631794156/posts/default/4836775173295024948'/><link rel='alternate' type='text/html' href='http://ingnetcolombia.blogspot.com/2013/02/select-distinct-in-xsl-using-xslkey.html' title='Select Distinct in XSL, using xsl:key'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14389045415125715406</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5008590345631794156.post-89447156656753627</id><published>2013-01-08T13:24:00.002-08:00</published><updated>2013-01-11T07:34:45.982-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="date format"/><category scheme="http://www.blogger.com/atom/ns#" term="date format js"/><category scheme="http://www.blogger.com/atom/ns#" term="definir formato en js para fechas"/><category scheme="http://www.blogger.com/atom/ns#" term="Formato"/><category scheme="http://www.blogger.com/atom/ns#" term="formato de fechas"/><category scheme="http://www.blogger.com/atom/ns#" term="how to format date with javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><title type='text'>Formato de fechas en JavaScript</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;,Arial,Helvetica,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Generalmente cuando usamos fechas deseamos darle el formato necesario, ya sea por el tipo de cultura en el que trabajamos o sencillamente porque el formato es indispensable para los procesos que se realizan con las fechas. Para cualquier necesidad aparecen muchas opciones poco &quot;Elegantes&quot;, por lo que les comparto la mejor que encontré, y que además permite muchas opciones para formatear fechas.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;,Arial,Helvetica,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;E&lt;span style=&quot;font-size: small;&quot;&gt;n &lt;a href=&quot;http://pubs.opengroup.org/onlinepubs/007908799/xsh/strftime.html&quot; target=&quot;_blank&quot;&gt;este link&lt;/a&gt; encontramos una serie de c&lt;span style=&quot;font-size: small;&quot;&gt;onversiones que especi&lt;span style=&quot;font-size: small;&quot;&gt;fican un comportamiento sobre las fechas, como por ejemplo:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;,Arial,Helvetica,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;dt style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;%d&amp;nbsp;&amp;nbsp;&amp;nbsp; representa el día del mes (&lt;span style=&quot;font-size: small;&quot;&gt;01-31&lt;/span&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dt style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: black; display: inline !important; float: none; font-family: &#39;Times New Roman&#39;; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;%m &amp;nbsp; representa el mes del año (01-12)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: black; display: inline !important; float: none; font-family: &#39;Times New Roman&#39;; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;%y&amp;nbsp;&amp;nbsp;&amp;nbsp; representa el año (00-99)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dt style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: black; display: inline !important; float: none; font-family: &#39;Times New Roman&#39;; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dt style=&quot;background-color: white; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;background-color: white; display: inline ! important; float: none; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;y lo usamos de la siguiente manera:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dt style=&quot;background-color: white; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;background-color: white; display: inline ! important; float: none; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dt style=&quot;background-color: white; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;background-color: white; display: inline ! important; float: none; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;var fecha = new Date(&quot;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;1&lt;/span&gt;8/01/2013&lt;/span&gt;&quot;);&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dt style=&quot;background-color: white; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;background-color: white; display: inline ! important; float: none; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;fecha.toLocaleFormat(&lt;span style=&quot;font-size: small;&quot;&gt;&quot;&lt;span style=&quot;font-size: small;&quot;&gt;%d&lt;/span&gt;&quot;)&lt;/span&gt; &lt;span style=&quot;font-size: small;&quot;&gt;;&amp;nbsp; retorna&amp;nbsp; &quot;18&quot;;&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dt style=&quot;background-color: white; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;,Arial,Helvetica,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;background-color: white; display: inline ! important; float: none; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;fecha.toLocaleFormat(&lt;span style=&quot;font-size: small;&quot;&gt;&quot;&lt;span style=&quot;font-size: small;&quot;&gt;%&lt;span style=&quot;font-size: small;&quot;&gt;m&lt;/span&gt;&lt;/span&gt;&quot;)&lt;/span&gt; &lt;span style=&quot;font-size: small;&quot;&gt;;&amp;nbsp; retorna&amp;nbsp; &quot;&lt;span style=&quot;font-size: small;&quot;&gt;01&lt;/span&gt;&quot;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dt style=&quot;background-color: white; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;,Arial,Helvetica,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;background-color: white; display: inline ! important; float: none; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dt style=&quot;background-color: white; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;,Arial,Helvetica,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;background-color: white; display: inline ! important; float: none; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;,Arial,Helvetica,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;background-color: white; display: inline ! important; float: none; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;fecha.toLocaleFormat(&lt;span style=&quot;font-size: small;&quot;&gt;&quot;&lt;span style=&quot;font-size: small;&quot;&gt;%&lt;span style=&quot;font-size: small;&quot;&gt;y&lt;/span&gt;&lt;/span&gt;&quot;)&lt;/span&gt; &lt;span style=&quot;font-size: small;&quot;&gt;;&amp;nbsp; retorna&amp;nbsp; &quot;&lt;span style=&quot;font-size: small;&quot;&gt;13&lt;/span&gt;&quot;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/dt&gt;
&lt;dt style=&quot;background-color: white; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;,Arial,Helvetica,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;background-color: white; display: inline ! important; float: none; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dt style=&quot;background-color: white; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;para un formato de fecha &quot;dd/MM/yy&quot; &lt;br /&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;,Arial,Helvetica,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;background-color: white; display: inline ! important; float: none; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;fecha.toLocaleFormat(&lt;span style=&quot;font-size: small;&quot;&gt;&quot;&lt;span style=&quot;font-size: small;&quot;&gt;%d&lt;/span&gt;/%m/%y&quot;)&lt;/span&gt; &lt;span style=&quot;font-size: small;&quot;&gt;;&amp;nbsp; retorna&amp;nbsp; &quot;18/01/2013&quot;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dt style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: black; display: inline !important; float: none; font-family: &#39;Times New Roman&#39;; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dt style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: black; display: inline !important; float: none; font-family: &#39;Times New Roman&#39;; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/dt&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ingnetcolombia.blogspot.com/feeds/89447156656753627/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://ingnetcolombia.blogspot.com/2013/01/formato-de-fechas-en-javascript.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5008590345631794156/posts/default/89447156656753627'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5008590345631794156/posts/default/89447156656753627'/><link rel='alternate' type='text/html' href='http://ingnetcolombia.blogspot.com/2013/01/formato-de-fechas-en-javascript.html' title='Formato de fechas en JavaScript'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14389045415125715406</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5008590345631794156.post-3295101223323374322</id><published>2012-07-19T06:23:00.001-07:00</published><updated>2012-07-19T06:27:38.613-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="aplicaciones web"/><category scheme="http://www.blogger.com/atom/ns#" term="charts"/><category scheme="http://www.blogger.com/atom/ns#" term="danny duran vesga"/><category scheme="http://www.blogger.com/atom/ns#" term="gráficas"/><category scheme="http://www.blogger.com/atom/ns#" term="highchart"/><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="js"/><category scheme="http://www.blogger.com/atom/ns#" term="kendo"/><title type='text'>Uso de Gráficas en la web</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #073763; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;En el desarrollo web, es indispensable el uso de gráficas adecuadas para presentar a los usuarios información relevante, resumida y de gran valor, es por esto que acudimos a muchas opciones que presenta el mercado, y comenzamos a divagar tratando de conocer cual es la más fácil de usar y la más adecuada para nuestras aplicaciones.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #073763; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #073763; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;He tenido la oportunidad de trabajar con las charts de .net en framework 3.5 y 4, algunas librerias bastante complicadas, y después de probar algunos sin sabores y amplias limitaciones, me presentaron &lt;a href=&quot;http://www.highcharts.com/demo/dynamic-update&quot; target=&quot;_blank&quot;&gt;highchart&lt;/a&gt;&amp;nbsp;y&lt;a href=&quot;http://demos.kendoui.com/dataviz/overview/index.html&quot; target=&quot;_blank&quot;&gt; kendo&lt;/a&gt;&amp;nbsp;dos tecnologías basadas en javascript y que definitivamente me han dado excelentes resultados y son gratuitas sin soporte. Los pre-requisitos para sacar mayor provecho a estas tecnologías son POO en JavaScript cuyo concepto difiere un poco al que estamos acostumbrados, conceptos básicos de la estructura de las gráficas.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #073763; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #073763; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;Estos son algunas de las cosas que he logrado realizar usando dichas tecnologías (no puedo compartirles el código por cuestiones de contrato), para que se hagan una idea de lo que se puede lograr:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;color: #073763; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;Construcción de gráficas dinámicamente o a petición&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #073763; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;Uso de las dos tecnologías (highchart y kendo) usando un script trabajando como factory&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #073763; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;Consumo de datos a través de servicios web&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #073763; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;Actualización de gráficas si recargar la página&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span style=&quot;color: #073763; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;Las ventajas son muchas sobre todo en performance de la página y la experiencia de los usuarios. Espero la estudien y les sirva.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #073763; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #073763; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;highchart &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #073763; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;http://www.highcharts.com/demo/dynamic-update&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #073763; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;Kendo &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #073763; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;http://demos.kendoui.com/dataviz/overview/index.html&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ingnetcolombia.blogspot.com/feeds/3295101223323374322/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://ingnetcolombia.blogspot.com/2012/07/uso-de-graficas-en-la-web.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5008590345631794156/posts/default/3295101223323374322'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5008590345631794156/posts/default/3295101223323374322'/><link rel='alternate' type='text/html' href='http://ingnetcolombia.blogspot.com/2012/07/uso-de-graficas-en-la-web.html' title='Uso de Gráficas en la web'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14389045415125715406</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5008590345631794156.post-6791338892570404619</id><published>2012-07-12T08:55:00.001-07:00</published><updated>2012-07-19T06:28:32.915-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="danny duran vesga"/><category scheme="http://www.blogger.com/atom/ns#" term="js"/><category scheme="http://www.blogger.com/atom/ns#" term="patrones de diseño en javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="pattern design javascript"/><title type='text'>Patrones de Diseño JavaScript</title><content type='html'>&lt;span style=&quot;color: #073763; font-family: Arial, Helvetica, sans-serif;&quot;&gt;Incursionando en este mundo del JavaScript avanzado, quise dejarle a mi actual empresa un semi proyecto en JS orientado a la fábrica de objetos tipo gráfica, con el cual se facilite el trabajo de los demás equipos de desarrollo, además implementando patrones de diseño para darle un toque distintivo para mejoras en el futuro y dejar alguna huella; entonces me encuentro con&lt;a href=&quot;http://addyosmani.com/resources/essentialjsdesignpatterns/book/&quot; target=&quot;_blank&quot;&gt; este pequeño libro&lt;/a&gt; donde podemos aprender el uso de este patrón, además de un&lt;a href=&quot;http://vimeo.com/44094122&quot; target=&quot;_blank&quot;&gt; video explicativo &lt;/a&gt;del tema, el cual espero les sirva para mejorar sus práticas de desarrollo.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #073763; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #073763; font-family: Arial, Helvetica, sans-serif;&quot;&gt;libro &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #073763; font-family: Arial, Helvetica, sans-serif;&quot;&gt;http://addyosmani.com/resources/essentialjsdesignpatterns/book/&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #073763; font-family: Arial, Helvetica, sans-serif;&quot;&gt;video &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #073763; font-family: Arial, Helvetica, sans-serif;&quot;&gt;http://vimeo.com/44094122&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://ingnetcolombia.blogspot.com/feeds/6791338892570404619/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://ingnetcolombia.blogspot.com/2012/07/patrones-de-diseno-javascript.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5008590345631794156/posts/default/6791338892570404619'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5008590345631794156/posts/default/6791338892570404619'/><link rel='alternate' type='text/html' href='http://ingnetcolombia.blogspot.com/2012/07/patrones-de-diseno-javascript.html' title='Patrones de Diseño JavaScript'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14389045415125715406</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5008590345631794156.post-2655880578082183756</id><published>2012-06-13T06:47:00.001-07:00</published><updated>2012-06-13T06:49:00.500-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="aspnet"/><category scheme="http://www.blogger.com/atom/ns#" term="danny duran vesga"/><category scheme="http://www.blogger.com/atom/ns#" term="Failed to load viewstate"/><title type='text'>Failed to load viewstate</title><content type='html'>&lt;br /&gt;
&lt;h2 style=&quot;background-color: #f0f3f4; border: 0px; color: #44525e; font-family: &#39;Segoe UI&#39;, Tahoma, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 18px; margin: 0px 0px 10px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;

&lt;i style=&quot;background-color: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Failed to load viewstate. &amp;nbsp;The control tree into which viewstate is being loaded must match the control tree that was used to save viewstate during the previous request. &amp;nbsp;For example, when adding controls dynamically, the controls added during a post-back must match the type and position of the controls added during the initial request.&lt;/i&gt;&lt;/h2&gt;
&lt;div&gt;
&lt;i style=&quot;background-color: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;
&lt;i style=&quot;background-color: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Tuve un encuentro con este caso particular que a simple vista puede generar terror e inconformidad. Mi escenario fue el siguiente: un pagina con un formview y un gridview, cuyo desarrollo me&amp;nbsp;cedieron&amp;nbsp;para realizar algunas modificaciones. En la lógica el formview nunca se muestra en modo itemtemplate, por lo cual sólo realizé los cambios necesarios para el inserttemplate y el edittemplate, esto ocasionaba que por defecto, una vez que se realizaba una actualización, este intentara mostrar en modo readonly, lo cual generaba el error referenciado, entonces hay dos opciones para resolver el problema.&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;
&lt;i style=&quot;background-color: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ol&gt;
&lt;li&gt;&lt;i&gt;Crear adecuadamente el itemtempleta para que carge los datos correctamente (si es necesario)&lt;/i&gt;&lt;/li&gt;
&lt;li&gt;&lt;i&gt;Como en mi caso no se usa este template, simplemente cambié el defaultmode a Edit&lt;/i&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;i&gt;Soluciones practicas a problemas simples.&lt;/i&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ingnetcolombia.blogspot.com/feeds/2655880578082183756/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://ingnetcolombia.blogspot.com/2012/06/failed-to-load-viewstate.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5008590345631794156/posts/default/2655880578082183756'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5008590345631794156/posts/default/2655880578082183756'/><link rel='alternate' type='text/html' href='http://ingnetcolombia.blogspot.com/2012/06/failed-to-load-viewstate.html' title='Failed to load viewstate'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14389045415125715406</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5008590345631794156.post-3894973649866334119</id><published>2012-03-27T12:53:00.000-07:00</published><updated>2012-06-13T06:49:57.535-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="aspnet"/><category scheme="http://www.blogger.com/atom/ns#" term="call server methodo from client"/><category scheme="http://www.blogger.com/atom/ns#" term="danny duran vesga"/><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="llamar metodo desde el cliente"/><title type='text'>Call server methodo from client javascript</title><content type='html'>&lt;span style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: x-small;&quot;&gt;Aveces nos veremos obligados a llamar un método que tenemos del lado del servidor, o simplemente no queremos complicarnos en buscar la manera desde el cliente de obtener los datos necesarios para ejecutar el método deseado, para eso tenemos la siguiente de muchas opciones:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: x-small;&quot;&gt;Por mensionarlo, tenemos estas opciones:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: x-small;&quot;&gt;__doPostBack ==&amp;gt; detallado más adelante&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: x-small;&quot;&gt;RadAjaxManager ==&amp;gt; nos permite ejecutar el método definido en su &quot;OnAjaxRequest&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: x-small;&quot;&gt;ScriptManager &amp;nbsp;==&amp;gt; &lt;a href=&quot;http://www.rajeeshcv.com/post/details/18/aspnet-ajax-calling-server-side-methods-from-client-side&quot; target=&quot;_blank&quot;&gt;acá una explicación&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: x-small;&quot;&gt;Explico el &quot;__doPostBack&quot; por su facilidad y efectividad, porque he visto las otras opciones fallar en algún momento.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: x-small;&quot;&gt;__doPostBack es una función que genera un postback a nuestra página, el cual podemos capturar en el evento Load de la página.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: x-small;&quot;&gt;La estructura del&amp;nbsp;__doPostBack es la siguiente: &amp;nbsp;__doPostBack(&quot;target&quot;, &quot;argument&quot;); &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: x-small;&quot;&gt;Usando los parámetros podemos controlar el evento &quot;target&quot; y usar los parametros enviados en el &quot;Argument&quot;, de la siguiente manera:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #f9f7f5; font-size: 1em; line-height: 22px; margin-bottom: 10px; margin-top: 10px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 10px; padding-right: 10px; padding-top: 1em; text-align: left;&quot;&gt;protected void Page_Load(object sender, EventArgs e)
{
 if ((Request[&quot;__EVENTTARGET&quot;]!= null) &amp;amp;&amp;amp; (Request[&quot;__EVENTARGUMENT&quot;]!= null))
     {
   if((Request[&quot;__EVENTTARGET&quot;]==&quot;Update&quot;)&amp;amp;&amp;amp;(Request[&quot;__EVENTARGUMENT&quot;]==&quot;1945&quot;))
       {
          //Ejecutar nuestro código del lado del servidor;
       }
    }
 }&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://ingnetcolombia.blogspot.com/feeds/3894973649866334119/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://ingnetcolombia.blogspot.com/2012/03/call-server-methodo-from-client.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5008590345631794156/posts/default/3894973649866334119'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5008590345631794156/posts/default/3894973649866334119'/><link rel='alternate' type='text/html' href='http://ingnetcolombia.blogspot.com/2012/03/call-server-methodo-from-client.html' title='Call server methodo from client javascript'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14389045415125715406</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5008590345631794156.post-5827403695283633079</id><published>2012-03-27T12:29:00.000-07:00</published><updated>2012-06-13T06:51:00.558-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="aspnet"/><category scheme="http://www.blogger.com/atom/ns#" term="c#"/><category scheme="http://www.blogger.com/atom/ns#" term="Danny Fabian Duran Vesga"/><category scheme="http://www.blogger.com/atom/ns#" term="doble click"/><category scheme="http://www.blogger.com/atom/ns#" term="doble click server event"/><title type='text'>Dobleclick Server Event c# ASP</title><content type='html'>&lt;span style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;He venido trabajando en un proyecto web Asp .Net, y para redondear el problema, quería implementar el dobleclick en un listbox, y por otra parte ejecutar un evento del servidor llamado desde javaScript. Enseguida un paso a paso para comenzar a usar estas muy útiles funcionalidades.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px;&quot;&gt;La primera nos permite capturar el doble click para un control, para esto adicionamos el evento en el load de la página al control de la siguiente manera:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
nuestroControl.Attributes.Add(&quot;ondblclick&quot;, Page.ClientScript.GetPostBackEventReference(
nuestroControl, &quot;EventDblclick&quot;));&lt;br /&gt;
&lt;br /&gt;
GetPostBackEventReference nos d&lt;span style=&quot;background-color: white; font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px; line-height: 18px; text-align: left;&quot;&gt;evuelve una cadena que se puede utilizar en un evento de cliente para que se produzca una devolución de datos al servidor. El control especificado (&quot;&lt;/span&gt;nuestroControl&lt;span style=&quot;background-color: white; font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px; line-height: 18px; text-align: left;&quot;&gt;&quot;) para controlar la devolución de datos y un argumento de cadena con información adicional sobre el evento definen la cadena de referencia (&lt;/span&gt;&quot;EventDblclick&quot;&lt;span style=&quot;background-color: white; font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px; line-height: 18px; text-align: left;&quot;&gt;).&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px; line-height: 18px; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px; line-height: 18px; text-align: left;&quot;&gt;Ahora al realizar la acción de doble click sobre el control que le hemos adicionado nuestro evento nos hará un postback que vamos a capturar con el siguiente método:&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px; line-height: 18px; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; line-height: 18px; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: x-small;&quot;&gt;if (Request[&quot;__EVENTARGUMENT&quot;] != null &amp;amp;&amp;amp; Request[&quot;__EVENTARGUMENT&quot;] == &quot;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: small; line-height: normal; text-align: -webkit-auto;&quot;&gt;EventDblclick&lt;/span&gt;&quot;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AddElement();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px; line-height: 18px; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px; line-height: 18px; text-align: left;&quot;&gt;En el mismo page_load capturamos el Request[&quot;__EVENTARGUMENT&quot;], cual si corresponde a la acción de nuestro doble click, en el control que le especificamos, traerá como valor el nombre del evento que le hemos referenciado, para este caso &quot;&lt;/span&gt;EventDblclick&lt;span style=&quot;background-color: white; font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 13px; line-height: 18px; text-align: left;&quot;&gt;&quot;. Desde aquí podemos manejar el evento según sea necesario, para mi caso se trataba de adicionar lo seleccionado en un listbox para adicionarlo a una caja de texto. En fin hay muchas funcionalidades a mi parecer, por lo cual lo comparto.&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://ingnetcolombia.blogspot.com/feeds/5827403695283633079/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://ingnetcolombia.blogspot.com/2012/03/dobleclick-server-event-c-asp.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5008590345631794156/posts/default/5827403695283633079'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5008590345631794156/posts/default/5827403695283633079'/><link rel='alternate' type='text/html' href='http://ingnetcolombia.blogspot.com/2012/03/dobleclick-server-event-c-asp.html' title='Dobleclick Server Event c# ASP'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14389045415125715406</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5008590345631794156.post-7257669158067879164</id><published>2012-03-11T17:04:00.002-07:00</published><updated>2012-03-11T17:04:56.033-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="game c#"/><category scheme="http://www.blogger.com/atom/ns#" term="games winform"/><category scheme="http://www.blogger.com/atom/ns#" term="othello"/><category scheme="http://www.blogger.com/atom/ns#" term="Reversi"/><title type='text'>C# .Net Games WinForms Othello, Picas Fijas, Reversi</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;
En mis momentos de ocio y por esa gran pasión que llevo por mi profesión, desarrollé un par de juegos, que eran nuestro entretenimiento cuando eramos niños y mi papá nos compró el tan anhelado &quot;Atari&quot;.... era lo máximo !!!. En mi casa con mi hermana recordabamos cuando jugabamos othello, entonces me dió por construir una aplicación para jugar. Si no recuerdan othello o no lo conocen, acá les va una descripción:&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://1.bp.blogspot.com/-Z4xVkfNH9EE/T105e4L4uyI/AAAAAAAAAFQ/clvNmF1xSxk/s1600/othello.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://1.bp.blogspot.com/-Z4xVkfNH9EE/T105e4L4uyI/AAAAAAAAAFQ/clvNmF1xSxk/s1600/othello.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Se trata de un juego muy simple, donde hay dos jugadores, blanco y negro, la idea del juego es llenar el tablero de fichas con tu color, esto lo consigues cambiando las fichas de tu contrario, colocando un ficha tuya donde en línea recta hayan fichas de tu enemigo y al final haya otra tuya, en fín no se si sea claro, pero lo intenté. &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Les comparto&lt;a href=&quot;https://skydrive.live.com/redir.aspx?cid=f2a6a28e082a2067&amp;amp;resid=F2A6A28E082A2067!183&amp;amp;parid=F2A6A28E082A2067!146&quot; target=&quot;_blank&quot;&gt; mi juego&lt;/a&gt;, creado en vs .Net 2010, para que lo evolucionen a .net remoting, para que aprendan, además tiene muchas cosas muy recursivas.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Calma que eso no es todo, porque también tengo otro juego típico, con el que podemos aprender y enseñar, y se trata del punto fama, o fijas picas, no se que más nombres podrá tener.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Se trata de algo que jugabamos cuando niños, y consistía en que escribias en una hoja un numero de 4 cifras, donde no se podía repetir nungún número, y los demás concursantes hacían lo mismo; la idea era descubrir el número del otro, lanzando número, a alguién, ese alguién te decia cuantos número estaban de los que él tenía eran correctos, y cuantos de esos estaban en la posición adecuada, así hasta descubrir el número.... modestia aparte era muy bueno para eso, pero mi hermana nos jugaba sucio porque nos decia datos no muy ciertos, por lo que me inventé este proyectico para que jugaramos en el pc, y no hubiera oportunidad de fraude.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Entonces les hago entrega de &lt;a href=&quot;https://skydrive.live.com/redir.aspx?cid=f2a6a28e082a2067&amp;amp;resid=F2A6A28E082A2067!184&amp;amp;parid=F2A6A28E082A2067!146&quot; target=&quot;_blank&quot;&gt;Picas Fijas&lt;/a&gt;, tambien creado en .Net 2010. que lo disfruten.&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://ingnetcolombia.blogspot.com/feeds/7257669158067879164/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://ingnetcolombia.blogspot.com/2012/03/c-net-games-winforms-othello-picas.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5008590345631794156/posts/default/7257669158067879164'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5008590345631794156/posts/default/7257669158067879164'/><link rel='alternate' type='text/html' href='http://ingnetcolombia.blogspot.com/2012/03/c-net-games-winforms-othello-picas.html' title='C# .Net Games WinForms Othello, Picas Fijas, Reversi'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14389045415125715406</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-Z4xVkfNH9EE/T105e4L4uyI/AAAAAAAAAFQ/clvNmF1xSxk/s72-c/othello.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5008590345631794156.post-7644704188252491419</id><published>2012-03-07T10:40:00.004-08:00</published><updated>2012-03-08T05:47:15.342-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".Net"/><category scheme="http://www.blogger.com/atom/ns#" term="c#"/><category scheme="http://www.blogger.com/atom/ns#" term="Danny Fabian Duran Vesga"/><category scheme="http://www.blogger.com/atom/ns#" term="Enum"/><category scheme="http://www.blogger.com/atom/ns#" term="Enum string"/><category scheme="http://www.blogger.com/atom/ns#" term="key"/><category scheme="http://www.blogger.com/atom/ns#" term="string"/><category scheme="http://www.blogger.com/atom/ns#" term="value"/><title type='text'>Enum string - string (key - value) c#</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;Este es la solución práctica de un problema no problema, pues podríamos encontrar otras soluciones. Se trata de manejar Enum para estandarizar una lista enumerada, pero con llave &quot;string&quot; y clave &quot;string&quot;; para mi caso se &amp;nbsp;dió porque siempre me gusta dejar un código ordenado, elegante y entendible, entonces me encontré con un proyecto donde se usaban un listado de actividades, donde cada una de ellas tenía una definición en xml&amp;nbsp;estándar, la cual se usaba de manera constante en muchas partes del código, entonces se me ocurrió buscar una opción de manejar un Enum donde se declarara una sola vez estas actividades y simplemente por el nombre de la actividad, cargar su esquema.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;Entonces, acá tenemos la solución, que aclaró simplemente hice algunos cambios pues no es mi idea y no conozco el autor.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;Lo primero es armar nuestro Enum, el cual va a tener la siguiente estructura:&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://3.bp.blogspot.com/-K91M8Xpevyg/T1ep5PK_oBI/AAAAAAAAAE8/IsSxN2g8xUc/s1600/Enum1.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;137&quot; src=&quot;http://3.bp.blogspot.com/-K91M8Xpevyg/T1ep5PK_oBI/AAAAAAAAAE8/IsSxN2g8xUc/s400/Enum1.PNG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;Vemos que cada item tiene la propiedad por encima llamada descripción; En esta etiqueta vamos a ubicar los textos que necesitamos asociar a nuestra llave, para este caso se trata de un esquema XML (ejemplo), el cual necesito cargar cada vez que llame una de estas etiquetas.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;Ahora, para obtener la información asociada en la descripción usamos la siguiente función, la cual nos va a devolver la descripción según el valor llave del Enum:&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://3.bp.blogspot.com/-nPtNkazXXi0/T1ep5YERPcI/AAAAAAAAAFE/oLl8Mm0j5E8/s1600/EnumMethod.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;85&quot; src=&quot;http://3.bp.blogspot.com/-nPtNkazXXi0/T1ep5YERPcI/AAAAAAAAAFE/oLl8Mm0j5E8/s400/EnumMethod.PNG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
Funciona perfectamente, y nuestro código tendrá una lista&amp;nbsp;estándar y reutilizable. De nuevo les comparto, y espero les sirva, aunque no es un problema, podríamos mejorar mucho nuestro trabajo.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://ingnetcolombia.blogspot.com/feeds/7644704188252491419/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://ingnetcolombia.blogspot.com/2012/03/enum-string-string-key-value-c.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5008590345631794156/posts/default/7644704188252491419'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5008590345631794156/posts/default/7644704188252491419'/><link rel='alternate' type='text/html' href='http://ingnetcolombia.blogspot.com/2012/03/enum-string-string-key-value-c.html' title='Enum string - string (key - value) c#'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14389045415125715406</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-K91M8Xpevyg/T1ep5PK_oBI/AAAAAAAAAE8/IsSxN2g8xUc/s72-c/Enum1.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5008590345631794156.post-8229910607949846870</id><published>2012-03-07T06:17:00.001-08:00</published><updated>2012-03-08T05:48:30.927-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".Net"/><category scheme="http://www.blogger.com/atom/ns#" term="c#"/><category scheme="http://www.blogger.com/atom/ns#" term="Danny Fabian Duran Vesga"/><category scheme="http://www.blogger.com/atom/ns#" term="element"/><category scheme="http://www.blogger.com/atom/ns#" term="Elementos"/><category scheme="http://www.blogger.com/atom/ns#" term="get element from iframe"/><category scheme="http://www.blogger.com/atom/ns#" term="iframe"/><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><title type='text'>Encontrar elementos dentro de Iframe js</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #0c343d;&quot;&gt;Tuve un problema tratando de encontrar unas imágenes rotas dentro de un iframe, que proviene de un control llamado Datadynamics, pero la solución es muy generica por lo cual la comparto, pues de muchas opción que encontré en Internet casi que ninguna me sirvió, entonces hice una compilación de pruebas y construí algo que al final me solucionó el problema, y como ya es costumbre las comparto con ustedes.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #0c343d;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #0c343d;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #0c343d;&quot;&gt;Este ejemplo &amp;nbsp;corrige algunas imágenes que se cargaron sin el nombre de nuestro sitio, no es un problema común, pero hay partes importantes que podemos rescatar.&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #38761d; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: justify;&quot;&gt;function CorregirImagenes()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #38761d; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;text-align: left;&quot;&gt;&amp;lt;&lt;/span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #073763; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // obtiene el nombre de nuestro sitio&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #38761d; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var path = &amp;nbsp;&#39;&amp;lt;%=Context.Request.ApplicationPath %&amp;gt;&#39;;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #073763; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #38761d; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: justify;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #073763; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: justify;&quot;&gt;// Obtiene el iframe&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #38761d; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var ifReport = document.getElementById(&#39;IframeName&#39;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #38761d; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #073763; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: justify;&quot;&gt;// obtiene el document del iframe&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #38761d; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var doc = &amp;nbsp;ifReport.contentDocument || ifReport.contentWindow.document;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// se usa || debido a que en explorer usa una opción y los demás exploradores usan la otra&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;&lt;br style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: justify;&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #38761d; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #073763; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: justify;&quot;&gt;// obtiene el body del iframe&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #38761d; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var iFContent = doc.body;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Hasta este punto ya obtenemos lo que queramos dentro de este Iframe&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;&lt;br style=&quot;background-color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: justify;&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #38761d; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #073763; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: justify;&quot;&gt;// obtiene todas las imágenes dentro del body&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // ya obtenidas las imágenes les hago un proceso de inserción &amp;nbsp;del nombre del sitio para que las cargue correctamente, entonces una funcioncita por si necesitan hacer inserción de un string dentro de otro&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #38761d; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var imagenes = iFContent.getElementsByTagName(&#39;img&#39;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #38761d; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for( i=0; i &amp;lt; imagenes. length; i++)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #38761d; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;text-align: left;&quot;&gt;&amp;lt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #38761d; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var imagen = imagenes[i].src;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #38761d; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var urlimg = imagen.split(&quot;/&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #38761d; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #073763; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: justify;&quot;&gt;// debido a que la url de la imagen viene con &quot;/&quot; (http://localhost/sitio/corehandl**), hacemos un split y buscamos en la posición 4 el nombre del sitio, es decir [3], esto nos devolvería la palabra &quot;sitio&quot;, si esto es DIFERENTE a nuestro path &quot;/sitio&quot; (al cual le hacemos un substring para compararlo si el &quot;/&quot;), entonces le añadimos nuestro path.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #38761d; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(urlimg[3] != path.substring(1,path.length))&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #38761d; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;text-align: left;&quot;&gt;&amp;lt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #38761d; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var newurl = imagen.substring(0, imagen.indexOf(&quot;/CoreHandler&quot;)) + path + &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;imagen.substring(imagen.indexOf(&quot;/CoreHandler&quot;), imagen.length); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #38761d; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #38761d; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; imagenes[i].src = newurl; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #38761d; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;text-align: left;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #38761d; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;text-align: left;&quot;&gt;&amp;gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #38761d; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return false;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #38761d; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;text-align: left;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #38761d; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: justify;&quot;&gt;&lt;span style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #38761d; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20px;&quot;&gt;De nuevo espero a alguien le sirva, y comparta este conocimiento.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #38761d; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-align: justify;&quot;&gt;&lt;span style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://ingnetcolombia.blogspot.com/feeds/8229910607949846870/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://ingnetcolombia.blogspot.com/2012/03/encontrar-elementos-dentro-de-iframe-js.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5008590345631794156/posts/default/8229910607949846870'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5008590345631794156/posts/default/8229910607949846870'/><link rel='alternate' type='text/html' href='http://ingnetcolombia.blogspot.com/2012/03/encontrar-elementos-dentro-de-iframe-js.html' title='Encontrar elementos dentro de Iframe js'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14389045415125715406</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5008590345631794156.post-6318404552093756485</id><published>2012-02-21T11:49:00.001-08:00</published><updated>2012-03-08T05:49:48.393-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".Net"/><category scheme="http://www.blogger.com/atom/ns#" term="application"/><category scheme="http://www.blogger.com/atom/ns#" term="c#"/><category scheme="http://www.blogger.com/atom/ns#" term="Danny Fabian Duran Vesga"/><category scheme="http://www.blogger.com/atom/ns#" term="folder app"/><category scheme="http://www.blogger.com/atom/ns#" term="installer"/><category scheme="http://www.blogger.com/atom/ns#" term="installer action"/><category scheme="http://www.blogger.com/atom/ns#" term="shortcut"/><category scheme="http://www.blogger.com/atom/ns#" term="web"/><title type='text'>ShortCut WebApplication Installer Action</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;Hoy les comparto la manera de crear desde el Instalador Accesos directos para nuestras Aplicaciones web, usando acciones personalizadas de instalación, para lo cual les expongo las principales consideraciones para lograr configurar nuestro instalador y de paso aprender un poco más de este tema.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;como no es tema principal pero es indispensable para nuestro conocimiento, les comparto &lt;a href=&quot;http://codeissue.com/articles/a04df930da62eb1/create-asp-net-deployment-package-using-web-deployment-and-web-setup-project&quot;&gt;este blog&lt;/a&gt; que les dará una idea si aún no tienen el proyecto de instalación, pero igual hay muchas otros tutoriales googleando.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;Comenzaré explicando el contexto del problema:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;Tengo una aplicación web Empresarial, la cual quiero que una vez instalada en el cliente, me genere una carpeta con mi producto y dentro de ella un link que me permita acceder a ella directamente. Suena fácil, pero lo cierto es que el cliente puede modificar la ubicación de nuestro producto durante la instalación, por lo cual el acceso directo debe ser creado al momento de la instalación.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;Lo primero que haremos será adicionar una carpeta importante en el sistema de archivos de nuestro proyecto de instalación; para acceder le damos click derecho en el proyecto y seleccionamos Ver =&amp;gt; Sistema de Archivos. obtendremos algo como esto:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.wisdombay.com/articles/images/art000014_3.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;215&quot; src=&quot;http://www.wisdombay.com/articles/images/art000014_3.jpg&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;Ahora adicionamos la carpeta que me permitirá acceder desde &quot;Inicio Windows&quot; a nuestro producto. Para esto le damos click derecho en la raiz de nuestro sistema de archivos y seleccionamos la opción &quot;Menu programas de usuario&quot;. Dentro &amp;nbsp;de esta carpeta creamos la carpeta de nuestro producto &quot;PatitoSoft&quot;. Es importante que adicionemos algún archivo para que al instalar el producto se cree la carpeta, pues si esta se encuentra vacía, no se va a crear en nuestra lista de programas. (yo usé un link a nuestra página principal).&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;Ahora vamos al tema de configurar la creación de nuestro acceso directo, para lo que necesitamos adicionar una clase especial para tal acción &quot;INSTALLER CLASS&quot;. Esta clase se adiciona en la raiz de nuestro PROYECTO WEB, &quot;NO EN EL INSTALADOR&quot;, esta clase nos permite adicionar propio&amp;nbsp;código&amp;nbsp;durante la instalación.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;Al cargar la clase obtenemos una función por defecto la cual podemos eliminar y añadimos el siguiente código, que nos va a permitir obtener información de la instalación, la cual nos va a permitir crear nuestro acceso directo:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://2.bp.blogspot.com/-3u2vORG5dLA/T0PrDHqiJmI/AAAAAAAAAEs/vvAsgEE1il4/s1600/InstallerAction.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;266&quot; src=&quot;http://2.bp.blogspot.com/-3u2vORG5dLA/T0PrDHqiJmI/AAAAAAAAAEs/vvAsgEE1il4/s400/InstallerAction.PNG&quot; width=&quot;400&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&amp;nbsp;El &quot;Context.Parameters&quot; son parametros que debemos capturar antes de lanzar nuestra instalación, definiendolos en nuestro proyecto de instalación de la siguiente manera:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;En la nuestra &quot;carpeta de aplicación web&quot; debemos tener asociado el resultado de nuestro proyecto web, entonces vamos a la opción de Acciones personalizadas de este proyecto, dando click derecho en el proyecto de instalación y seleccionamos Ver =&amp;gt; Acciones Personalizadas.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;En la carpeta instalar, también debemos tener asociado el resultado principal de nuestro proyecto web. Lo seleccionamos y vamos a sus propiedades.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;En la propiedad CustomActionData adicionamos lo siguiente:&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;courier new&#39;; font-size: 10px; line-height: 17px; text-align: left;&quot;&gt;/TargetDir=&quot;[TARGETDIR]\&quot; /TargetVDir=&quot;[TARGETVDIR]&quot; /StartMenuFolder=&quot;[StartMenuFolder]\&quot; &lt;/span&gt;&lt;span style=&quot;background-color: white; line-height: 17px; text-align: left;&quot;&gt;&lt;span style=&quot;color: #073763; font-family: inherit;&quot;&gt;Esto nos va a permitir obtener los valores desde la clase installer a través del context.parameters. para aprender un poco más de los parametros de contexto, veamos &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/bb164728.aspx&quot;&gt;este link&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; line-height: 17px; text-align: left;&quot;&gt;&lt;span style=&quot;color: #073763; font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; line-height: 17px; text-align: left;&quot;&gt;&lt;span style=&quot;color: #073763; font-family: inherit;&quot;&gt;Las líneas de código &quot;System.Diagnostics.Trce.WriteLine&quot;, nos permite capturar desde el &lt;a href=&quot;http://help.eclipse.org/helios/index.jsp?topic=%2Forg.eclipse.jdt.doc.user%2Freference%2Fviews%2Fdebug%2Fref-debug_view.htm&quot;&gt;DebugView&lt;/a&gt;&amp;nbsp;los mensajes que le definamos.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;Una vez definidas las variables, lo siguiente que hace este código es buscar la carpeta &quot;PatitoSoft\Producto&quot;, dentro de archivos de programa, es decir, va a buscar la carpeta de nuestro producto y allí va a crear nuestro acceso directo, en nombre de nuestro directorio virtual y la página que definamos como inicial.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;Ahora, ya tenemos un instalador que nos crea un acceso directo a nuestra aplicación web y nos ubica nuestra aplicación entre el directorio de programas disponibles de windows.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;Pero el cliente también necesita desinstalar, o llegado un error de instalación debemos hacer RollBack de la creación del acceso directo, para que nuestra desinstalación sea limpia. Para esto usamos los siguientes métodos que harán el trabajo.&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://1.bp.blogspot.com/-7o78yQLSUVo/T0PrEVUfxvI/AAAAAAAAAE0/wBaMzDcjtSY/s1600/InstallerActionRolback.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;301&quot; src=&quot;http://1.bp.blogspot.com/-7o78yQLSUVo/T0PrEVUfxvI/AAAAAAAAAE0/wBaMzDcjtSY/s400/InstallerActionRolback.PNG&quot; width=&quot;400&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;a href=&quot;http://chriscant.phdcc.com/2009/01/custom-vs-web-setup-projects.html&quot;&gt;Este es el blog&lt;/a&gt; que me sirvió de guía para poder resolver el problema de instalación. Espero que sirva de ayuda y sea un poco más claro que el original.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ingnetcolombia.blogspot.com/feeds/6318404552093756485/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://ingnetcolombia.blogspot.com/2012/02/shortcut-webapplication-installer.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5008590345631794156/posts/default/6318404552093756485'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5008590345631794156/posts/default/6318404552093756485'/><link rel='alternate' type='text/html' href='http://ingnetcolombia.blogspot.com/2012/02/shortcut-webapplication-installer.html' title='ShortCut WebApplication Installer Action'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14389045415125715406</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-3u2vORG5dLA/T0PrDHqiJmI/AAAAAAAAAEs/vvAsgEE1il4/s72-c/InstallerAction.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5008590345631794156.post-4275710220088948189</id><published>2012-02-06T10:24:00.000-08:00</published><updated>2012-03-08T05:53:43.277-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".Net"/><category scheme="http://www.blogger.com/atom/ns#" term="batalla naval"/><category scheme="http://www.blogger.com/atom/ns#" term="battleship"/><category scheme="http://www.blogger.com/atom/ns#" term="c#"/><category scheme="http://www.blogger.com/atom/ns#" term="Danny Fabian Duran Vesga"/><category scheme="http://www.blogger.com/atom/ns#" term="project"/><category scheme="http://www.blogger.com/atom/ns#" term="proyecto"/><category scheme="http://www.blogger.com/atom/ns#" term="remoting"/><category scheme="http://www.blogger.com/atom/ns#" term="rmi"/><category scheme="http://www.blogger.com/atom/ns#" term="sea battle"/><title type='text'>BATALLA NAVAL .NET REMOTING</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;Hoy voy a compartirles un proyecto hecho con .Net Remoting, se trata del famoso juego de Batalla Naval. Este proyecto no está terminado del todo, pero todo el core esta hecho y podemos implementarle fácilmente su versión web e integrarla con la windows que es la original, pues su arquitectura permite la comunicación entre las dos plataformas.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;Estos son los pantallasos de lo que vana a encontrar, además de una pequeña explicación del código y algunas ideas que plantee para darle un toque distinto a este juego. Es decir que tenemos otras opciones más interesantes para jugar, y claro el código lo comparto con el fin de permitir que otros &quot;curiosos&quot; o a quién le haga falta para un trabajo de la U, aprenda y le aporte un poco.&lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://2.bp.blogspot.com/-TqSzRj8Wg0c/TzAXbnZspbI/AAAAAAAAADE/atbJSLWZuaQ/s1600/battle+2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;194&quot; src=&quot;http://2.bp.blogspot.com/-TqSzRj8Wg0c/TzAXbnZspbI/AAAAAAAAADE/atbJSLWZuaQ/s320/battle+2.png&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;Mis ataques certeros&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://2.bp.blogspot.com/-blNquBSyfZM/TzAXb6ToECI/AAAAAAAAADM/0cNp3i-STDA/s1600/battle+3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;194&quot; src=&quot;http://2.bp.blogspot.com/-blNquBSyfZM/TzAXb6ToECI/AAAAAAAAADM/0cNp3i-STDA/s320/battle+3.png&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;Mis ataques fallidos&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://2.bp.blogspot.com/-FE7WEL_p64c/TzAXceUR29I/AAAAAAAAADU/THDQCb3WtnI/s1600/Battle.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;194&quot; src=&quot;http://2.bp.blogspot.com/-FE7WEL_p64c/TzAXceUR29I/AAAAAAAAADU/THDQCb3WtnI/s320/Battle.png&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;mis naves&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;Para adelantarles un poco, y aprovechando la vista, tenemos el área de enemigos, de estado y de vista de ataques, además de un pequeño chat para adicionarle un toque de realismo al asunto y crear&amp;nbsp;expectativa&amp;nbsp;en tus ataques. &amp;nbsp;Por cuestiones de tiempo no lo terminé, pero la idea es tener dos tipos de juegos, uno por grupos y otro individual &quot;todos contra todos&quot;. Es decir que la primera opción seria unirme a un grupo y la segunda es el juego normal, pero con muchos enemigos.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;Este es el &lt;a href=&quot;https://skydrive.live.com/redir.aspx?cid=f2a6a28e082a2067&amp;amp;resid=F2A6A28E082A2067!177&amp;amp;parid=F2A6A28E082A2067!146&quot;&gt;documento&lt;/a&gt; del juego, aquí encontraran una explicación un poco mejor de lo que se esperaba, además les comparto el código en el siguiente&lt;a href=&quot;https://skydrive.live.com/redir.aspx?cid=f2a6a28e082a2067&amp;amp;resid=F2A6A28E082A2067!178&amp;amp;parid=F2A6A28E082A2067!146&quot;&gt; link (vs 2010 c#).&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;Espero lo disfruten, aprendan y enseñen con este material.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ingnetcolombia.blogspot.com/feeds/4275710220088948189/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://ingnetcolombia.blogspot.com/2012/02/batalla-naval-net-remoting.html#comment-form' title='2 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5008590345631794156/posts/default/4275710220088948189'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5008590345631794156/posts/default/4275710220088948189'/><link rel='alternate' type='text/html' href='http://ingnetcolombia.blogspot.com/2012/02/batalla-naval-net-remoting.html' title='BATALLA NAVAL .NET REMOTING'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14389045415125715406</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-TqSzRj8Wg0c/TzAXbnZspbI/AAAAAAAAADE/atbJSLWZuaQ/s72-c/battle+2.png" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5008590345631794156.post-931390803668465072</id><published>2012-02-02T05:18:00.000-08:00</published><updated>2012-03-08T05:56:19.584-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="0433"/><category scheme="http://www.blogger.com/atom/ns#" term="bin"/><category scheme="http://www.blogger.com/atom/ns#" term="c#"/><category scheme="http://www.blogger.com/atom/ns#" term="Danny Fabian Duran Vesga"/><category scheme="http://www.blogger.com/atom/ns#" term="emsamblador"/><category scheme="http://www.blogger.com/atom/ns#" term="Error cs0433"/><category scheme="http://www.blogger.com/atom/ns#" term="IIS"/><category scheme="http://www.blogger.com/atom/ns#" term="mas de una referencia a un emsamblado"/><category scheme="http://www.blogger.com/atom/ns#" term="reference assemblies"/><title type='text'>Compiler Error Message: CS0433</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;Este error &quot;CS0433&quot; se presenta al publicar un proyecto en nuestro IIS, y se debe a que al publicar algunas referencias se quedan pegadas y si le sumamos a esto que hicimos algún cambio de referencias, posiblemente obtendremos que al publicar la aplicación esta se encuentre con más de una referencia para un mismo ensamblado. Entonces llegan las dudas y las soluciones sacadas de películas de terror.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;Me dí cuenta que en el bin de mi proyecto, me referenciaba los mismos ensamblados pero con las versiones anteriores, es decir los mismos antes de cambiarlos, entonces borré el bin y generé una vez más, pero eso no sirvió de nada. La solución es muy sencilla, me fuí al IIS y borré el sitio, luego en mi proyecto le dí la opción en propiedades del proyecto de generar carpeta para el sitio, y compilé una vez más!!!. &amp;nbsp; y perfecto, soluciones tontas para problemas estúpidos.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;//Espero les sirva...&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://ingnetcolombia.blogspot.com/feeds/931390803668465072/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://ingnetcolombia.blogspot.com/2012/02/compiler-error-message-cs0433.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5008590345631794156/posts/default/931390803668465072'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5008590345631794156/posts/default/931390803668465072'/><link rel='alternate' type='text/html' href='http://ingnetcolombia.blogspot.com/2012/02/compiler-error-message-cs0433.html' title='Compiler Error Message: CS0433'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14389045415125715406</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5008590345631794156.post-6357391449008337619</id><published>2012-01-31T08:21:00.001-08:00</published><updated>2012-03-08T05:58:17.724-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="assemblies"/><category scheme="http://www.blogger.com/atom/ns#" term="cache"/><category scheme="http://www.blogger.com/atom/ns#" term="folder system"/><category scheme="http://www.blogger.com/atom/ns#" term="global"/><category scheme="http://www.blogger.com/atom/ns#" term="installer"/><category scheme="http://www.blogger.com/atom/ns#" term="Register"/><category scheme="http://www.blogger.com/atom/ns#" term="sistema de archivos"/><title type='text'>Registrar Assemblies en Global Cache desde instalador</title><content type='html'>&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: inherit;&quot;&gt;Me he encontrado con un problema muy simpático, al generar un instalador con un componente adicional en ClickOnce. Resulta que proyecto publicado necesita de unas&amp;nbsp;librerías&amp;nbsp;que necesitan estar registradas en la GAC, entonces pueda que necesitemos que nuestro instalador nos ayude un poco con esto, ya que no le vamos a explicar a un cliente que él debe registrar estos ensamblados manualmente, eso para ellos es como pedirle a un niño resuelva el problema de movilidad de Bogota (Colombia). pues bien, estos son los pasos.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763; font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt;Una vez creado el instalador (sino lo han creado&amp;nbsp;&lt;a href=&quot;http://www.onglasses.net/Default.aspx?id=1265&quot;&gt;este ejemplo&lt;/a&gt;&amp;nbsp;les puede servir&lt;/span&gt;&lt;span style=&quot;color: #073763;&quot;&gt;) debemos acceder al sistema de archivos, para esto le damos click derecho sobre el proyecto y seleccionamos ver -&amp;gt; sistema de archivos.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://1.bp.blogspot.com/-K3azNxHmz_w/TygSHQsi0FI/AAAAAAAAACU/6Q5KhHhHcFo/s1600/Captura.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;168&quot; src=&quot;http://1.bp.blogspot.com/-K3azNxHmz_w/TygSHQsi0FI/AAAAAAAAACU/6Q5KhHhHcFo/s320/Captura.PNG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;Ahora vamos a ver las carpetas por defecto de nuestro instalador:&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://3.bp.blogspot.com/-NiPxDMVXXmk/TygSHh8bItI/AAAAAAAAACc/-30nIGK34yY/s1600/Sistema+archivo.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;70&quot; src=&quot;http://3.bp.blogspot.com/-NiPxDMVXXmk/TygSHh8bItI/AAAAAAAAACc/-30nIGK34yY/s320/Sistema+archivo.PNG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;En la raiz de nuestro sistema de archivos le damos click derecho e incluimos una carpeta especial, para este caso, adicionamos la &quot;carpeta cache de ensamblados global&quot;, la cual nos va a permitir que adicionemos aquellos asemmblies que deben registrarse en la GAC.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Espero les sirva de apoyo.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Si quieren saber un poco más&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;http://msdn.microsoft.com/es-es/library/2kt85ked.aspx&quot;&gt;http://msdn.microsoft.com/es-es/library/2kt85ked.aspx&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ingnetcolombia.blogspot.com/feeds/6357391449008337619/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://ingnetcolombia.blogspot.com/2012/01/me-he-encontrado-con-un-problema-muy.html#comment-form' title='1 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5008590345631794156/posts/default/6357391449008337619'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5008590345631794156/posts/default/6357391449008337619'/><link rel='alternate' type='text/html' href='http://ingnetcolombia.blogspot.com/2012/01/me-he-encontrado-con-un-problema-muy.html' title='Registrar Assemblies en Global Cache desde instalador'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14389045415125715406</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-K3azNxHmz_w/TygSHQsi0FI/AAAAAAAAACU/6Q5KhHhHcFo/s72-c/Captura.PNG" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5008590345631794156.post-1605253822889273925</id><published>2012-01-26T14:43:00.000-08:00</published><updated>2012-01-26T14:43:38.592-08:00</updated><title type='text'>error MSB3321, Error importing key</title><content type='html'>&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;Despues de un par de días luchando contra este desconcertante error, y muchas horas destinadas a nuestro amigo Google, no puede encontrar solución que me sirviera. Al parecer este error es un gran monstruo que no se ha logrado descifrar, y si han llegado hasta acá se darán cuenta.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;Si han recibido el popup con el mensaje &quot;&lt;/span&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;em style=&quot;background-color: white; font-family: arial, sans-serif; font-size: small; font-style: normal; font-weight: bold; line-height: 16px;&quot;&gt;Object&lt;/em&gt;&lt;span style=&quot;background-color: white; font-family: arial, sans-serif; font-size: x-small; line-height: 16px;&quot;&gt;&amp;nbsp;already exists&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&quot; y luego &quot;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: arial, sans-serif; font-size: x-small; line-height: 16px;&quot;&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;&lt;b&gt;Importing key file &quot;*****.pfx&quot; was canceled&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&quot;, puede que esto les ayude.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;Estuve considerando que este problema se debe a algún error que cometí en mi proyecto aunque aún no lo sé, en cuanto a resolverlo converse con algunos de mis compañeros y probamos mil y una cosa, pero al final, probé sobre un proyecto nuevo, con la misma firma digital que me generaba tantos inconvenientes y funcionó perfecto. ¿Entonces porque no probar en mi proyecto, haciendolo desde cero?, ¿Quizas hay algo más que no no se puede ver?. Entonces me puse a la tarea de crear un nuevo proyecto, &quot;copiar y pegar&quot;, las clases, formularios, y hacer las respectivas referencias. Entonces probar y EUREKA!!!. El proyecto corrió normalmente y se publicó todo perfectamente.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;Espero esta ayuda que me hizo falta durante 3 largos días les funcione.&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://ingnetcolombia.blogspot.com/feeds/1605253822889273925/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://ingnetcolombia.blogspot.com/2012/01/error-msb3321-error-importing-key.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5008590345631794156/posts/default/1605253822889273925'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5008590345631794156/posts/default/1605253822889273925'/><link rel='alternate' type='text/html' href='http://ingnetcolombia.blogspot.com/2012/01/error-msb3321-error-importing-key.html' title='error MSB3321, Error importing key'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14389045415125715406</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>