Browse by Tags

All Tags » ASP.NET (RSS)

System.InvalidOperationException: jsdebug Web Service method name is not valid by jhallal

If you are getting a 'web service undefined' error when calling a web service from Javascript which is defined inside the ScriptManager tag like so: <asp:ScriptManager ID="ScriptManager1" runat="server"> <Services> <asp:ServiceReference...
Filed under: , ,

Displaying Summary Information (sum or total) in the GridView's Footer by jhallal

Challenge "I have a GridView and I need to show the aggregate sum of a column in the footer row" Introduction In this article I will go through steps to enable aggregation sum (total) of a column in the asp.net GridView Footer. Step1: Prepare Database...
Filed under:

jQuery 101 – The Basics by jhallal

What you should already know Before you start using jQuery, you should have a basic knowledge of: HTML CSS JavaScript What is jQuery? jQuery is a lightweight cross-browser JavaScript library designed to simplify the client-side scripting of HTML. It was...
Filed under: , , ,

The Style of the SP DateTimeControl is Corrupted by jhallal

I'm using a SharePoint DateTimeControl on a custom SharePoint page, while implementing theomplete behavior of the page I found that the DateTimeControl is not rendered properly on the page, the picker is opening but with no styles. Note that the control...

Large ViewState & ViewState chunking (maxPageStateFieldLength) by jhallal

The ViewState Chunking mechanism allow you to split the ViewState content into several chunks/hidden fields. The reason behind using this feature is that some proxies and firewalls will deny access to the aspx page that contains a huge ViewState size...

SharePoint Navigation - Setting the Audience Property of an SPNavigationNode by jhallal

In this tip/trick i will demonstrate a way of setting by code the target audience of an SP navigation node. You might say setting this property in SharePoint UI is quite simple, but if you want to set it by code you will not find any straight forward...
Filed under: , , ,

Label vs Literal in ASP.NET by jhallal

Unlike the Label control, the Literal control does not render any additional html tags thats why the best practice says: never use the ASP.NET Label control when a Literal can do the job. In different cases we use the Literal/Label controls to label input...
Filed under:

Escape Single Quotes Within JavaScript by jhallal

While I was trying to register a JavaScript code into an ASP.NET page I came across the need to ensure that passing a string to the JavaScript method would not cause an error ‘Unterminated string constant error’ upon rendering, this error could be caused...
Filed under: ,

Tips to improve asp.net application performance by jhallal

Over 4 years or so working with asp.net I have learned to avoid and do certain things that increase the performance of an asp.net web application, in this post I will offer some tips that I've found useful for writing high-performance ASP.NET applications...
Filed under:
More Posts