How to Place your reusable code into Toolbox in Visual Studio?
This is very important and small tips for all VS users. Sometimes we need a small piece of code in many places of our application or in some different application. What we do? We just copy the code from one page and paste it to the destination page.
Visual Studio having a great feature, that you can place your code snippet inside the toolbox. For that you need to just select the code snippet and drag the selected snippet on to the general Tab.
You can rename the selected snippet, by just right clicking on snippet and click on Rename.
Now, you can use it anywhere in your application or in any VS Application by just drag and drop of the selected snippet.
Hope this will help you in future from rewrite of code.
How to Freeze GridView Header While Scrolling ?
This is very common problem in Web development that we need to freeze the GridView header at the time of scrolling, Here is one simple tips:
Step 1 : Create a CSS class as following
.HeaderFreez
{
position:relative ;
top:expression(this.offsetParent.scrollTop);
z-index: 10;
}
Step 2 Set Gridview’s HeaderStyle CssClass as follows
CssClass="HeaderFreez"
That’s all. Some times we need also maintain the scroll positions while selecting any data from GridView, and quite difficult to maintain the position while we are using AJAX, I have written a complete article on that, hope this will help Maintain GridView Scroll Position inside updatepanel
Cheers!!
Abhijit







May 8, 2009 at 10:09 am |
Hi Abhijit,
Great article you are writing. Please help developmenet community much by writing various articles.
Keep it up.
Cheers!
Rakesh Yadav
May 12, 2009 at 8:44 am |
Thanks Mate
May 12, 2009 at 7:34 am |
Thanks man!
This is really a good tip. This is indeed helpful.
Cheers!
Aftab
ComputerVideos.110mb.com/
May 12, 2009 at 8:44 am |
Cheers !!
June 1, 2009 at 8:49 am |
When i make a postback by textchange , the header of the grid move to the right of the page , and the layout of the datagrid changed to be wrong
Do you have any solution
June 6, 2009 at 5:15 am |
Its very difficult to say without seeing the code.
June 4, 2009 at 11:33 am |
Hi Dude!
Iam a first time visitor of ur site.. its very nice.. and simple.. u just simply decorate your website with ur certifications which is very interesting !
cheers
June 6, 2009 at 5:07 am |
Thank you!
July 14, 2009 at 7:05 am |
Hi Abhijit,
I have seen your article and your your Website. I am realy impressed you. I am beginner of .Net technology. Please suggest me best book for ASP.net.
Regards & Thanks
Manmohan
July 14, 2009 at 7:20 am
Thanks mate. Regarding book you can go with Aprees ASP.NET Book or may be from Wrox publication. Also try to read from online articles.
Let me know if you have any concern.
September 14, 2009 at 12:15 pm |
hi sir
i m new to ur site..
u write good articles.keep it up
September 14, 2009 at 12:26 pm
Thanks Sharad.
June 15, 2009 at 3:12 pm |
Hai Abhi.
compliments of the day.
First of all we not from soft/hard fileds.my comapny having website last one year.i want to known how many pople viewed(visted) my company website.
we want to keep comapny website in google search.
Kindly advice
Regards
Kranthi
June 22, 2009 at 4:11 am |
Thanks !!!
June 16, 2009 at 11:09 am |
Keep it up man.
June 16, 2009 at 11:36 am |
Cheers mate
June 21, 2009 at 5:57 pm |
Plz tell me the way to store images(jpeg) into the sql server 2000 and how to retrieve them.
You have made a nice website of yours.
June 21, 2009 at 6:36 pm |
hi preety ,, thank u so much
July 2, 2009 at 10:06 am |
how to retrieve image from database
July 7, 2009 at 7:28 pm |
How did you stored image in DB? as binary format or image path ?
July 7, 2009 at 8:01 am |
thanks for your wonderful tips. I am the regular reader of your articles. I have read your article ” Beginner’s Guide to ASP.NET Application Folder”. please send one article only on App_code like Session.
July 7, 2009 at 7:28 pm |
Nice to know you liked my article. Regarding App_code article, there is noting much to write like session. I am really out of time… still Two article is in progress. hope to publishef soon.
July 10, 2009 at 10:37 am |
Great presntation .. never seen before on net .. Keep the great work going on..
July 11, 2009 at 10:48 pm |
Thank You !
July 13, 2009 at 10:41 am |
Good one.. jeet..
July 13, 2009 at 7:28 pm |
Thank you so much Mate
July 20, 2009 at 7:36 am |
Hi Boss,
It’s really Suprep.NO words to explain you.Thank u very much.
July 20, 2009 at 8:31 am |
Hey. Thanks Mate.
Recently I have published one Article on Remote IIS Debugging, Hope you will like it
Remote IIS Debugging : Debug your ASP.NET Application which is hosted on “Remote IIS Server”
Thank You
July 21, 2009 at 7:58 pm |
Hi Abhijit,
I am a regular reader of your articles.Just now I have read “Exploring Session in ASP.NET”,I liked it very much……keep publishing…
July 21, 2009 at 10:22 pm |
Sujoy Thanks Very Much.
Here is my new article, hope you will like it
Remote IIS Debugging : Debug your ASP.NET Application which is hosted on “Remote IIS Server”
July 22, 2009 at 1:41 pm |
Hai Abijith, Your articles are great. Is there any way to play flash file in Gridview column
August 19, 2009 at 5:15 am |
Hi Abhijit,
i am really pleased with ur articles.this is the first time i am visiting ur site.i want to write microsoft certification exams.but i dont know which one to write as a fresher.could u tell me the exam name and number.
thanks
August 19, 2009 at 12:49 pm |
Nice to know u liked my article, Regarding Microsoft Certification exam. I will mail u the details ..
August 19, 2009 at 5:55 am |
Hi Abhijit,
Great work , have gone throug u r article so nice…..
August 19, 2009 at 12:50 pm |
Thank you so much !
August 24, 2009 at 7:40 am |
Hi Abhijit
I am visiting your site first time. It’s really good to read such articles. Keep it up. Please mail me names of book you reffered before and reffering now related to ASP.NET,AJAX,C#,VB,SQL SERVER
August 25, 2009 at 3:33 pm |
Thanks ! You can go with either of Apress or Wrox book for Asp.net and SQL Server. Let me if you have any further questions.
August 25, 2009 at 7:15 pm |
Will above css (To freeze header of Grid) work in IE6?
September 4, 2009 at 6:59 am |
Hi dude,
I read your article about ViewState.
It is fantastic. It is first time I am visiting your article & it seems to me that I will explore all your your articles on the site. Please response my Q’s If I ask to u.
Thanking u.
September 4, 2009 at 7:16 am |
Deepak,
Nice to know, you liked my article.
Feel free to ask me any Q
, I will try my best to give you answer
Cheers !
Abhijit
September 4, 2009 at 9:26 am |
Hello Boss,
How are you? I have seen you article on codeproject on session it is really nice.
I impressed and go through your profile looks gr8 yaar
keep it up. My self ashish amodia, done MCA working as software developer at surat. Nice to see you.
This is my mail Id amodia.a.s@gmail.com.
I am also on orkut “Ashish Amoida”.
It think its good to be friends we can share many things.
Ok than c u bbye
whts ur ID ???
September 5, 2009 at 7:49 am |
Thanks Yar..
I will drop you a mail from my yahoo id.
September 4, 2009 at 9:34 am |
DADA
Its really nice to know you. Gr8 keep it up
nice knowing you.
happy fortune …
September 5, 2009 at 7:48 am |
Thanks Ashish !
September 7, 2009 at 7:25 am |
Hi Abhi,
It’s pleasure to talk with u.
I have a problem just like…
I want to zoom+ a picture in ASP.NET on OnMouseover event. How it will get effect? I asked this question but one suggested to use “Jquery”. I m not familiar with “Jquery” but ASP.NET AJAX.
September 8, 2009 at 4:46 am |
JQuery is good for this. This will give a very nice look and feel . Just search for some JQery Image Zooming Control.
If you want to know some alternative process, try with Div.
Here is an sample example,
CodeProject Article
Just have a look into Live demo,
Live Demo
Hope this will help you.
September 8, 2009 at 5:55 am |
Thanx dude,
I m done with ur reply…Ohh..Sorry,I explored ur answers & You never replies,instead,it is always solution for the query…for me & same to all..
Thank u again.
September 26, 2009 at 12:58 pm |
I really liked your blog and bookmarked it
September 29, 2009 at 5:41 pm |
Thanks !!
October 1, 2009 at 9:00 am |
Hi
I’d like to receive more info on this:
http://www.codeproject.com/Messages/3199136/Re-Passing-Credentials-from-ASP-NET-to-OWA.aspx
please contact me by e-mail.
thank you very much
October 1, 2009 at 12:29 pm |
Hi i am begnier i asp.net and now days i am faceing some problem that is “Unabele to connect asp.net server” at the time of website run plz help me
more evere ur realy cooooool
October 1, 2009 at 12:33 pm |
Hi Anand ! Thanks
When you are getting this error ?
October 4, 2009 at 6:57 pm |
hello sir..
i am developing 3-tier web application in asp.net with c#..
right now in doubt regarding where to write code for session ,cookie management?
will you give me example showing this clearly?
thank you.
October 10, 2009 at 7:21 am |
hi abhijit jana
i am completed my BCA from mcu bhopal.i am developing web application in asp.net with c#..
place give me tips.
October 10, 2009 at 12:47 pm |
Thank you !
let me know if you need any h elp
October 10, 2009 at 12:47 pm |
Thank you !
let me know if you need any h elp
October 12, 2009 at 4:35 pm |
hi abhijit jana
I have completed by B.tech in cs stream. I am trying to develope a website in asp.net using c# i would like to know how i can add the session for each user and how to destroy it when user signout and the page must not be restored if he press the back button in the browser after signingout.I would be very thankful if i can get some sort of help from you so that i can learn something.
Thanking you
October 15, 2009 at 3:49 pm |
Please read this article. This will help you.
http://www.codeproject.com/KB/aspnet/ExploringSession.aspx
If you are having further problem, let me know.
October 15, 2009 at 11:49 am |
Hi Abhijit Sir,
This is ashish shukla from lucknow.Sir i have completed my mca from uptu and working in a lucknow based company.Sir i have visited ur site since last few months,i really inspired by you and your articles.Sir please guide me how can i explore my knowledge in field of .net.
I will be very thankfull to u.
October 15, 2009 at 3:46 pm |
Hi Ashish,
Nice to know you liked my article and blog . Great man !!
I have sent a mail to your gmail id from my personal id. Let me know if you need any help from me.
Thanks again!
October 16, 2009 at 4:38 am |
Thanks a lot for replying me sir !!
October 16, 2009 at 9:00 pm |
It’s alright. Let me know if you need any help from me.
October 21, 2009 at 9:21 am |
Hi Abhijit,
I am really impressed by your contribution towards .Net.
Thanks a lot.
October 22, 2009 at 2:55 am |
Thanks Anurag !
October 26, 2009 at 8:03 am |
Hi Abhijit,
Is it possible to write a code on selected index change event in javascript that will populate another ddl depending on selected value, hence to avoid server trip.
Thanx..
October 26, 2009 at 2:06 pm |
Hi Abhijit,
I have seen your article and your your Website. I am realy impressed you.
I read your article about ViewState. It is fantastic.
keep it up !!!!!!!!!!!!!
Regards & Thanks
UDDHAV GARKAL
(FACULTY)
{NIIT}