Monday, July 5, 2010

How to display image in 2 min with Telerik RadBinImage control?

Hi Readers,

If you are an asp.net,winform developer you know how painful it is to display
an image to datagrid or gridview. See below:


Usually you need to add a generic handler(Handler.ashx) and do some coding.
It will take hours to perform this task.Sometime it works but sometime it will
not work.When you are working within a corporate environment you need speed to keep
your job.
Thanks to Telerik Corporation for great job they are doing for .net developers.
To do this task you need:
-Licensed Telerik Radcontrols for ASP.NET Ajax(you can buy or try it at telerik.com)
-Visual Studio 2008/2010 or download free Visual Web developer Express 2008/2010.
-You need to have experience with html and XML.
Once you have these prerequisites you can just look at this configuration below:

a-you need to configure web.config so asp.net understand radbinaryImage like this:
NB  you need to put it under httpHandler tag


b-you need to configure aspx page like this:
 NB you just need to add  Snippettelerik:GridTemplateColumn (if using radcontrols) or TemplateColumn if you
are using asp.net controls.




Thank you for stopping by.If you need help emal me at talley@inbox.com

Talley











Sunday, July 4, 2010

How to customize asp.net login control with JQuery?

Hi Readers,
Thank you for stopping by.Today i will show you how to customize asp.net login control with
jquery library.
Here are prerequisites:

-you need an editor like notepad ++ or visual studio 2005/2008/2010 page
-you jquery lib and ui lib at jquery.com( you need both jquery.js and jquery ui downloads).

At the end of this you should have something like this:



Here the steps:

Step1:
You need to reference jquery js file within the head section like this:



Pay attention because 11 files needed to referenced.Do not forget these two too Snippet
jquery.ui.all.css  and Snippet demos.css.


Step2: let`s do javascript using jquery prototype.All the explanations are on the
image.




Step3 : asp form.
The first trick is you have to make sure that
tag is there if you want to use aspx not js.
The second trick is if you want to use js only make sure form tag is just after body not like on the image:




When you the html file you should see the login control ready to be used.I hope this trick helps.
To contact me please send me email at talley@inbox.com

Thanks
Talley


Saturday, June 26, 2010

What`s new to Visual Studio 2010 (Part1)?

Hi Readers,
Here is the new Visual Studio 2010.
To view my old blog please go to talleyblogs.blogspot.com(google it there is a spelling error).
Enjoy!

1
-When VS 2010 starts:














2-Start page



3-Adding new project




4-Asp.net
What`s new?
Before you need to create login ,logout ,recover password and son on and run configuration tool.
Now this pages are automatically created to you within account folder.







6-Performance analyzer




7-New items within toolbox



8-Extension Manager.
Now you can add new extensions and add-in right from visual studio 2010. VS 2010 can even check for update automatically.



9-Connection to TFS(Team Foundation Server) .You need to install it in order to connect it



10-Help documentation

Here is the new help document.It`s a browser based help not windows based