News

Internet - .Net user group technical events, emerging .Net technologies;
General - Eco-travel, health and fitness, current events;
Community - Active volunteer with Hands On Miami, Non-Profit Ways;
.Net Framework - Detected 3.5 SP1 .NET Framework. No update needed ;
creative zen converter

Tweets












.Netframework


user interface, Toolbox, Common Controls, Properties, Pictures,and Containers

I am refreshing myself how to prgramming in VB again :-) The user interface is a very important part of any program: This is how people use your program it needs to look good and do its job well. Most important for beginner is how to use the Toolbox and how to make controls like buttons and checkboxes fit on the form better. Toolbox is where you will find all of things to add to your user interface like buttons and labels. If you don't see it (it's usually on the left) you can make it appear by clicking...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Ajax is a way to update a webpage without posting back

Any method marked as a Ajax.Method can be called by a javascript function. Here is a simple example that changes the innerHTML in a div when you change the selection on a dropdownlist. I change the innerHtml in a div to change what is displayed on the form. The choose a div because its innerHtml property is supported by both Firefox and IE. The Pages HTML <%@ Page Language="vb" AutoEventWireup="false" Codebehind="AjaxForm.aspx.vb" Inherits="AjaxDatagridHelp.... <!DOCTYPE HTML PUBLIC...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

AspNet: Paging a DataGrid (Webpage)

This sample needs only a webpage with a datagrid on it Private Sub Page_Load(ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles MyBase.Load Dim ds As DataSet DataGrid1.AllowPaging = True DataGrid1.PagerStyle.Mode = PagerMode.NumericPages DataGrid1.PageSize = 5 DataGrid1.PagerStyle.PageBu... = 5 If IsPostBack Then ds = DirectCast(Session("dataset"), DataSet) DataGrid1.DataSource = ds Else ds = New DataSet Dim dt As New DataTable dt.Columns.Add("Mycolumn") For i As Integer...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

AspNet: Dynamic creating buttons and setting the events of those

This is a sample to set buttons dynamicly on a webpage. It needs a panel on the page where the name panel is deleted and than run. The first idea of the sample was to create a calandar, so that is showed Private Sub Page_Load(ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles MyBase.Load Dim mybutton As Button Dim i As Integer For i = 0 To New Date().DaysInMonth _ (New Date().Year, New Date().Month) - 1 mybutton = New Button mybutton.BackColor = Drawing.Color.White mybutton.Text...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Asp.Net Routing

New to the .Net Framework 3.5 SP 1 is the System.Web.Routing namespace. The classes in the routing namespace allow you to use urls that do not map to a web page. For this example I created a new web application. To start off with lets add a reference to the system.web.routing and system.web.abstractions. Open up the web.config file and lets add the UrlRoutingModule to the httpmodules section <httpModules> <add name="ScriptModule" type="System.Web.Handlers.S... System.Web.Extensions,...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati