Faraz Shah Khan

MCP, MCAD.Net, MCSD.Net, MCTS-Win, MCTS-Web, MCPD-Web

Browse by Tags

All Tags » javascript (RSS)
File Upload control AJAX effect
Since long I was wondering on how I will be able to use FileUpload control inside UpdatePanel and I am sure there will be lot of other people who were expecting the same to be working. I found an intersting video article by Joe Stagner in which he described...
Mutually exclusive checkbox in GridView using Javascript
I response to one of my blog post entry I received few queries regarding mutually exclusive checkbox within GirdView, meaning if there are two checkboxes in a row only one can be selected at a time. If checkbox1 is selected and you select checkbox2 then...
Javascript to add bookmark option on your website
If you want to add an option that users can click a button on your website and it will open up bookmark option. Following is the code that will perform this task. <html> <body> <SCRIPT LANGUAGE="JavaScript"> function bookmark(url, description...
Javascript Enable/Disable Dropdown in Gridview using Checkboxes
If you come up with some requirement in which you have a Checkbox and a DropDownList in GridView control and you are requried to enable disable the DropDownList on the basis of the CheckBox value you can use following Code. --------------------------...
Passing value from popup window to parent form's TextBox
Once again seen lot of questions on the forum related to passing values from popup window to the parent form textbox. Specially when they have some GridView type control in the popup. In the following example I will be using two forms, parent form will...
Javascript to display time on Web page
Javascript to display continuous time on the Web page. By continuous it means that it will be displayed second by second. <script type="text/javascript"> function ShowTime() { var dt = new Date(); document.getElementById("<%= TextBox1.ClientID...
Check/Uncheck checkboxes in GridView using javascript
Seen a lot of questions regarding how to check/uncheck CheckBoxes within a GridView control using JavaScript. So I thought to put it on my blog for quick reference for others and for myself. Following is the code: ------------------------------------...
Javascript to open application on client's machine
Long time back I was wondering if some how I will be able to open any application through my website on client's machine. Finally I came to know that yes it is possible and I will end up with this code. Following code will open up notepad on client's...
More Posts