sangam100
Name: sangam100
Score: 255.02
Last Seen: 66 days, 3 hours, 12 minutes ago
Member Since: 27 February, 2009
DotNetShoutout
atom rss
3
Shouts

Asp.net Eval() and Bind() expressions in data bound controls like GridView and DetailsView

published 69 days, 11 hours, 49 minutes ago posted by sangam100sangam100 78 days, 16 hours, 33 minutes ago
Monday, March 11, 2013 9:27:41 AM GMT Saturday, March 02, 2013 4:43:36 AM GMT
The asp.net Eval() and Bind() expressions are heavily used in asp.net GridView and DetailsView data bound controls. The difference between these two is that Eval is used for read only purpose and Bind is used for read/edit purpose. For example Eval can be used to bind the Text property of an asp.net Label control whereas Bind can be used to bind the asp.net TextBox control so that it can be edited to meet some requirement. Of course, asp.net GridView and DetailsView controls make large use of these Eval ... (more)
category: How To | clicked: 12 | comment | | source: dotnetspidor.blogspot.com
tags:
5
Shouts

Open New Window in ASP.NET web page using JavaScript

published 72 days, 9 hours, 17 minutes ago posted by sangam100sangam100 82 days, 7 hours, 59 minutes ago
Friday, March 08, 2013 12:00:15 PM GMT Tuesday, February 26, 2013 1:17:47 PM GMT
I have found much tricks in different tutorials and forums on opening new window in asp.net web page, using JavaScript, jquery etc. Here I have put most useful of ways to open new window (and pop-up window) in asp.net web page. I hope these tricks will be helpful. Read on.. (more)
category: How To | clicked: 30 | comment | | source: dotnetspidor.blogspot.com
tags:
6
Shouts

How to Create DataTable Programmatically in C#, ASP.NET ?

published 73 days, 11 hours, 59 minutes ago posted by sangam100sangam100 83 days, 7 hours, 38 minutes ago
Thursday, March 07, 2013 9:18:27 AM GMT Monday, February 25, 2013 1:39:22 PM GMT
Most of the times programmers fill the DataTable from database. This action fills the schema of the database table into the DataTable. We can bind data controls like GridView, DropdownList to such DataTable. But somtimes what happens is one needs to create a DataTable programmatically. Here I have put the simple method of creating DataTable programmatically in C#. (more)
category: How To | clicked: 28 | comment | | source: dotnetspidor.blogspot.com
tags:
4
Shouts

Read hidden field value in asp.net from jquery | dotNETspidor: A dot net programming blog

published 76 days, 9 hours, 23 minutes ago posted by sangam100sangam100 85 days, 16 hours, 32 minutes ago
Monday, March 04, 2013 11:54:08 AM GMT Saturday, February 23, 2013 4:45:06 AM GMT
Often we are confused about how to read values set in asp.net HiddenField from jquery and use the values in the web form. Many-a-times we see the threads over the asp.net forums about the difficulties associated with reading asp.net HiddenField values. I have tried to give easy and fast way to read values and set values of hidden filed in asp.net using jquery. (more)
category: How To | clicked: 12 | comment | | source: dotnetspidor.blogspot.com
tags:
5
Shouts

Add clickable rows in csharp DataTable and bind to asp.net gridview | dotNETspidor: A dot net programming blog

published 81 days, 8 hours, 54 minutes ago posted by sangam100sangam100 89 days, 11 hours, 56 minutes ago
Wednesday, February 27, 2013 12:23:10 PM GMT Tuesday, February 19, 2013 9:20:32 AM GMT
I have now presented a way to create DataTable programmatically where rows accept html and hence they can be made clickable. Complementing to my preview post on creating DataTable programmatically in asp.net, this tips will bind DataTable to an asp.net GridView where one of the columns in each row contains clickable html anchor... (more)
category: How To | clicked: 7 | comment | | source: dotnetspidor.blogspot.com
tags:
3
Shouts

