Bunch's Blog

One day I'll have a catchy subtitle, one day
posts - 87 , comments - 122 , trackbacks - 0

March 2008 Entries

Using Ajax Tabs
Prior to utilizing Ajax making a page with tabs was a bit of a pain. I would setup a MultiView and add in Views for each tab. Ajax’s Tab Container control is much easier to use. I’ve listed below the order on a sample aspx file that I setup the various Ajax controls to get it all to work. The only real tricks I saw were to add the ScriptManager and the order of the TabContainer/TabPanel/Conte... The ScriptManager and Tab controls went inside the <div> and I made sure that the toolkit ......

Posted On Tuesday, March 25, 2008 9:03 AM | Comments (2) |

Gibson vs. Guitar Hero!?
Well I'm confused. It looks like Gibson is suing Activision for patent infringement in their Guitar Hero series. To be brief Gibson guitars are the licensed guitars in the game, they always have been since the first game. The suit revolves around simulating a musical performance using an instrument. Last time I used a Guitar Hero controller it was just that, a controller. I can't recall being able to actually make music with the "instrument" only push buttons in time with the discs. With friends ......

Posted On Sunday, March 16, 2008 12:10 AM | Comments (0) |

Cascading DropDowns within a FormView (Without AJAX)
This was something else that gave me fits recently. I have a web app that uses a formview, which wasn’t that big a deal to me. Until I tried to have the value in one dropdown affect the value(s) in a second dropdown. For my problem the first dropdown holds manufacturer names and then the second displays the models by the selected manufacturer in the first dropdown. I could get the dropdowns to load up proper on the first load based on a SQL query, but the issue came about when I was testing changing ......

Posted On Monday, March 10, 2008 2:29 PM | Comments (1) |

Alternating Table Row Colors in SSRS (The Easy Way!)
A lot of the applications I work with utilize SQL Server Reporting Services (SSRS) for reporting. I was shown a way by the previous owner of an app to make a table show up in green bar (alternating colors). I added a function to the XML code for the .rdl to determine if the row is odd or even. Then I would add a <BackgroundColor> entry to each item in the table (again in the XML). It never took too long but was a bit of a pain to setup. I recently found a MUCH easier way. All you have to do ......

Posted On Friday, March 7, 2008 12:31 PM | Comments (6) |

Data into a SSRS Header
This was an issue for me a while back. I was making a report using SQL Server Reporting Services (SSRS) in SQL 2005 and I needed to put data into a textbox in the header. After searching the internet fairly thoroughly I found many posts and articles that pointed me in the right direction but they just didn’t work for me. The solution I used was to place a textbox on the body of the report and make it hidden. In the textbox I would add in the data I needed (i.e. =Fields or =Countrows). I would then ......

Posted On Wednesday, March 5, 2008 10:01 AM | Comments (20) |

Powered by: