Geekswithblogs.net

There are 15 entries for the tag Geekswithblogs.net

ProudMonkey Controls for ASP.NET 4.0 - Version 3

First of all I am so happy to know that many developers around the world uses my controls (~ it's really a big surprise to me. =} ). Thank you all and hope you'll continue to provide feedback or feature suggestions so that I can work on it on my free time. I've seen a lot of developers asking me via email, forums, blog comments, and private messages requesting how to use those controls in ASP.NET 4.0 with the latest release of AjaxControlToolkit. As you may know the previous dll of ProudMonkey controls...

A Monkey Talks about ASP.NET

Last week, I was interviewed by Zandra Nilocas from Microsoft Philippines. It was my first time experience to talk about something in front of the camera so it's not surprising that I looked like an idiot in that interview (you know swiveling my chair back and forth without noticing it). Anyway in the interview we talked about ASP.NET WebForms, MVC and Web Matrix in general and just to elaborate a bit of what we talked about and to clarify things out, I have decided to write this post... WebForms...

Selected as one of the GWB Influencers

Today, I'm surprised and honored to be one of the Geekswithblogs.net Infuencers. You can find more information here: http://geekswithblogs.net/I

ProudMonkey Controls for ASP.NET 4.0

Few months ago I have posted an article on how to use the ProudMonkey customized MessageBox, ConfirmBox and FrameBox controls for ASP.NET 3.5 here. Many developers are asking me via email and private messages requesting how to use those controls in ASP.NET 4.0. Obviously the previous dll will not work in ASP.NET 4.0 version because those controls are using AjaxControlToolkit 3.0.1106.0 which is not compatible with .NEt 4.0 version. So if you want to use the MessageBox, ConfirmBox and FrameBox controls...

Displaying All Images from the Folder in the Page

In my previous post I have demonstrated how to upload an image to a folder and display the image after uploading here. In this post I will extend a little bit of what I have demonstrated on my previous post. Basically I'm going to demonstrate how to display all the uploaded images from the folder in the web page on click of the Button. Here's the html mark up: ASPX: 1: <asp:FileUpload ID="FileUpload1" runat="server" /> 2: <asp:Button ID="Button1" runat="server" Text="Upload" onclick="Button1_Click"...

Highlight Row in GridView with Colored Columns

I wrote a blog post a while back before here that demonstrate how to highlight a GridView row on mouseover and as you can see its very easy to highlight rows in GridView. One of my colleague uses the same technique for implemeting gridview row highlighting but the problem is that if a Column has background color on it that cell will not be highlighted anymore. To make it more clear then let's build up a sample application. ASPX: 1: <asp:GridView runat="server" id="GridView1" onrowcreated="GridView1_Row...

FAQ: GridView Calculation with JavaScript

In my previous post I wrote a simple demo on how to Calculate Totals in GridView and Display it in the Footer. Basically what it does is it calculates the total amount by typing into the TextBox and display the grand total in the footer of the GridView and basically it was a server side implemenation. Many users in the forums are asking how to do the same thing without postbacks and how to calculate both amount and total amount together. In this post I will demonstrate how to do this using JavaScript....

New NDepend v3.5 Continuous Integration and Reporting Capabilities

Two months ago I blog about NDepend and it's main features here. Now the NDepend team present the new NDepend v3.5 Enhanced Reports. Check by yourself new reports on some of the most popular OSS projects: NHibernate v3.0.0.CR1 compared with v2.12.2.GA NUnit v2.5.8 compared with v2.5.3 Db4o v8.0.146.14426 Beta compared with v7.12.156.14667 CruiseControl.NET v1.5 RTM compared with v1.5 RC1 What you see here are out-of-the box reports generated in a few seconds. Everything in the report is customizable...

Editing, Updating and Deleting Data in the Form using LINQ to SQL

In my previous example we talked about how to fetch data from database and how to populate the form with data using L2S. In this example I’m going to extend a little bit of what I have demonstrated in my previous example. Basically I’m going to show you the basic way on how to edit and delete data from the form and update the database using L2S technology. Since this is a continuation of my previous example so I would suggest you to refer that first before you go any further. STEP 1: Setting up the...

Fetching Data from Database and Populating fields in the Form using LINQ to SQL

In my previous example I have demonstrated how to create a simple form that would allow users to insert data to the database using L2S. In this example I’m going to demonstrate how to fetch and filter data from database and fill the fields in the form using L2S. This example is basically a continuation of my previous example here. So I would suggest you to take a look at my previous example first before you proceed reading this example. STEP 1: Setting up the GUI To get started, add a new WebForm...

FAQ: How to- Generate Dynamic TexBox in the Form and Save the values to Database

Few months ago I've been seeing many users in the forum asking how to generate dynamic textbox on the form and save the values to the database on Button click, so I've decided to write this post and wrap up all the examples that I wrote before on how to accomplish the task using different controls so that when I encounter such or similar questions again in the forum, I can simply refer them to this post. Here are those examples: Using ASP Table: FAQ: Dynamically Adding Rows in ASP Table on Button...

Validate Image extensions upon Upload

In my previous two examples, we have learned on how to Upload and Save the Image to a Folder and path to database and how to Save the Image to the Database. The two previous examples only tackle the basics about uploading and saving a file without validating the file to be uploaded. In this example, I’m going to show on how to validate a file that only allows image files to be uploaded using server side validations. Here are the code blocks below: private void StartUpLoad() { if (FileUpload1.HasFile)...

Uploading and Storing Image Path to Database and Image to Folder - Part 2 (Displaying of Images)

In my previous example, we have learned on how to save the actual image to a folder and image path to the database. In this example, I’m going to show on how to display those images in a GridView and Repeater control. To get started, let’s create a method for fetching the image information from the database. Here’s the code block below: private DataTable GetData() { DataTable dt = new DataTable(); SqlConnection connection = new SqlConnection(GetConnection... try { connection.Open(); string...

Uploading and Storing Image Path to Database and Image to Folder - Part 1

I decided to write this example because this has been asked many times at the forums. In my previous article I have shown on how to Upload and Save the Images to Database, In this article I will show on how to upload and save the image to folder and path to database. To get started, let’s create a simple database table for storing the Image information and path to the database. I this example I named the table as “ImageInfo” with the following fields below: Note:I set the Id to auto increment so...

Comparison Between Standard WebParts, ASPNET Futures WebParts and Custom WebParts in ASPNET 2.0

I decided to post this because I wan't to share this information that I have gathered during my investation about ASPNET WebParts last 2007. Maybe this will be useful for those who are using ASPNET WebParts in ASPNET 2.0. Basically this information shows the difference between the Standard WebParts that shipped in ASP.NET 2.0, ASPNET Futures and My Custom WebPart with Custom Verbs. Main OBJECTIVES: * Allows cross browser drag and drop capability (can be moved between WebZones) * Ajax enabled Findings...