RSSCategory: Tips

Image in TextBox & RichTextBox

| December 25, 2010 | 0 Comments

This article deals with how to show Image in TextBox and RichTextBox control. I googled for same but found little or was too complex to implement as per my understanding. Well! The noteworthy point is that in either of methods shared here uses alternative solution. There is no such direct way to do. Second thing is […]

Continue Reading

Modify MessageBox by MessageBoxManager

| December 18, 2010 | 0 Comments

You want to modify your default System.Windows.Forms.MessagBox look. You want to modify its fonts or its own size. In all you want to modify its appearance. And sometimes you wish to modify or change its functionality to some extent. Well … then there is some good news for you. But its not from Microsoft and […]

Continue Reading

Access page control from class file in App_Code

| October 27, 2010 | 6 Comments

Simple tasks seems hard while development. I too faced the issue of accessing page controls from class files in App_Code folder. But since each and everything is possible in development. This one appears impossible first but now the matter has been resolved. Check it out how… Scenario You are having simple .aspx page with two […]

Continue Reading

Why Javascript not works with Master Page

| September 22, 2010 | 14 Comments

This article tries to explain answer to why javascript not works with Master Pages in Asp.Net. Before we delve into deepness of the solution; it would be nice to have an insight about the problem, the reason behind the problem. And finally we will arrive at solution. Problem I am developing web application using […]

Continue Reading

Textbox OnChange and OnKeyUp event

| September 21, 2010 | 0 Comments

Well! I am not sharing something very special with you guys. But it would be worthy to pay attention to little difference between Textbox OnChange and OnKeyUp event.  What’s the difference? OnChange Event: Gets fire when the textbox has lost focus. OnKeyUp Event: Gets fire when key comes up. So next time if you want immediate effect […]

Continue Reading

Missing JavaScript Intellisense Items in VS IDE

| August 30, 2010 | 0 Comments

As a developer you might have noticed some of the javascript intellisense items missing while developing website with Visual Studio IDE’s.  I checked in all and found missing javaScript intellisense items in VS IDE such as VS 2005, VS 2008, VS 2010. Why is it so? What’s the reason behind. Read out details here. I searched […]

Continue Reading

How to set Icons for Window Forms

| August 14, 2010 | 0 Comments

To show icon in the Windows Form’s header you can use Windows Form property Icon from Design view. But if you want to set it programatically have look on code. Code Snippet

Continue Reading

Cross-thread operation not valid

| August 13, 2010 | 0 Comments

What is Cross-thread operation not valid? It is a part of details of InvalidOperationException that is raised when you try to access control of one thread from another thread. Code Snippet There are two controls on Form Button named btnStartThread & second one is TextBox named txtName. And if you execute following code you will […]

Continue Reading

Dynamic Scrolling of DataGridView Scrollbar

| August 11, 2010 | 1 Comment

Allow me to share little story with you guys. I used to answer questions on forums dedicated for .NET. Some of them are CodeProject, DotNetSpider, Experts Exchange. So there was a question that if we add some data either from database or manually from code the scroll bar position in DataGridView remains static i.e. it […]

Continue Reading

Scroll bars on picture box

| August 10, 2010 | 1 Comment

Do you ever think that PictureBox control provided by Microsoft is very nice but with something missing. Yes! You get right that something is  PictureBox not having scroll bar to scroll my big desktop size images. And so finally I have to try other way in PictureBox. BUT now we have the alternative and pretty […]

Continue Reading