arnoldmatusz

Stories submitted by arnoldmatusz

Take an ASP.NET Application offline with HttpModules(blog.dreamlabsolutions.com)

submitted by arnoldmatuszarnoldmatusz(600) 2 years, 8 months ago

Whenever you do maintenance work on a website it is advisable to show the visitors a nice message telling them politely to come back later, rather than a nasty error, or even worse: a big Yellow Screen of Death. Read how I found a solution similar to the app_offline.html approach using HttpModules and how I still allow administrators to access the website. read more...

add a comment |category: |Views: 393

tags: another

ASP.NET Menu with jQuery Superfish(blog.dreamlabsolutions.com)

submitted by arnoldmatuszarnoldmatusz(600) 2 years, 9 months ago

Choosing the right type of menu for a website is not easy at all. The ASP.NET Menu Control is definitely NOT a good starting point due to the horrendous markup it renders. The idea is to use a modified version of the CssFriendly Menu adapter with the jQuery Superfish plugin. read more...

add a comment |category: |Views: 1219

tags: another

ASP.NET Membership – Show list of users online(blog.dreamlabsolutions.com)

submitted by arnoldmatuszarnoldmatusz(600) 2 years, 10 months ago

ASP.NET Membership, Show list of users online.The MembershipProvider Class exposes the GetNumberOfUsersOnline() method which returns the number of users online. But what would it take to show a list of users online. read more...

add a comment |category: |Views: 193

tags: another

Enumerable.Except(T) and IEqualityComparer - a little help(blog.dreamlabsolutions.com)

submitted by arnoldmatuszarnoldmatusz(600) 2 years, 11 months ago

Understand how Enumerable operators: Except, Distinct, Intersect, Union work with IEqualityComparer and take a look at an example of LINQ Except with IEqualityComparer read more...

add a comment |category: |Views: 37

tags: another

run jQuery code from ASP.NET Server-Side(blog.dreamlabsolutions.com)

submitted by arnoldmatuszarnoldmatusz(600) 2 years, 11 months ago

The post is the example of an approach: how you would run some jQuery code from ASP.NET code-behind (server-side). If there is a ScriptManager on the page and the request was Asynchronous, then the JavaScript code needs to be registered with ScriptManager.RegisterClientScriptBlock. If the request is just a simple standard Postback, registering the JavaScript with Page.ClientScript.RegisterClientScriptBlock is the solution. read more...

add a comment |category: |Views: 102

tags: another

jQuery UI DatePicker instead of AJAX Control Toolkit CalendarExtender(blog.dreamlabsolutions.com)

submitted by arnoldmatuszarnoldmatusz(600) 3 years ago

The reasons why I abandoned using the CalendarExtender and choose to use the jQuery UI DatePicker instead. read more...

add a comment |category: |Views: 619

tags: another

jQuery live() and ASP.NET Ajax asynchronous postback(blog.dreamlabsolutions.com)

submitted by arnoldmatuszarnoldmatusz(600) 3 years, 2 months ago

The jQuery (1.3+) live event and why you have to know about it when working with ASP.NET Ajax asynchronous postback. This post also sums up what you can use to make your jQuery $(document).ready() call work also after an asynch postback took place. read more...

add a comment |category: |Views: 189

tags: another

jQuery $document.ready() and ASP.NET Ajax asynchronous postback(blog.dreamlabsolutions.com)

submitted by arnoldmatuszarnoldmatusz(600) 3 years, 3 months ago

Combine ASP.NET Ajax and jQuery and make $document.ready execute even after an asynchronous postback took place. read more...

add a comment |category: |Views: 586

tags: another

Syntax Highlighter for Windows Live Writer 2009(blog.dreamlabsolutions.com)

submitted by arnoldmatuszarnoldmatusz(600) 3 years, 3 months ago

Use this syntax highlighter plugin with Windows Live Writer 2009 to display highlighted code in your blog. The plugin automatically inserts the <pre> block around your code excerpt, and it lets you choose out of many options, based on how you would wish your highlighted code to look like. The plugin has been newly developed for ver 2.0 of http://alexgorbatchev.com/wiki/SyntaxHighlighter. Take a look at my blog to see an example or two. Use it, Kick it, It's free. read more...

add a comment |category: |Views: 26

tags: another

ModalPopupExtender to show a MessageBox(blog.dreamlabsolutions.com)

submitted by arnoldmatuszarnoldmatusz(600) 3 years, 4 months ago

How you can use a ModalPopupExtender to display a MessageBox read more...

add a comment |category: |Views: 293

tags: another

Visual Studio Macros increase productivity(blog.dreamlabsolutions.com)

submitted by arnoldmatuszarnoldmatusz(600) 3 years, 4 months ago

Learn basics of Visual Studio Macros, increase your productivity and decrease development time. read more...

add a comment |category: |Views: 29

tags: another

Refresh BlogEngine.net Posts – Clear Cache(blog.dreamlabsolutions.com)

submitted by arnoldmatuszarnoldmatusz(600) 3 years, 5 months ago

From now on, whenever you need to edit your blog post files offline, you can clear the cache at the push of a button. read more...

add a comment |category: |Views: 229

tags: another

Debugging tips and tricks for Visual Studio(blog.dreamlabsolutions.com)

submitted by arnoldmatuszarnoldmatusz(600) 3 years, 5 months ago

The Visual Studio Debugger contains a few features mentioning, which we should all use and take advantage of. I'm sure there will be many who allready know about the Breakpoint Conditions, Hit count and filters, but there will be plenty who don't. For these people this would almost be mandatory to read. Were these features known to you? Have you used them for long? Have they improved your productivity? Don't hesitate to comment and share your opinion with other readers. read more...

add a comment |category: |Views: 31

tags: another

LINQ to XML and LINQ to XML with XPath performance review(blog.dreamlabsolutions.com)

submitted by arnoldmatuszarnoldmatusz(600) 3 years, 5 months ago

Using a huge XML file (over 54MB) containing more than 120000 records from the SalesOrderDetail table out of the AdventureWorks database I went ahead and done some profiling on a sample project to demonstrate the lack of performance of LINQ to XML with XPath compared to normal XML. Why you should still use XPath and why you definitely have to take a look at LINQ to XML? Please take the time and read a short performance review and find out! read more...

add a comment |category: |Views: 236

tags: another

Failed to map the path '/App_GlobalResources/'(blog.dreamlabsolutions.com)

submitted by arnoldmatuszarnoldmatusz(600) 3 years, 6 months ago

Failed to map the path '/App_GlobalResources/' is an obscure exception generated due to some permission settings. FInd out what you need to check and change to get rid of this exception. Save yourself allot of time and solve the issue right away! read more...

add a comment |category: |Views: 93

tags: another

LINQ Method cannot be translated into a store expression.(blog.dreamlabsolutions.com)

submitted by arnoldmatuszarnoldmatusz(600) 3 years, 6 months ago

A short snippet/workaround if you ever see the following exception: LINQ to Entities does not recognize the method ... , and this method cannot be translated into a store expression. It is thrown because in the Entity Framework Custom Methods & Extension Methods cannot be translated into a store expression. read more...

add a comment |category: |Views: 814

tags: another