sangam100

Stories submitted by sangam100

Working with dropdownlist or combobox using jquery(dotnetspidor.blogspot.com)

submitted by sangam100sangam100(357) 2 months, 21 days ago

More often programmers need to work with dropdownlist or combobox using jquery. We need to manipulate the dropdownlist options using jquery scripting. And it is the case that almost always we don't remember how to implement jquery selector. And for all of my readers, who are enthusiastic programmers and/or designers, and for myself, I am discussing in this post the actions with jquery to manipulate asp.net dropdownlist options. read more...

add a comment |category: |Views: 8

tags: another

Disable button in asp net web page to prevent multiple clicks(dotnetspidor.blogspot.com)

submitted by sangam100sangam100(357) 4 months, 14 days ago

When a user clicks a button and the response is slow, there are chances that user may click the button again. The scenario may occur both when the button postbacks synchronously or asynchronously. This type of multiple clicks could be prevented if we could just disable the button just after the first click and enable it again when the processing is done. This is quite easy to implement the task in both the cases: synchronous and asynchronous postbacks... Read More>> read more...

3 comments |category: |Views: 23

tags: another

Exclusive access could not be obtained because database is in use-sql(dotnetspidor.blogspot.com)

submitted by sangam100sangam100(357) 4 months, 17 days ago

While publishing a website to the web server, I took backup of my database. Now I had abc.backup at my hand. Next step was to create a database in the sql server of my host. I did it. Then I uploaded the backup file to the server. When I tried to restore the database I got following error: Exclusive access could not be obtained because the database is in use read more...

add a comment |category: |Views: 5

tags: another

Delete all stored procedures of a database in sql server (dotnetspidor.blogspot.com)

submitted by sangam100sangam100(357) 4 months, 21 days ago

Sometimes there arises the need of deleting all stored procedures of a database. I came across the same situation when I was generating CRUD operations stored procedures via third party tool. I once changed a table and then had to regenerate all the stored procedures. So went on to find out the way. And ultimately stumbled at http://ctrlf5.net/?p=164. Here is how to delete all the stored procedures of a sql server database: read more...

add a comment |category: |Views: 5

tags: another

How to add favicon in your asp-net site? (dotnetspidor.blogspot.com)

submitted by sangam100sangam100(357) 4 months, 21 days ago

Make your site impressive and standard by displaying favicon. This is a practice of branding also. See in the following image the red circled area at the top corner. The black filled square is the favicon of dotnetspidor: A dot net programming blog. You can see the favicons in almost all of the popular websites. read more...

add a comment |category: |Views: 1

tags: another

There is a duplicate 'system.web.extensions/scripting/scriptResourceHa(dotnetspidor.blogspot.com)

submitted by sangam100sangam100(357) 4 months, 21 days ago

Last time I got the following error: HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid. See in the image below the following config error, and also watch the config source. read more...

add a comment |category: |Views: 3

tags: another

Frequent question on parent and child page refresh, reload etc.(dotnetspidor.blogspot.com)

submitted by sangam100sangam100(357) 6 months, 1 day ago

There are ways to call client functions in a parent asp.net web page from the child window. This is very helpful in many ways: 1. You can refresh parent page after some updates from child pager 2. You can partially change parts of the parent page 3. You can control the behaviour of parent page from its child (even from iframe child page)... read more...

add a comment |category: |Views: 3

tags: another

Refresh parent page partially from iframe without reloading the iframe(dotnetspidor.blogspot.com)

submitted by sangam100sangam100(357) 6 months, 24 days ago

Programmers using iframe to load another asp.net web page often need to only partially refresh the parent page so that iframe keeps itself from reloading. This can by done by calling the parent page javascript function from the child page loaded in the iframe. This way we can even avoid the need of ajax to refresh the parent page without affecting the iframe content. read more...

add a comment |category: |Views: 23

tags: another

Refresh parent page from child window in asp.net with javascript(dotnetspidor.blogspot.com)

submitted by sangam100sangam100(357) 6 months, 26 days ago

Much often we open child windows from parent web page. In the child page we perform some activities, and later close the window. At the very time we may need to refresh the parent page so that changes made in the child window be reflected in the parent window. We can easily accomplish this using javascript in asp.net web page. Let me show the way using code snippets. read more...

