My Photo

Search

  • Search the Web
    Google

May 2008

Sun Mon Tue Wed Thu Fri Sat
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

Creative Commons Attribution License

Welcome

    I am technology professional with over twenty eight years of experience. I have been working with Microsoft Technology since early 1990's with C and C++, currently most of my development experience is with C# and VB.Net.  I am currently, an Independent development consultant working for SCP Solutions.

    The purpose of this blog is to have a community where we can share through a collaborative experience all things Software Development.

May 02, 2008

The Big C

Large corporations spend millions on lobbyist so, when something big happens that goes against the norm it is big news. The Fed has finally taken action against the Big C (Credit Card Companies) in an article written by Jim Abrams of the Associated Press: Click Here for AP Article

My take on this article is good news! The Fed has taken action to try to reduce what the feds called Unfair and deceptive practices. In a nut shell and what I think is important is that they are trying to limit how often credit card companies raise rates for what I call no reason at all.

Let's See current and you know this happens! You make all your payments on time and you even pay more than your statements says but you get close to the limit and bingo your rate goes up for no reason other than you used the credit that they extend you. The reason they raised the rates what just because you got close to your balance and they think that is a higher risk even though you make all your payments and you pay more than you should because you are a good customer.

Has this happened to you! You know it has, come on!! No Lying!!!!

Plus come on! If the Association associated with the Big C is saying it is going to be bad you know the Fed got it right. Lets face it!


So I say Come on Fed do more Help out America, The Economy is in the toilet and needs help. Look at Gas! Oil companies are making more money than any other organization yet! they always have excuses about the price of Gas! Come On!

I know even this is kind of radicle for me but I just could not Resist. Even people like me who are not radicle and avoid these types of things can enjoy it once in a while!!!!!!!!

May 01, 2008

Leadership Series

This post is going to be a multi-part series on Leadership. Specifically the Historical perspective, I am going to link the historical research done on leadership to why we need strong leadership in IT today.

I am going to attempt to answer the question Why Leadership?

Why is Leadership Research important and why do we need strong leadership in the IT Realm to survive the new millennium.

The first part of this series is a short introduction into Leadership.

To read the Introduction click here

The second part of this series is a discussion of different Leadership Theories.

To read Leadership Theories click here

April 25, 2008

The Overlook

I just wanted to talk a little about a book I just finished by Michael Connelly called the Overlook

This book is part of the Harry Bosch series that Michael Connelly puts out. Without given away to much, I can say that Harry is a Detective who gets called to a Murder at the Overlook. He gets involved in much more than just a murder case and this book takes several unexpected turns and it is entertaining to the point I could not put it down. I finished this book in two days and I could not say more without giving away the book.

Needless to say I recommend this book totally and I just loved it. I just got his next book and can not wait to start to read it.  This is a great adventure and this author is terrific.

Widget Box

Well, Learning things everyday about the world of Blogging and web Networking. The interesting thing is that you would think create a Web site and they will come!

Not True! getting folks like yourself to read our web sites and learn from them is a very time consuming business. I am not complaining because I learn everyday it is just that from a time perspective it takes a lot of your time.

I found this site called WidgetBox.com it allows you to search for widgets to put on your site but it also allows you to create your own that you can create and put it into the gallery for people to search for and find.

This site allows you to customize and create the perfect and unique widget. Widgets not only need to be functional but they need to be appealing. As you can see on this site some of the Widgets look really nice and some look like I should take them down and retire them to that wonderful circular file system called the Trash Can.

  This blog not only talks about everything Technology but, it also hopes to make all my readers think about what the future holds. So for everyone reading this site not only think about what we currently can do with the web but about what the future holds. Think about it! It is endless!

Every major company now has a Website and if you asked then 10 years ago they would of looked at you and said What NEVER!! It is a waist of our time the internet is nothing more than a government thing.

Look at us now!  Everyone is on it and every company!!

We can do it and Keep dreaming!!!!!!

April 24, 2008

