<?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-470192747387812100</id><updated>2024-09-22T04:42:27.048-07:00</updated><category term="ASP"/><category term="C#"/><category term="Firefox"/><category term="Gradient generator"/><category term="IE"/><category term="JQuery UI dialog"/><category term="MVC"/><title type='text'>Piotr Łuksza</title><subtitle type='html'>ASP .NET BLOG</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://pluksza.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/470192747387812100/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://pluksza.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Piotr Łuksza</name><uri>http://www.blogger.com/profile/04931582282788731226</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>20</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-470192747387812100.post-5466148689681189466</id><published>2013-12-02T04:41:00.004-08:00</published><updated>2013-12-02T04:41:58.306-08:00</updated><title type='text'>PowerShell - list all documents under directory</title><content type='html'>Few days ago i had to read some docs in solution, so i decided to write simple script to list all *.doc and *.docx files under specyfic directory. Here it is:

# View all text files 
$Dir = get-childitem E:\ClientSolution -recurse
# $Dir |get-member
$List = $Dir | where {($_.extension -eq &quot;.doc&quot;) -or ($_.extension -eq &quot;.docx&quot;)}
$List | format-table fullname</content><link rel='replies' type='application/atom+xml' href='http://pluksza.blogspot.com/feeds/5466148689681189466/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pluksza.blogspot.com/2013/12/powershell-list-all-documents-under.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/470192747387812100/posts/default/5466148689681189466'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/470192747387812100/posts/default/5466148689681189466'/><link rel='alternate' type='text/html' href='http://pluksza.blogspot.com/2013/12/powershell-list-all-documents-under.html' title='PowerShell - list all documents under directory'/><author><name>Piotr Łuksza</name><uri>http://www.blogger.com/profile/04931582282788731226</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-470192747387812100.post-4126431582918304912</id><published>2012-09-05T12:08:00.000-07:00</published><updated>2012-09-05T12:08:06.832-07:00</updated><title type='text'>ASP.net Version 4 with IIS7</title><content type='html'>

