Recent Posts

1
Comments

Procedure or function expects parameter which was not supplied. by guru_sarkar

Recently I got this error when doing a ADO.NET database call using ExecuteReader. Procedure or function expects parameter '@myid' , which was not supplied. Actually, the error is kind of misleading. Why because I clearly adding my parameter @myid to the...
2
Comments

Twitter like server-side notifications with ASP.NET and jQuery by guru_sarkar

I have written a control that can be used to show notification messages like twitter from server-side. This control is kind of a wrapper around a jquery plugin called jnotify by Giva Labs . I thought I will put it up on web if someone wants to use it...
Filed under: , ,
3
Comments

jQuery UI Datepicker Visible upon first time page load by guru_sarkar

I have used jQuery UI Datepicker several times before but in one of my recent implementation, I started seeing this weird behavior. At the very bottom of my page there was a thin rectangular box. See the image below: When I selected that element it turned...
Filed under: , ,
0
Comments

Adjust Text Input and Textarea Fonts by guru_sarkar

I had my text inputs and textareas showing different text font though they were essentially using same styles like: input , textarea { // some styles}; The problem was the font styling was not included in the above css but was defined in body. I added...
0
Comments

Problem with Unordered List ( ul / li ) tags with fixed–width by guru_sarkar

This is a very simple issue. I had an unordered list with few items in it. I wanted all the li to be fixed-width. I set the width of the ul and li but it won’t work. Here is what it looked like: I wanted all li to spread evenly along the ul and not to...
Filed under: ,
5
Comments

Part 3: Showing ASP.NET Server-Side Messages in a Custom Dialog (Server-side with ASP.NET AJAX) by guru_sarkar

Scenario: There are times when you want to display validation or error message(s) to the user in a pop-up dialog. These messages could be coming from client-side or server-side. In this multi-part series I am going to provide you with the code to accomplish...
0
Comments

Get ValidationGroup of asp.net control in javascript by guru_sarkar

Technorati Tags: ValidationGroup , ASP.NET Validator , JavaScript Scenario: Updated : Example 1 scenario - I already posted about it earlier here but will leave it here for reference. Example 1: I wanted to run Page_ClientValidate upon selection change...
4
Comments

Part 2: Showing ASP.NET Server-Side Messages in a Custom Dialog (Server-side without ASP.NET AJAX) by guru_sarkar

Updated (03/28/2011): There were issues if you are using asp.net UpdatePanel and postback is coming from within the panel. So I have updated the code in the dowload and added a separate post to handle the issue. Please look at the Part-3: Include Messages...
8
Comments

Part 1: Showing ASP.NET Validation Summary in a Custom Dialog (Client-Side) by guru_sarkar

Scenario: There are times when you want to display validation or error message(s) to the user in a pop-up dialog. These messages could be coming from client-side or server-side. In this multi-part series I am going to provide you with the code to accomplish...
0
Comments

Custom Control with Embedded CSS and Images by guru_sarkar

Scenario: I am creating  an ASP.NET custom control (I will blog about it later) which requires embedded resources like CSS, JS and images. My control worked fine but the background image won’t show up.   My Initial Setup: I set the Build Action...
More Posts Next page »