samples of mega menu with css3
http://net.tutsplus.com/tutorials/html-css-techniques/how-to-build-a-kick-butt-css3-mega-drop-down-menu/
thanks to http://net.tutsplus.com/tutorials/html-css-techniques/how-to-build-a-kick-butt-css3-mega-drop-down-menu/
12 October 2012
04 October 2012
Disable web.config to be inherited to child/sub domain
there are two ways of doing this.
1. we could tell to parent domain web.config to not inherit all the element
Thanks to http://www.aspdotnetfaq.com/Faq/how-to-disable-web-config-inheritance-for-child-applications-in-subfolders-in-asp-net.aspx
1. we could tell to parent domain web.config to not inherit all the element
<location path="." inheritInChildApplications="false"><system.web>
...
</system.web>
</location>
Note: by doing this, all the element will not be inherited to sub domain.2. we could clear the child domain to not use the inherited element from parent config
<httpModules><clear/></httpModules>
Thanks to http://www.aspdotnetfaq.com/Faq/how-to-disable-web-config-inheritance-for-child-applications-in-subfolders-in-asp-net.aspx
15 June 2012
Attach back database without the LDF file - workaround
i'm facing a problem that i have to shrink ldf file on sql 2008 because it's way too big now (2gb) .
unfortunately, somehow.. the shrink methode (DBCC) not working the way it should.
i have to shrink it otherwise my database server repository reach its max capacity.
i found a way to shrink it..(exactly.. replace it with a new ones) by doing this :
sp_attach_db @dbname = N'databasename', @filename1 = N'D:\Data\databasename.mdf'
(taken from http://social.msdn.microsoft.com/forums/en-US/sqldatabaseengine/thread/98a70bc6-7fbe-4b1d-8c8e-90ca0639a884/)
the purpose the make it small is achieve. but i dont know the effect in doing this..
anybody have experiece with it? please share to me...
thanks
unfortunately, somehow.. the shrink methode (DBCC) not working the way it should.
i have to shrink it otherwise my database server repository reach its max capacity.
i found a way to shrink it..(exactly.. replace it with a new ones) by doing this :
sp_attach_db @dbname = N'databasename', @filename1 = N'D:\Data\databasename.mdf'
(taken from http://social.msdn.microsoft.com/forums/en-US/sqldatabaseengine/thread/98a70bc6-7fbe-4b1d-8c8e-90ca0639a884/)
the purpose the make it small is achieve. but i dont know the effect in doing this..
anybody have experiece with it? please share to me...
thanks
30 April 2012
28 March 2012
Could not retrieve the current project on dbml
Again on DBML... hmmmpffh..
but this time the problem is different from the older one that i post (on june 2010 : Cannot Open DataExplorer Tab (dbml) in VS2008).
but anyway, again.. thanks to microsoft forum i have found the answer.
surprisingly, all went well after that.
:)
but this time the problem is different from the older one that i post (on june 2010 : Cannot Open DataExplorer Tab (dbml) in VS2008).
but anyway, again.. thanks to microsoft forum i have found the answer.
just open regedit and delete all subkeys below:
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\Packages
surprisingly, all went well after that.
:)
20 February 2012
Confirmation before window closes
The script below is to display to us a confirmation button(ok/cancel) before windows really closed.
<script type="text/javascript">
window.onbeforeunload = function(evt) {
var message = 'Apakah anda yakin menutup laman ini?';
if (typeof evt == 'undefined') {
evt = window.event;
}
if (evt) {
evt.returnValue = message;
}
return message;
}
<script>
window.onbeforeunload = function(evt) {
var message = 'Apakah anda yakin menutup laman ini?';
if (typeof evt == 'undefined') {
evt = window.event;
}
if (evt) {
evt.returnValue = message;
}
return message;
}
<script>
06 February 2012
Failed to access IIS metabase
What kind of error is this?? - That's the first thought that came to my mind...
Yeah. This was the problem recently i face.
You know what.. the solution was never been so hard..
i just did this... re-install iis
this is how you do it..
- go to command promt,
- go to this directory 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727'
- write this : 'aspnet_regiis -i'
that solve the problem.
Yeah. This was the problem recently i face.
You know what.. the solution was never been so hard..
i just did this... re-install iis
this is how you do it..
- go to command promt,
- go to this directory 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727'
- write this : 'aspnet_regiis -i'
that solve the problem.
Subscribe to:
Posts (Atom)