Strip html tags and extract subset of string from text using regular expression in c-sharp | dotNETspidor: A dot net programming blog

published 89 days, 10 hours, 34 minutes ago posted by sangam100sangam100 98 days, 16 hours, 37 minutes ago
Tuesday, February 19, 2013 10:43:26 AM GMT Sunday, February 10, 2013 4:39:51 AM GMT
Presenting a quick tips on how to strip html from text using regular expression (Regex) in C#. In a scenario like presenting a blurb or summary of certain characters we may need to remove html tags from a html string (of news details, article details etc.) Read on.. (more)
category: How To | clicked: 13 | comment | | source: dotnetspidor.blogspot.com
tags:
2
Shouts

How to add favicon in your asp-net site? | dotNETspidor: A dot net programming blog

posted by sangam100sangam100 598 days, 12 hours, 29 minutes ago
Thursday, September 29, 2011 8:47:43 AM GMT
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. So how to achieve this? First create a favicon image of your own. Visualize a great logo/image for the favicon. Save it as favicon.ico. Drop it at the root folder of your site. Now you are one s... (more)
category: Web Dev | clicked: 13 | comment | | source: dotnetspidor.blogspot.com
tags: CSS, ASP.NET
2
Shouts

There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler' section defined | dotNETspidor: A dot net programming blog

posted by sangam100sangam100 598 days, 12 hours, 30 minutes ago
Thursday, September 29, 2011 8:47:09 AM GMT
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. There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler' section definedRoot of the error I got the error when I was deploying a web application precompiled in asp.net 2.0 onto the production server with asp.net 4.... (more)
category: Web Dev | clicked: 6 | comment | | source: dotnetspidor.blogspot.com
2
Shouts

Exclusive access could not be obtained because database is in use-sql server restore database error | dotNETspidor: A dot net programming blog

posted by sangam100sangam100 598 days, 12 hours, 30 minutes ago
Thursday, September 29, 2011 8:46:42 AM GMT
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 This error normally discourages because we wonder what exclusive access is this that we need to successfully restore the database. After searchin... (more)
category: Web Dev | clicked: 3 | comment | | source: dotnetspidor.blogspot.com
2
Shouts

Disable button in asp net web page to prevent multiple clicks | dotNETspidor: A dot net programming blog

posted by sangam100sangam100 598 days, 12 hours, 31 minutes ago
Thursday, September 29, 2011 8:45:49 AM GMT
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. (more)
category: Web Dev | clicked: 13 | comment | | source: dotnetspidor.blogspot.com
2
Shouts

Refresh parent page from child window using javascript in asp.net web application | dotNETspidor: A dot net programming blog

posted by sangam100sangam100 668 days, 10 hours, 5 minutes ago
Thursday, July 21, 2011 11:11:36 AM GMT
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. If it is your iframe page, you still can refresh the parent page partially from page in iframe (because this will avoid reloading the ifram... (more)
category: Web Dev | clicked: 5 | comment | | source: dotnetspidor.blogspot.com
tags: ASP.Net 2.0, C#, JavaScript
2
Shouts

Refresh parent page partially from iframe without reloading the iframe using javascript in asp.net | dotNETspidor: A dot net programming blog

posted by sangam100sangam100 668 days, 10 hours, 7 minutes ago
Thursday, July 21, 2011 11:10:26 AM GMT
Last time we talked about Refreshing the parent page from child window in asp.net using javascript. This technique is useful in many scenarios. (If you haven't been through How to open new window in asp.net using javscript and C-sharp, I would like to suggest to read the post thoroughly. After this you will clearly see why the stuff we are talking about in this post is important.) But programmers using iframe to load another asp.net web page may wonder if we could only partially refresh the parent page s... (more)
category: Web Dev | clicked: 17 | comment | | source: dotnetspidor.blogspot.com
tags: C#, JavaScript, ASP.NET