July 2009 - Posts

0
Comments

Practical Javascript 7: PageRequestManager's Begin and End Events by avcajipe

Scripts handlers has worked for me so far because they define in the page processing life cycle those previously obscure phases where (we wished in the past) we could perhaps execute some client-side scripts. These are the PageRequestManager Events ....
Filed under: , ,
0
Comments

Practical Javascript 6: Validating Text Input Length by avcajipe

Another common validation task that can be more successful if implemented on the client is the length restriction of inputs. Off the bat, we have this handy property in an order textbox. < asp : TextBox ID ="TextBox1" runat ="server"...
Filed under: , , ,
2
Comments

More Proof that I can be lazy by avcajipe

Likes : Having a stored procedure that attempts to do everything, as in the whole CRUD salad. Dislikes : Having to create lots of separate stored procedures if I can the first option is feasible. Thank God for dynamic queries for that. /* * Name : MY_LAZY_SP...
0
Comments

Where the passionate geeks go by avcajipe

May 24, 2008 saturday morning, EnergizeIT 2008 . Toronto Congress Center, Canada. Not a rock concert event but a conference for geeks, dorks and everything in between.
Filed under:
2
Comments

C# Quirk 1: Pretty Useless Method by avcajipe

Since asp.net 1.0/1.1, I enjoyed storing my settings in web.config because it’s both fast and convenient. < appSettings > < add key = " activeEnvironment " value = " dev " /> </ appSettings > Reading them is...
0
Comments

Practical C#9 - Simple Asynchronous Implementations by avcajipe

2 ways I came up with implementing “fire-and-forget” asynchronous calls: Method 1: using System.Threading; ... //might be binded in a button-click protected void but_click( object sender, eventArgs e) { if ( ThreadPool .QueueUserWorkItem(...
Filed under: ,
1
Comments

Practical C#8 - The Callback Model by avcajipe

Client Callbacks fascinate me because it works differently from the standard postback of the ASP.NET Model. The MSDN documentation for Client Callbacks : In the default model for ASP.NET Web pages, the user interacts with a page and clicks a button or...
Filed under: , , ,
0
Comments

I like JQueryUI by avcajipe

I'm starting to favor the jQuery ui more and over the ajax control toolkit, but that's just me. http://jqueryui.com/themeroller/
Filed under: ,
0
Comments

Practical C#7 - AjaxControlToolkit Sliders by avcajipe

I am all over web programming techniques that present both practical function and visual appeal. One of team is the AjaxControlToolkit’s slider . In this project, I needed to get user input in the form of percentage ranges that would represent exam...
1
Comments

Practical C#6 - Using DBauer's HierarGrid by avcajipe

I used DBauer’s HiraraGrid ( http://aspalliance.com/articleViewer.aspx?aId=21&pId =) control for some time now and I thought I’d give it justice by demonstrating how it worked for a kiosk site I used to work on. My development goal was...
Filed under: , , ,
2
Comments

Confessions of an Asp.Net developer by avcajipe

Confessions of an asp.net developer. 1. I’m just as lazy as the next developer, I want to see something up and running in the first 15 minutes of development. I like code snippets. 2. I like using tables. 3. My css tends to be unorganized and messy...
Filed under: , , ,
3
Comments

Click to go away by avcajipe

A few not too distant internet years ago, I was among who had been extremely annoyed with this IE error in developing pages that had ActiveX content (like Flash movies). Later browsers, (current IE7+) didn’t anymore encountered this error. But if...
Filed under:
1
Comments

Practical C#5: On Declarative Programming by avcajipe

I like doing things the quick, easy (and lazy) way to achieve certain functionalities. For me, what better way to this than program something declaratively? I had a development scenario I had to create an efficient navigation for a directory of country...