Skip to main content

Posts

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...

the Web

the progress is now i've reach the account management system well just started making the Database, Table, SPROC and also the Data Tier for Accounts well new progress..after a while it already have Configuration, and now begin to the detail of the web like Pages (.aspx)..now i'm still working for Account Registration.. well most of the time is just doing copy and paste the code behind it..:D but i kinda learn someting too..now i understand about .css and HTML tag :D..thank God there's something that i found from this one :D well hopefully i be able to do without copy paste it soon.. see u

__doPostBack

yes it is javascript function..eventhough i never used any but it used at my web.. it act amazing (well i'm still new :D) to me the __dopostback (with 2 underscore at front) is like a function that call an ID of an control (.NET in my case) so it can execute the code behind those control ex: i have one link button that with ID 'Delete' and a javascript function that would prompt user wether he/she want to delete it and also Delete_Click sub at code behind function Delete() { if (confirm( 'Do you want to delete the selected folder(s) and/or file(s)?')) { __doPostBack('Delete', ''); } } and a linkbutton that call Delete_OnClick sub at the code behind page so it works like this: 1. it will executed the javascript function, prompt for "Do u want bla222" 2. if already confirm then it will search for a control ID and execute the event for coressponding control..since it only have OnClick event in my case so it execute the ...

the Web progress ...

well..it moving fast..well at least i'm learning fast coz found a great e-book call ASP.NET Website Programming :Problem,Design,Solution Wrox Press which cover problem, design, solution..not indeep explained but u can work it out while making a progress since it cover technique that i never imagine before and also it using N-tier approaching :D the Web is now can transfrom XML to perform CSS using XSLT..great technique since it reduced time to develop new CSS if u want any changes made but the trouble is now..i'm stuck at the code since i'm never imagine .NET can do that :D..not progress enough at the code yet..but well i'm still learning..newbie :D must learning again..bye for now PS: if u have a time then read the book, great information in there