add a comment |category: |Views: 14

tags: another

Toggle image using jquery for animated hide show in asp-net (dotnetspidor.blogspot.com)

submitted by sangam100sangam100(357) 2 years, 1 month ago

Web masters find it attractive to mark or indicate some text in a page as special part. For example a featured product in a shopping cart would hold a finished featured icon image at its side. Similarly we see New image icon blinking at the side of some product or text. It is sometimes better by far to use such animated images to draw user's attention. How would you do this using jquery? The simple answer is that- toggle the image based on its display status, in a regular interval. read more...

add a comment |category: |Views: 50

tags: another

Prevent page postback on enter key press in textbox in asp-net web pag(dotnetspidor.blogspot.com)

submitted by sangam100sangam100(357) 2 years, 2 months ago

In an asp.net web page, you may have experienced that pressing enter key postbacks the page. For example, take the following scenario: In the page, if you press enter key in any of the textboxes, the page will postback, which is not desired. What’s the reason? Lets look at the html markup generated for the page: The asp.net button control has been rendered with “submit” type, which is the reason of page postback when enter key is pressed in any of the textboxes. read more...

add a comment |category: |Views: 160

tags: another

jQuery Mutually exclusive checkboxes in asp.net (dotnetspidor.blogspot.com)

submitted by sangam100sangam100(357) 2 years, 3 months ago

We often see radio buttons to implement single choices out of many in web forms. Wouldn’t it be better if we could imply ‘choose one option from many’ using checkboxes? I have implemented such mutually exclusive checkboxes in asp.net using jquery. This certainly is not any new practice. We have already seen such mutually exclusive checkboxes in asp.net ajax, and perhaps there are others also. But achieving this functionality using a lightweight javascript library like jquery would be a benefit. So let’s start the race. read more...

add a comment |category: |Views: 103

tags: another

Smart sorting, paging in asp-net, especially repeater control (dotnetspidor.blogspot.com)

submitted by sangam100sangam100(357) 2 years, 6 months ago

Hi all. There has been little lagging in my presence to you all with new post. Actually these days there are lots of things in my mind. I am looking over the web to know the best asp.net performance practices. But most of the times I do get stuck with the same old strategies you can find everywhere if you search with the keyword – "asp.net performance tips" or so. However, these tips work 90% of the cases, they are intermediate ones. What about the advanced ones? There are some genius guys who have presented advanced and deep asp.net performance improvement techniques, and thanks to them. Good things cannot hide, so you are sure to find them over the web hanging here and there, no problem. To give example: this one from codeproject and this one discussed in asp.net tutorial. read more...

add a comment |category: |Views: 128

tags: another

Highlight gridview row on mouse over in asp net web page: Adding effec(dotnetspidor.blogspot.com)

submitted by sangam100sangam100(357) 2 years, 8 months ago

Programmers heavily use the asp.net gridview control. Adding some effects to the gridview will change the appearance so that user interactivity increases. One of such effects is highlighting the gridview row on mouseover. With this short background let's go for the design markup of the example gridview. read more...

add a comment |category: |Views: 53

tags: another

Click the button on keypress in asp.net TextBox (dotnetspidor.blogspot.com)

submitted by sangam100sangam100(357) 2 years, 8 months ago

In this post, I am explaining the button click functionality on key press in a textbox. I am using javascript to link the input textbox and the associated button that has to be clicked when the enter key is pressed in the textbox. One can preview it by taking the example of search textbox and GO button! read more...

add a comment |category: |Views: 49

tags: another

22 Visual Studio Short Keys and 6 Short-cut Ways to Custom Jobs(dotnetspidor.blogspot.com)

submitted by sangam100sangam100(357) 2 years, 8 months ago

Efficient programmers use short keys in IDE like Visual Studio. This saves time and in many cases makes the work run faster also. I also love short keys. They are smart! And there also go some tricks that help make your visual studio days a party! I have listed here some short cuts and some tips with the hope that this will be helpful to you all. read more...

add a comment |category: |Views: 455

tags: another