Archive
يأتي على الناس زمان يصلون و هم لا يصلون
يأتي على الناس زمان يصلون وهم لا يصلون!!ء
قال تعالى :’ وذكر فان الذكرى تنفع المؤمنين ‘
روي أن سيدنا طلحة الأنصاري رضي الله عنه كان يصلي في بستانه ذات يوم ورأى طيرا يخرج
من بين الشجر فتعلقت عيناه بالطائر حتى نسي كم صلى, فذهب إلى الطبيب (الرسول صلى الله عليه وسلم.) يبكي ويقول :
Read more…
call JavaScript – jQuery code from ASP.NET Server-Side
jQuery got so close to me lately that I can see myself adding the scripts to my project almost unconsciously. The thing is, jQuery is very useful for me, in almost all situations and it has been a do or die enhancement for all my project since I first put my hands on it.
Of course while using it, you encounter few situations which need a bit of research to solve, mostly when you are trying to combine it with some other technologies like: UpdatePanels and ASP.NET Ajax. For instance there are many situations when I would like to run some jQuery magic based on some decision that I make on the server side. Read more…
xp_cmdshell disabled
As you are getting up to speed with SQL Server 2005, you might notice that scripts using master.dbo.xp_cmdshell no longer work:
Msg 15501, Level 16, State 1, Procedure xp_cmdshell, Line 1
This module has been marked OFF. Turn on ‘xp_cmdshell’ in order to be able to access the module.
This change is by design and is part of Microsoft’s overall “secure by default” approach. However, the error message is not very helpful in solving the problem, as there is no magic switch in Management Studio to enable this feature. To turn xp_cmdshell functionality back on, use the sa account or another administrator, and issue this code:
Some Asp.net Tips with javascript, masterpage , AJAX and jQuery
1- What is the difference between ID and ClientID For any server control ?
both of them is the same in page that don’t bind with master page
the difference will be in the ClientID will be changed and this one is used to deal with java script .
Ex: Read more…