Widgets, Widgets and more Widget

Well, Widgets Widgets and more Widgets. As you can tell I have been playing with all things widgets!

The interesting thing is that widgets really do save the blogger time but I will say they are never quite what you are looking for. There is always something to do or something that just does not look right.

As you can see here the two new Widgets I have added today just do not look right with a White background but don't worry I will fix them soon.

A note to all Bloggers Just KOB (Keep on Blogging)!!!!

April 23, 2008

How to Address a Web Control on a Web Form from another Web Form using Java Script.

I have recently received questions on how to address a Web Control from another page. This is useful when you need to pass values back but do not want to cause a PostBack. A PostBack for anybody who does not know what they are is when an event causes the Web Server to refresh a page from the server to the Client.

 

The Main Form

 
Create a Function for instance a Lcik function in JAva and tie this to the Event on a Control for instance a Data Grid Click:

function dgSummary_CellClickHandler(gridName, cellId, button)
                    {
                    //Add code to handle your event here.
                   var row = igtbl_getRowById(cellId);   ----- this gets the Row from the PArticular Cell
                           var grid = igtbl_getGridById(gridName);  --- this gets the Grid Handle by Grid Name
                           var band = row.Band; ============== This gets the Particular Band the Row is in
                           var col = igtbl_getColumnById(cellId); --- This gets the Proper Column
                           var Cell = igtbl_getCellById(cellId); ---- This gets the Cell handle - this is not really needed.
                        
                   
                        
                             //Check to see if it is the PArent BAnd         
                           if (band.Key == "Summary")   
                           {                                             
                             //Check to see if the Cust ID column is selected for edit.                        
                             if(col.Key == "Cust ID")
                              {   
                               if(row.getCellFromKey("Select Status").getValue() == "C")
                               {
                               //Ignore Rows with a Status of C
                               }
                               else
                               {       
                               //Open the Customer Lookup Windows the user can search for the proper Customer          
                                window.open('CustomerLookup.aspx','wCustomer','left=20,top=20,width=900,height=600,toolbar=0,resizable=1'); --- Then Call the new form and create a Handle back to the Form, in this case wCustomer
                               }
                              }                           
                              
                           }
                     
                    }

 

The Second form that was Opened by the Above Call

function dgVendorLookup_AfterRowActivateHandler(gridName, rowId)
{ //Add code to handle your event here.

   ----------- The below variable is a Pointer back the the Calling Form's Control this will allow you to put a value back to the calling for for use by the calling form. Notice that the 'WebPanel1xdgSummary' is the HTMLElement that we would like to reference from the calling form;

          var objOtherGridRow = window.opener.igtbl_getActiveRow('WebPanel1xdgSummary'); //.igpnl_getPanelById('WebPanel1');

if (objOtherGridRow)
{
//Get Active Row On Current Page
var objLocalGridRow = igtbl_getRowById(rowId);
if (objLocalGridRow)
{
//Push Local Row Cells To Corresponding Other Page's Row Cells
                     objOtherGridRow.getCellFromKey("VendorID").setValue(objLocalGridRow.getCellFromKey("Vendor ID").getValue());
}
    }    
    window.close();}

I hope  you found this useful. Using this type of technique will allow you as the developer to always address an HTML or Web Control element from another form. Now this particular Javascript is using a datagrid but if you where using a regular html element you can address those using the same method but you would have to use he html UI element function in javascript to get the handle back to that element.

April 22, 2008

Leadership Series

This post is going to be a multi-part series on Leadership. Specifically the Historical perspective, I am going to link the historical research done on leadership to why we need strong leadership in IT today.

I am going to attempt to answer the question Why Leadership?

Why is Leadership Research important and why do we need strong leadership in the IT Realm to survive the new millennium.

The first part of this series is a short introduction into Leadership.

To read this series please click here
Blog powered by TypePad

Ads

  • Please help our Partners

Referrals

  • Please check out our Supporters

Tools

  • Google Analytics