Intermittent

I may sometimes, possibly, in intervals, sporadically, periodically, and intermittently post things I might, conceivably, likely, peradventurely, and probably feel are of interest. These topics will range from technology, business, entrepreneurship, politics, food, wine, but is not limited to any of these aforementioned things. heh.

ID10T

clock December 26, 2007 13:03 by author Solburn

Ok this is hella funny! Opera is suing Microsoft in Europe and wants Microsoft to remove Internet Explorer from Windows...

http://nldd.lordabdul.net//12.html

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


tis the Season - www.kiva.org

clock December 26, 2007 06:33 by author Solburn

www.kiva.orgOne of the things I rec'd for Christmas was a $50 credit on www.kiva.org. The site is a facilitator for micro-loans to those that need them, usually in a 3rd world country and usually women.

The idea is you loan the money, it gets paid back, and then you can RE-LOAN the money to another person or group in need. It is a wonderful idea and I'm proud to be a part of this. You will receive email updates of the progress for those that you have donated to.

Take a look at www.kiva.org and read the what we do and how it works.

Merry Christmas all!

-Sol

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Google Ads

clock December 20, 2007 07:14 by author Solburn

I use Gmail and of course it is free, but is Ad supported. Well my name is Hank and my friend calls me Hanky Panky. Check out the ad that was shown in an email I was sent. I just HAD to laugh.

 

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Ajax enabled master/detail gridview with a hover panel

clock December 13, 2007 08:33 by author Solburn

Here's how I created a master/detail gridview where the detail data is shown in a hover panel.

Imports System.Text

Partial Class _Default

Inherits System.Web.UI.Page

Protected Sub GridView1_PageIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs)

'Include three second delay for example only.

System.Threading.Thread.Sleep(3000)

End Sub

Protected Sub GridView1_RowCommand(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewCommandEventArgs)

Me.HiddenField1.Value = e.CommandArgument.ToString()

End Sub

Protected Sub GridView1_RowDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewRowEventArgs)

'Primary Key from parent

Dim PrimaryKey As String = ""

'Name of the child update panel

Dim childPanel As String = "UpdatePanel2"

'Offset for x and y positions

'Offset is from upper left corner of PARENT object's current page location

Dim offSetX As Integer = 25

Dim offSetY As Integer = 25

'Skip the header and footer rows

If e.Row.RowType = DataControlRowType.DataRow Then

'Get the Datakey

PrimaryKey = Me.GridView1.DataKeys(e.Row.RowIndex).Values("ListId")

'Find the image and add a mouseover attribute to it.

Dim img As Image = CType(e.Row.FindControl("Image1"), Image)

'Mouseover will fire off the custom "DoPostback" javascript function.

'Check the DoPostBack(stringChildPanelName, stringPrimaryKey) javascript function for complete details

img.Attributes.Add("onmouseover", "DoPostback('" + childPanel + "', '" + PrimaryKey + "', this, 25, 25);")

End If

End Sub

' Here is where the hover panel recieves the Primary Key

Protected Sub UpdatePanel2_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles UpdatePanel2.Load

'The __EVENTARGUMENT is the parameter returned by the __doPostBack Javascript function

If Request.Params("__EVENTARGUMENT") IsNot Nothing Then

'I passed in my parameters as a comma separate string; needs to be parsed: primary key, x coordinate, y coordinate

Dim eventArgs() As String = Request.Params("__EVENTARGUMENT").ToString.Split(",")

'Set the hidden field that will be referenced by Child Panel Gridview's datasource

Me.HiddenField1.Value = eventArgs(0).ToString

'Show the div containing the child gridview and set its position using CSS

Me.div_Child.Visible = True

Me.div_Child.Attributes.Add("Style", "overflow:scroll; position:absolute; border:solid 1px navy; background-color:White; width:400px; height:400px; text-align:center; filter: alpha(opacity=95); z-index: 102; left: " + eventArgs(1).ToString + "px; top: " + eventArgs(2).ToString + "px;")

End If

End Sub

Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs)

Me.div_Child.Visible = False

End Sub

End Class

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Huckabee and Norris

clock December 5, 2007 07:33 by author Solburn

Awesome!

I guess I have to vote for Huckabee.

http://www.newsweek.com/id/73272

I don't want Chuck to round house me in the throat.

http://www.chucknorrisfacts.com

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Search

Calendar

<<  November 2008  >>
SuMoTuWeThFrSa
2627282930311
2345678
9101112131415
16171819202122
23242526272829
30123456

Archive

Tags

Categories


Blogroll

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2008

Sign in