Skip to main content

Posts

Showing posts from September, 2006

frustating Web

been a while (again :D) since my last post.. well the Web is in slow progress since i've decided to make something new but i ended up with nothing then i decided to follow the e-book again until i learn something new.. the list is too long to describe what i want to do with it.. see u soon..not with frustating title :)

get out from ur 'comfortable line'

well it's weird that we can learn new thing from something that even we never imagine gonna learn from, well at least that's what hapenned to me :D yesterday, hm..maybe the day before yesterday i read a mags call Amagram which come from Amway (maybe u already familliar before) there's a section where people that emerald above i think can write their opinion..something that interest me is from i forgot but i remember see them at BBS(abbreviation of something :D) where they just being first emerald or something, the way they tell story is funny..:D well anyway..it said that we must leave or line of comfortable so we can achieve something that we never imagine before..(or something like that..) if i take picture of myself it that position i think i found an answer why i have such hard time leaving my present job eventhough i got well maybe 3 interviews from 20 jobs i proposed :D i got so comfort now in my office where i get paid eventhough i didn't do anything meaning not ...

Page_Load issue (make me stress for 3 days)

well it's usual if u have Page_load event at for ur web page, it might look something like this Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) handles Mybase.Load ... End Sub it won't be a problem if u .NET handle everthing for u..for example it would displayed an error page with all those stuff that only developer that fine with it.. it'll be a trouble if u want to display ur own error description(if ur page is inherited by ur own page base class that will handle the error more elegantly) the key is to addHandler at page init event for each Page that inherits from the Page Base Class(will occured before page being displayed) and remove those bold area it will look something like this Private Sub Page_Init( _ ByVal sender As Object, _ ByVal e As EventArgs) _ Handles MyBase.Init 'CODEGEN: This method call is required by the Web Form Designer 'Do not modify it using the code editor. AddHandler Me.Load, A...

the Web so far

my head is very very full after yesterday and the day before yesterday 'playing' with __doPostBack Javascript..o no..full of code at my head now well using that in plan to do some processing from the ClientSide script to ServerSide script so ex: i want to validate the Date that user entered before it saved to database.. sso the scenario is something like this: i have three HTML textbox (say DayText, MonthText, YearText) to input DateOfBirth so my planned were used ValidateDate Javascript function to assign the three value to HTML input hidden then call ValidateDate Server side function(or code behind) and use those three HTML input hidden and validate to see if current DayOfBirth is valid or not..(guess what happened if naughty user entered 30 - Feb - 1980) but i make it a hard way and it ended up nothing.. just use tag or HTML textbox then add runat=server id=textboxid tag and u can use it all along at the code behind or if u want to clear text at WebServer textBox when got f...