http://stackoverflow.com/questions/6104230/asp-net-version-4-with-iis7</content><link rel='replies' type='application/atom+xml' href='http://pluksza.blogspot.com/feeds/4126431582918304912/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pluksza.blogspot.com/2012/09/aspnet-version-4-with-iis7.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/470192747387812100/posts/default/4126431582918304912'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/470192747387812100/posts/default/4126431582918304912'/><link rel='alternate' type='text/html' href='http://pluksza.blogspot.com/2012/09/aspnet-version-4-with-iis7.html' title='ASP.net Version 4 with IIS7'/><author><name>Piotr Łuksza</name><uri>http://www.blogger.com/profile/04931582282788731226</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-470192747387812100.post-135470903833049720</id><published>2012-07-02T04:12:00.001-07:00</published><updated>2012-07-02T04:12:15.744-07:00</updated><title type='text'>TSQL - Reset Table Identity</title><content type='html'>http://blog.sqlauthority.com/2007/03/15/sql-server-dbcc-reseed-table-identity-value-reset-table-identity/</content><link rel='replies' type='application/atom+xml' href='http://pluksza.blogspot.com/feeds/135470903833049720/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pluksza.blogspot.com/2012/07/tsql-reset-table-identity.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/470192747387812100/posts/default/135470903833049720'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/470192747387812100/posts/default/135470903833049720'/><link rel='alternate' type='text/html' href='http://pluksza.blogspot.com/2012/07/tsql-reset-table-identity.html' title='TSQL - Reset Table Identity'/><author><name>Piotr Łuksza</name><uri>http://www.blogger.com/profile/04931582282788731226</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-470192747387812100.post-4336565556233670885</id><published>2012-05-07T01:25:00.000-07:00</published><updated>2012-05-07T01:25:15.704-07:00</updated><title type='text'>Unable to update the dependencies of the project</title><content type='html'>Simple solution is found &lt;a href=&quot;http://dotnetweblog.wordpress.com/2008/01/28/bug-unable-to-update-the-dependencies-of-the-project/&quot;&gt;Here&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://pluksza.blogspot.com/feeds/4336565556233670885/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pluksza.blogspot.com/2012/05/unable-to-update-dependencies-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/470192747387812100/posts/default/4336565556233670885'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/470192747387812100/posts/default/4336565556233670885'/><link rel='alternate' type='text/html' href='http://pluksza.blogspot.com/2012/05/unable-to-update-dependencies-of.html' title='Unable to update the dependencies of the project'/><author><name>Piotr Łuksza</name><uri>http://www.blogger.com/profile/04931582282788731226</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-470192747387812100.post-6140812491513119298</id><published>2012-03-18T06:47:00.003-07:00</published><updated>2012-03-18T06:47:10.461-07:00</updated><title type='text'>Awesome Regex tester</title><content type='html'>Regular expression is an important issue in .NET. &lt;a href=&quot;http://derekslager.com/blog/posts/2007/09/a-better-dotnet-regular-expression-tester.ashx&quot;&gt;Here&lt;/a&gt; we can find a fine tool to check our patterns, enjoy</content><link rel='replies' type='application/atom+xml' href='http://pluksza.blogspot.com/feeds/6140812491513119298/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pluksza.blogspot.com/2012/03/awesome-regex-tester.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/470192747387812100/posts/default/6140812491513119298'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/470192747387812100/posts/default/6140812491513119298'/><link rel='alternate' type='text/html' href='http://pluksza.blogspot.com/2012/03/awesome-regex-tester.html' title='Awesome Regex tester'/><author><name>Piotr Łuksza</name><uri>http://www.blogger.com/profile/04931582282788731226</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>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-470192747387812100.post-7848675308874455325</id><published>2011-12-03T10:07:00.001-08:00</published><updated>2011-12-03T10:07:22.243-08:00</updated><title type='text'>Drop all constraints from database</title><content type='html'>-- Drop all constraints
declare @sql varchar(1024)
declare curs cursor for
select &#39;ALTER TABLE &#39;+tab.name+&#39; DROP CONSTRAINT &#39;+cons.name
from sys.objects cons,sys.objects tab
where cons.type in (&#39;C&#39;, &#39;F&#39;, &#39;PK&#39;, &#39;UQ&#39;, &#39;D&#39;)
and cons.parent_object_id=tab.object_id and tab.type=&#39;U&#39;
order by cons.type

open curs
fetch next from curs into @sql
while (@@fetch_status = 0)
begin
exec(@sql)
fetch next from curs into @sql
end
close curs
deallocate curs</content><link rel='replies' type='application/atom+xml' href='http://pluksza.blogspot.com/feeds/7848675308874455325/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pluksza.blogspot.com/2011/12/drop-all-constraints-from-database.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/470192747387812100/posts/default/7848675308874455325'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/470192747387812100/posts/default/7848675308874455325'/><link rel='alternate' type='text/html' href='http://pluksza.blogspot.com/2011/12/drop-all-constraints-from-database.html' title='Drop all constraints from database'/><author><name>Piotr Łuksza</name><uri>http://www.blogger.com/profile/04931582282788731226</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-470192747387812100.post-8793295492034965120</id><published>2011-12-02T14:17:00.000-08:00</published><updated>2011-12-02T14:22:25.981-08:00</updated><title type='text'>Svn Error: Server sent unexpected return value (403 Forbidden) in response to OPTIONS</title><content type='html'>The fix is to navigate to All Programs --&gt; TSVN --&gt; settings --&gt;Saved Data ---&gt; Clear the Authentication Data. Secondly we should enter proper credentials and the problem should vanish. For more read the discussion at &lt;a href=&quot;http://stackoverflow.com/questions/2544594/tortoisesvn-trunk-checkout-server-sent-unexpected-return-value-403-forbidden&quot; target=&quot;_blank&quot;&gt;StackOverflow&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://pluksza.blogspot.com/feeds/8793295492034965120/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pluksza.blogspot.com/2011/12/svn-error-server-sent-unexpected-return.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/470192747387812100/posts/default/8793295492034965120'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/470192747387812100/posts/default/8793295492034965120'/><link rel='alternate' type='text/html' href='http://pluksza.blogspot.com/2011/12/svn-error-server-sent-unexpected-return.html' title='Svn Error: Server sent unexpected return value (403 Forbidden) in response to OPTIONS'/><author><name>Piotr Łuksza</name><uri>http://www.blogger.com/profile/04931582282788731226</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-470192747387812100.post-3150137850366372299</id><published>2011-11-11T11:27:00.000-08:00</published><updated>2011-11-11T11:33:25.909-08:00</updated><title type='text'>ASP MVC 3 Authorize bug Login</title><content type='html'>Fix is here
http://stackoverflow.com/questions/4087300/asp-mvc-problem-with-configuration-of-forms-authentication-section</content><link rel='replies' type='application/atom+xml' href='http://pluksza.blogspot.com/feeds/3150137850366372299/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pluksza.blogspot.com/2011/11/asp-mvc-3-authorize-bug-login.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/470192747387812100/posts/default/3150137850366372299'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/470192747387812100/posts/default/3150137850366372299'/><link rel='alternate' type='text/html' href='http://pluksza.blogspot.com/2011/11/asp-mvc-3-authorize-bug-login.html' title='ASP MVC 3 Authorize bug Login'/><author><name>Piotr Łuksza</name><uri>http://www.blogger.com/profile/04931582282788731226</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-470192747387812100.post-3405483967293451380</id><published>2011-07-29T03:01:00.000-07:00</published><updated>2011-08-27T18:34:03.770-07:00</updated><title type='text'>Visual Studio Tips and tricks</title><content type='html'>Check &lt;a href=&#39;http://www.codeproject.com/KB/tips/VSnetIDETipsAndTricks.aspx&#39;&gt;this&lt;/a&gt; article</content><link rel='replies' type='application/atom+xml' href='http://pluksza.blogspot.com/feeds/3405483967293451380/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pluksza.blogspot.com/2011/07/visual-studio-tips-and-tricks.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/470192747387812100/posts/default/3405483967293451380'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/470192747387812100/posts/default/3405483967293451380'/><link rel='alternate' type='text/html' href='http://pluksza.blogspot.com/2011/07/visual-studio-tips-and-tricks.html' title='Visual Studio Tips and tricks'/><author><name>Piotr Łuksza</name><uri>http://www.blogger.com/profile/04931582282788731226</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-470192747387812100.post-1812481695728769516</id><published>2011-07-22T02:59:00.000-07:00</published><updated>2011-07-22T09:29:46.454-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ASP"/><title type='text'>Web.config with special characters</title><content type='html'>The web.config is like any other XML file, so certain characters need to be encoded.
For example, &amp; should be written like this:
&lt;div style=&quot;padding 10px&quot;&gt;
&lt;img width=&quot;400&quot; height=&quot;20&quot; src=&quot;https://4781820720202546932-a-1802744773732722657-s-sites.googlegroups.com/site/lukszaapp/specialSignWebConfig.png?attachauth=ANoY7cpbaxcDXJQ_sQu6kh9KG5ZTbKfYp3BZWLpMhoJkbwCI8w44xLwc31UuOBEY2Km0J33BW5l4rGSHdLjsdx0BrHe5weO6UDRu4rI_HgZXGZoWkNeG9nB7DTq3R-Ev7ypWXMVb6uIBtS57vWSN9pqVBg7bHEqefeAXkS0VP1ecGIkhSpDu5ikxlPCqSvA1F_rEc80o-Nf2x6ySLEPtRkX3G4FQVG_NxQ%3D%3D&amp;attredirects=0&quot; /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pluksza.blogspot.com/feeds/1812481695728769516/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pluksza.blogspot.com/2011/07/webconfig-with-special-characters.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/470192747387812100/posts/default/1812481695728769516'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/470192747387812100/posts/default/1812481695728769516'/><link rel='alternate' type='text/html' href='http://pluksza.blogspot.com/2011/07/webconfig-with-special-characters.html' title='Web.config with special characters'/><author><name>Piotr Łuksza</name><uri>http://www.blogger.com/profile/04931582282788731226</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-470192747387812100.post-9146442489265774964</id><published>2011-07-15T03:10:00.000-07:00</published><updated>2011-07-16T03:50:07.478-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ASP"/><title type='text'>App_Offline.htm</title><content type='html'>Using &lt;b&gt;App_Offline.htm&lt;/b&gt; page is a nice trick, when we want to take our page offline for a while (for example under construction). More info we can find at &lt;a href=&quot;http://weblogs.asp.net/scottgu/archive/2006/04/09/442332.aspx&quot;&gt;ScottGu&#39;s Blog&lt;/a&gt;.</content><link rel='replies' type='application/atom+xml' href='http://pluksza.blogspot.com/feeds/9146442489265774964/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pluksza.blogspot.com/2011/07/appofflinehtm.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/470192747387812100/posts/default/9146442489265774964'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/470192747387812100/posts/default/9146442489265774964'/><link rel='alternate' type='text/html' href='http://pluksza.blogspot.com/2011/07/appofflinehtm.html' title='App_Offline.htm'/><author><name>Piotr Łuksza</name><uri>http://www.blogger.com/profile/04931582282788731226</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-470192747387812100.post-8625201008663052557</id><published>2011-07-07T00:45:00.001-07:00</published><updated>2011-07-07T00:47:08.744-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Gradient generator"/><title type='text'>Ultimate gradient generator</title><content type='html'>http://www.colorzilla.com/gradient-editor/</content><link rel='replies' type='application/atom+xml' href='http://pluksza.blogspot.com/feeds/8625201008663052557/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pluksza.blogspot.com/2011/07/ultimate-gradient-generator.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/470192747387812100/posts/default/8625201008663052557'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/470192747387812100/posts/default/8625201008663052557'/><link rel='alternate' type='text/html' href='http://pluksza.blogspot.com/2011/07/ultimate-gradient-generator.html' title='Ultimate gradient generator'/><author><name>Piotr Łuksza</name><uri>http://www.blogger.com/profile/04931582282788731226</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-470192747387812100.post-248925112024421960</id><published>2011-06-27T04:28:00.001-07:00</published><updated>2011-06-27T04:28:54.522-07:00</updated><title type='text'>Error 80070005</title><content type='html'>http://www.computerperformance.co.uk/Logon/code/code_80070005.htm#Solution_to_error_80070005_with_COM_component</content><link rel='replies' type='application/atom+xml' href='http://pluksza.blogspot.com/feeds/248925112024421960/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pluksza.blogspot.com/2011/06/error-80070005.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/470192747387812100/posts/default/248925112024421960'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/470192747387812100/posts/default/248925112024421960'/><link rel='alternate' type='text/html' href='http://pluksza.blogspot.com/2011/06/error-80070005.html' title='Error 80070005'/><author><name>Piotr Łuksza</name><uri>http://www.blogger.com/profile/04931582282788731226</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-470192747387812100.post-163114218020320253</id><published>2011-06-18T14:54:00.000-07:00</published><updated>2011-06-26T23:21:11.989-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><title type='text'>R# for C#</title><content type='html'>ReSharper is a intelligent extension for Visual studio that supports C#, XAML, XML, ASP.NET and ASP.NET MVC. Using this tool makes code cleaner and more efficient.
Here are some tips and tricks:
&lt;a href=&quot;http://www.maciejaniserowicz.com/post/2008/04/27/C-via-R2c-czyli-11-powodow-do-uzywania-ReSharpera-%28part-I%29.aspx&quot;&gt;polish&lt;/a&gt;
&lt;a href=&quot;http://blogs.jetbrains.com/dotnet/category/resharper-tips-and-tricks/&quot;&gt;english&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://pluksza.blogspot.com/feeds/163114218020320253/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pluksza.blogspot.com/2011/06/r-for-c.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/470192747387812100/posts/default/163114218020320253'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/470192747387812100/posts/default/163114218020320253'/><link rel='alternate' type='text/html' href='http://pluksza.blogspot.com/2011/06/r-for-c.html' title='R# for C#'/><author><name>Piotr Łuksza</name><uri>http://www.blogger.com/profile/04931582282788731226</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>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-470192747387812100.post-4095952539735585756</id><published>2011-06-18T11:43:00.000-07:00</published><updated>2011-06-23T05:05:53.243-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="JQuery UI dialog"/><title type='text'>JQuery UI dialog open - good practise</title><content type='html'>JQuery dialog is a fine plugin, but sometimes it doesn&#39;t work as we want to. I had a situation where my modal window pop up always third time and i had no idea why...
Event for my button was binded well and popUpWindow execute every time, but open: function had strange behaviour. The code looked like this: 

&lt;pre class=&quot;brush: js&quot;&gt; 
function popUpWindow(id, title, containerId) {
    $(&#39;#&#39; + id).dialog(&#39;destroy&#39;);
    $(&#39;#&#39; + id).dialog({
        autoOpen: false,
        bgiframe: true,
        modal: true,
        title: title,
        open: function (event, ui) {
            $(&#39;#&#39; + id).append(&quot;simple Div Tag&quot;);
            $(&#39;#&#39; + id).parent().appendTo($(&quot;form&quot;));
        },
        close: function (event, ui) {
            $(&#39;#&#39; + id).parent().appendTo($(&#39;#&#39; + containerId));
            $(&quot;body&quot;).css(&quot;overflow&quot;, &quot;auto&quot;);
        }
    });
    $(&#39;#&#39; + id).dialog(&#39;open&#39;);
    $(&#39;#&#39; + id + &quot; input:text:visible:first&quot;).focus();
}
&lt;/pre&gt;
Function worked fine everywere else except a one particular userControl.
The solution is to hold the modal div in a variable, so new funcion takes the form:
&lt;pre class=&quot;brush: js&quot;&gt; 
function popUpWindow(id, title, containerId) {

    var divObj = $(&#39;#&#39; + id);
    divObj.dialog(&#39;destroy&#39;);
    divObj.dialog({
        autoOpen: false,
        bgiframe: true,
        modal: true,
        title: title,
        open: function (event, ui) {
            divObj.append(&quot;simple Div Tag&quot;);
            divObj.parent().appendTo($(&quot;form&quot;));

        },
        close: function (event, ui) {
            divObj.parent().appendTo($(&#39;#&#39; + containerId));
            $(&quot;body&quot;).css(&quot;overflow&quot;, &quot;auto&quot;);
        }
    });
    divObj.dialog(&#39;open&#39;);
    $(&#39;#&#39; + id + &quot; input:text:visible:first&quot;).focus();
}
&lt;/pre&gt;
Hope this helps someone and saves precious time.</content><link rel='replies' type='application/atom+xml' href='http://pluksza.blogspot.com/feeds/4095952539735585756/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pluksza.blogspot.com/2011/06/jquery-ui-dialog-open-good-practise.html#comment-form' title='20 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/470192747387812100/posts/default/4095952539735585756'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/470192747387812100/posts/default/4095952539735585756'/><link rel='alternate' type='text/html' href='http://pluksza.blogspot.com/2011/06/jquery-ui-dialog-open-good-practise.html' title='JQuery UI dialog open - good practise'/><author><name>Piotr Łuksza</name><uri>http://www.blogger.com/profile/04931582282788731226</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>20</thr:total></entry><entry><id>tag:blogger.com,1999:blog-470192747387812100.post-3275258945412528437</id><published>2011-06-16T23:34:00.000-07:00</published><updated>2011-06-16T23:37:28.813-07:00</updated><title type='text'>Windows Process Explorer</title><content type='html'>Cool and free tool for manage process in Windows OS. It&#39;s free and avaliable &lt;a href=&quot;http://www.dobreprogramy.pl/Process-Explorer,Program,Windows,12562.html&quot;&gt;here&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://pluksza.blogspot.com/feeds/3275258945412528437/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pluksza.blogspot.com/2011/06/windows-process-explorer.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/470192747387812100/posts/default/3275258945412528437'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/470192747387812100/posts/default/3275258945412528437'/><link rel='alternate' type='text/html' href='http://pluksza.blogspot.com/2011/06/windows-process-explorer.html' title='Windows Process Explorer'/><author><name>Piotr Łuksza</name><uri>http://www.blogger.com/profile/04931582282788731226</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-470192747387812100.post-3818103980009079349</id><published>2011-06-16T17:28:00.000-07:00</published><updated>2011-06-26T23:21:52.456-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="MVC"/><title type='text'>ASP MVC 2 to MVC 3 project Conversion</title><content type='html'>To view simple tutorial how to transform our project to newest mvc version visit the &lt;a href=&quot;http://www.altcontroldelete.pl/artykuly/konwersja-projektu-asp-net-mvc-2-na-asp-net-mvc-3/&quot;&gt;page&lt;/a&gt; . Cheers !;]</content><link rel='replies' type='application/atom+xml' href='http://pluksza.blogspot.com/feeds/3818103980009079349/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pluksza.blogspot.com/2011/06/asp-mvc-2-to-mvc-3-project-conversion.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/470192747387812100/posts/default/3818103980009079349'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/470192747387812100/posts/default/3818103980009079349'/><link rel='alternate' type='text/html' href='http://pluksza.blogspot.com/2011/06/asp-mvc-2-to-mvc-3-project-conversion.html' title='ASP MVC 2 to MVC 3 project Conversion'/><author><name>Piotr Łuksza</name><uri>http://www.blogger.com/profile/04931582282788731226</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-470192747387812100.post-3832188729275711756</id><published>2011-06-16T17:16:00.000-07:00</published><updated>2011-06-16T17:24:22.239-07:00</updated><title type='text'>ILSpy - Alternative for .Net Reflector</title><content type='html'>ILSpy is simple and cool Tool basically for manage assemblies (browse, decompile and so on ).
We can find full documentation &lt;a href=&quot;http://wiki.sharpdevelop.net/ilspy.ashx&quot;&gt;here&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://pluksza.blogspot.com/feeds/3832188729275711756/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pluksza.blogspot.com/2011/06/ilspy-alternative-for-net-reflector.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/470192747387812100/posts/default/3832188729275711756'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/470192747387812100/posts/default/3832188729275711756'/><link rel='alternate' type='text/html' href='http://pluksza.blogspot.com/2011/06/ilspy-alternative-for-net-reflector.html' title='ILSpy - Alternative for .Net Reflector'/><author><name>Piotr Łuksza</name><uri>http://www.blogger.com/profile/04931582282788731226</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-470192747387812100.post-201684892382042194</id><published>2011-06-03T05:48:00.000-07:00</published><updated>2011-06-23T05:13:17.843-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="IE"/><title type='text'>IE 7,8  +Unexpected call to method or property access</title><content type='html'>This is few scenarios causing above error:
1.  Using Jquery append to input
&lt;pre class=&quot;brush: js&quot;&gt; 
$(&#39;.btnExample&#39;).append(&quot;Some html&quot;);
&lt;/pre&gt;
&lt;div&gt;&lt;/div&gt;
2. Setting hiddenField value
&lt;pre class=&quot;brush: js&quot;&gt; 
 $(&quot;#hdfSelectedTreeAccount&quot;).text(node.get_value());
&lt;/pre&gt;
instead of val() method
What&#39;s strange in other browser it works fine !@@@
&lt;div&gt;&lt;/div&gt;
3.  http://forum.jquery.com/topic/unexpected-call-to-method-or-property-access-in-ie8</content><link rel='replies' type='application/atom+xml' href='http://pluksza.blogspot.com/feeds/201684892382042194/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pluksza.blogspot.com/2011/06/ie-78-unexpected-call-to-method-or.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/470192747387812100/posts/default/201684892382042194'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/470192747387812100/posts/default/201684892382042194'/><link rel='alternate' type='text/html' href='http://pluksza.blogspot.com/2011/06/ie-78-unexpected-call-to-method-or.html' title='IE 7,8  +Unexpected call to method or property access'/><author><name>Piotr Łuksza</name><uri>http://www.blogger.com/profile/04931582282788731226</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>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-470192747387812100.post-5981437458003325478</id><published>2011-03-22T02:20:00.000-07:00</published><updated>2011-06-23T05:11:38.462-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Firefox"/><title type='text'>JavaScript cache Firefox</title><content type='html'>There are two ways to clear cache for javascript files:
1. Set
&lt;pre class=&quot;brush: js&quot;&gt;
network.http.use-cache = false
&lt;/pre&gt;
property in about:config preferences
2. Click CTRL-SHIFT-DELETE combination and select Clear Cache memory</content><link rel='replies' type='application/atom+xml' href='http://pluksza.blogspot.com/feeds/5981437458003325478/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pluksza.blogspot.com/2011/03/javascript-cache-firefox.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/470192747387812100/posts/default/5981437458003325478'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/470192747387812100/posts/default/5981437458003325478'/><link rel='alternate' type='text/html' href='http://pluksza.blogspot.com/2011/03/javascript-cache-firefox.html' title='JavaScript cache Firefox'/><author><name>Piotr Łuksza</name><uri>http://www.blogger.com/profile/04931582282788731226</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>2</thr:total></entry></feed>