To show image in particular div when mouse hover on the image using asp.net
Script
<script type="text/javascript" language="javascript">
function ShowToolTip(con) {
document.getElementById("div_img").style.visibility...
Monday, 28 May 2012
Replace characters in javascript
By Unknown at 13:53
No comments
In server side we have "Replace" method to replace the characters in a string but on javascript replace method will be not useful in certain cases instead of that we can do for loop to replace the particular characters and get the specific output.
Example :
var StringChar = "this is my 324o234u324t2342p234u234t"; //Your string to get replaced
...
Saturday, 26 May 2012
Word Documents and Excel Documents in IFRAME
By Unknown at 16:41
7 comments
In this below example we are converting word OR excel document to HTML.
In this case we are converting and giving converted HTML file as ""src"" to ""iframe"".
Step By Step Procedure :
1)First step is create one folder in your application which needs to maintain the documents in that because...
Friday, 25 May 2012
Word document in iframe
This is screen shot for iframe.Here In the below Screenshot iframe viewing the word document in the form of html. so i am giving html to the Iframe src.
Iframe can view excel,csv,pdf,text files etc.Pdf and Text formated files no need to be converted to html directly...
Wednesday, 23 May 2012
Culture info in RadDateTime Picker
By Unknown at 19:54
No comments
In this example we can give culture info for localization in RadDatetimePicker.
for this below example u can get different localizations according to their country.
it is one of the property in RadDateTimePicker
for different localization we can find below link:
http://yash-maneel.blogspot.in/2012/05/different-culture-names.html
In...
Different Culture Names
By Unknown at 18:52
No comments
CULTURE ||SPEC.CULTURE||ENGLISH NAME
af af-ZA Afrikaans
af-ZA af-ZA Afrikaans (South Africa)
ar ar-SA Arabic
ar-AE ar-AE Arabic (U.A.E.)
ar-BH ar-BH Arabic (Bahrain)
ar-DZ ar-DZ Arabic (Algeria)
ar-EG ar-EG Arabic (Egypt)
ar-IQ ar-IQ Arabic (Iraq)
ar-JO ar-JO Arabic (Jordan)
ar-KW ...
Convert date format in javascript
Here in this example i am going to explain how to convert date into another format in javascript.
Example :
Here in this today's date will be obtained in the variable dt in system format and on TodayDate variable we will get the date in required format. The example formats are:
var dt = new Date();
var TodayDate = dt.format("M/d/yyyy");
var TodayDate = dt.format("M/d/yy");
var...
Saturday, 19 May 2012
show processing image when click on button and freeze background in asp.net
This post gives some useful information to beginner's those don't know to design the page.
here i am just blocking the background screen to stop clicking any buttons or controls in...
Wednesday, 16 May 2012
Increase Performance in asp.net application
By Unknown at 14:23
No comments
It is very usefull for begineers...............
For every enterprise level application the key to make that application success is the responsiveness of application. ASP.NET also offers great deal of the features for developing web based enterprise application but sometimes due to avoiding best practice to write application...
Monday, 14 May 2012
uploading file in rad upload and validating file size using java script or validating uploaded file size from client side
By Unknown at 14:09
No comments
description:
This Article is useful to all beginners as well as who suffering to get uploading file size in client side using java script
So,here just i am using RAD ASYNCHRONOUS Upload control to validate the file size .
here we are not writing single word in code behind ..everything will work only from design page itself
The...
Saturday, 12 May 2012
Copy only numbers from textbox using javascript
By Unknown at 08:16
2 comments
In this Example i am Describing , Copy only numbers or numeric characters in the text box..
here if we copy characters + numbers it will copy only Numbers
Here is the Example :
1)Copy data from Textbox :
2) Paste in another Textbox :
3) Final OUTPUT :
TextBox oncopy...
Wednesday, 9 May 2012
Rad Date Time Picker With Today Button
By Unknown at 13:55
No comments
Generally We use calender control to pick a particular day month and year to avoid typing.
But in rad date picker we don't find today button in calender..(in rad date picker default today button will appear in second click)
...
Sunday, 6 May 2012
How to check session timeout from javascript and redirect to login page
By Unknown at 12:34
4 comments
JAVASCRIPT :
var sessionTimeout = <%= Session.Timeout %>
function DisplaySessionTimeout() {
sessionTimeout = sessionTimeout - 1;
window.setTimeout("DisplaySessionTimeout()", 60000);
...