29/10/2011
Facebook - You are still registered to the stc facebook sms service
To inactivate this message, follow the following way:
Stc >> Send غ to 86677
Mobily >> Send غ to 606050
Zain >> Send غ to 710700
Read more...
02/06/2011
Web Service - wsdl
You can use the windows service by add it in your project as reference, but there is another way to use the web service, by create the class for this service.
You can apply this action by using the wsdl.exe.
how??
C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin>wsdl /out:d:\WebServiceClass.cs .asmx?wsdl
after that, add this class to your project and use the functions of the service.
Read more...
27/05/2011
20/05/2011
06/04/2011
10 ways to call Javascript code using C# and ASP.NET
There 10 ways to call Javascript code using ASP.NET and C#, you can download the attached files and test all ways.
http://www.4shared.com/file/L8-tE7DV/CallJSCode.html
http://www.4shared.com/file/L8-tE7DV/CallJSCode.html
Read more...
23/03/2011
Close Tab Using ESC
<html>
<head>
<script>
function checkForEsc(e)
{
if(!e)
e = window.event;
var key = e.keyCode;
if(key==27)
doCancel();
}
function doCancel()
{
window.parent.close();
}
</script>
</head>
<BODY onkeypress=checkForEsc(event);>
</body>
</html>
Read more...
22/02/2011
07/02/2011
Remove the page title if you use ScriptManager
If you use an ajax, there is problem will appear with sharepoint, the page title will be removed.!!
how??
for example, If you use the ajax with button, and you put the scriptmanager into masterpage, and the user clicked it, the page title will be removed.
To solve this issue:
- Open the masterpage of your site using sharepoint designer.
- add the scriptmanager direct under form tag.
- remove any extra code from title place holder, the title place holder will be appear with the follwoing format:
<title id="onetidTitle"><asp:ContentPlaceHolder id=PlaceHolderPageTitle runat="server" /></title>
save, and check in.
Test now...
Read more...
التسميات:
ASP.NET,
Sharepoint,
Sharepoint Designer
Subscribe to:
Posts (Atom)