Click here to Skip to main content
15,300,674 members

Comments by ritesh88sharma (Top 20 by date)

ritesh88sharma 9-Nov-12 5:25am View
   
thanks for your solution but i want to retrieve image from database..
ritesh88sharma 9-Nov-12 5:08am View
   
i taking a asp Image control to show the image after that i am count the no. of image file in the folder. after use the imageURL property i tried to show image.
ritesh88sharma 15-Sep-12 2:53am View
   
thanks u sir,
but i have image url (path) in session. how to use it. it is my problem. please tell me solution...
ritesh88sharma 15-Sep-12 2:27am View
   
i have Image name, path and id in session. i don't know how to pass this image id and path in java script function. please tell me any way to show image in popup.
ritesh88sharma 6-Aug-12 7:34am View
   
sir i am trying same code but it is giving error... incorrect date format
ritesh88sharma 6-Aug-12 3:46am View
   
4/12/2010 12:00:00 AM
(MM/dd/yyyy)
It take both date and time. and i want only date.
ritesh88sharma 6-Aug-12 3:20am View
   
Sir, How to convert gridview date into "MM/dd/yyyy" formate.
Please tell me...
ritesh88sharma 6-Aug-12 2:33am View
   
When i am taking date from combobox its only take date but from gridview its taking date and time.
ritesh88sharma 6-Aug-12 2:30am View
   
When i am taking date from combobox its only take date but from gridview its taking date and time.
ritesh88sharma 6-Aug-12 2:30am View
   
When i am taking date from combobox its only take date but from gridview its taking date and time.
ritesh88sharma 25-Jun-12 14:45pm View
   
yes i saw that but I Wants Multipule address from database should be display in a single shot coming from Database User does not know lat and lon .he is only knows address please send me code with using MS Sql
please
ritesh88sharma 25-Jun-12 10:40am View
   
hi how can i call address from database in javascript user does not know lat and lon if any code is there please give me I will wait for your reply
ritesh88sharma 23-Jun-12 0:28am View
   
Using Google Maps API to mark multiple addresses fetched from database ASP.NET MVC2 and Geocoder[^]

This A good link if You Can Send Me The Code of this Task it is Good For me
I am New In Asp .net it is very help ful for my Carrier
ritesh88sharma 3-Jun-11 3:19am View
   
Thank u sir
ritesh88sharma 9-May-11 3:48am View
   
Thanks for sol. plz don't try to help me.
ritesh88sharma 28-Mar-11 2:48am View
   
if (iedom||document.layers){
with (document){
document.write('<table border="0" cellspacing="0" cellpadding="0"><td valign="middle">')
if (iedom){
write('<div style="position:relative;width:'+sliderwidth+';height:'+sliderheight+';overflow:hidden">')
write('<div style="position:absolute;width:'+sliderwidth+';height:'+sliderheight+';background-color:'+slidebgcolor+'" onMouseover="copyspeed=0" önMouseout="copyspeed=slidespeed">')
write('<div id="test2" style="position:absolute;left:0px;top:0px"></div>')
write('<div id="test3" style="position:absolute;left:-1000px;top:0px"></div>')
write('</div></div>')
}
else if (document.layers){
write('<ilayer width="+sliderwidth+" height="+sliderheight+" name="ns_slidemenu" bgcolor="+slidebgcolor+">')
write('<layer name="ns_slidemenu2" left="0" top="0" onmouseover="copyspeed=0" önmouseout="copyspeed=slidespeed">')
write('<layer name="ns_slidemenu3" left="0" top="0" onmouseover="copyspeed=0" önmouseout="copyspeed=slidespeed">')
write('')
}
document.write('</td></table>')
}
}

</script>
ritesh88sharma 28-Mar-11 2:48am View
   
window.onload=fillup

function slideleft(){
if (iedom){
if (parseInt(cross_slide.style.left)>(actualwidth*(-1)+8))
cross_slide.style.left=parseInt(cross_slide.style.left)-copyspeed+"px"
else
cross_slide.style.left=parseInt(cross_slide2.style.left)+actualwidth+slideshowgap+"px"

if (parseInt(cross_slide2.style.left)>(actualwidth*(-1)+8))
cross_slide2.style.left=parseInt(cross_slide2.style.left)-copyspeed+"px"
else
cross_slide2.style.left=parseInt(cross_slide.style.left)+actualwidth+slideshowgap+"px"

}
else if (document.layers){
if (ns_slide.left>(actualwidth*(-1)+8))
ns_slide.left-=copyspeed
else
ns_slide.left=ns_slide2.left+actualwidth+slideshowgap

if (ns_slide2.left>(actualwidth*(-1)+8))
ns_slide2.left-=copyspeed
else
ns_slide2.left=ns_slide.left+actualwidth+slideshowgap
}
}
ritesh88sharma 28-Mar-11 2:47am View
   
//Specify gap between each image
var imagegap=" "

//Specify pixels gap between each slideshow rotation
var slideshowgap=13

var copyspeed=slidespeed
leftrightslide='<nobr>'+leftrightslide.join(imagegap)+''
var iedom=document.all||document.getElementById
if (iedom)
document.write('<span id="temp" style="visibility:hidden;position:absolute;top:-100px;left:-9000px">'+leftrightslide+'</span>')
var actualwidth=''
var cross_slide, ns_slide

function fillup(){
if (iedom){
cross_slide=document.getElementById? document.getElementById("test2") : document.all.test2
cross_slide2=document.getElementById? document.getElementById("test3") : document.all.test3
cross_slide.innerHTML=cross_slide2.innerHTML=leftrightslide
actualwidth=document.all? cross_slide.offsetWidth : document.getElementById("temp").offsetWidth
cross_slide2.style.left=actualwidth+slideshowgap+"px"
}
else if (document.layers){
ns_slide=document.ns_slidemenu.document.ns_slidemenu2
ns_slide2=document.ns_slidemenu.document.ns_slidemenu3
ns_slide.document.write(leftrightslide)
ns_slide.document.close()
actualwidth=ns_slide.document.width
ns_slide2.left=actualwidth+slideshowgap
ns_slide2.document.write(leftrightslide)
ns_slide2.document.close()
}
lefttime=setInterval("slideleft()",30)
}
ritesh88sharma 28-Mar-11 2:20am View
   
Deleted
<script type="text/javascript">
var sliderwidth="222px"
var sliderheight="100px"
var slidespeed=3
slidebgcolor="#FFFFFF"
var leftrightslide=new Array()
var finalslide=''
leftrightslide[0]='<img src="images/thankyou.jpg" alt="APEDA" title="APEDA" border="0" style="padding-left:10px"/>'
leftrightslide[1]='<img src="images/faltu.jpg" alt="CADD CENTER" title="CADD CENTER" border="0" style="padding-left:10px"/>'
leftrightslide[2]='<img src="images/jhoomalizafar.jpg" alt="QLOGY" title="QLOGY" border="0" style="padding-left:10px"/>'
leftrightslide[3]='<img src="images/tanuwedsmanu.jpg" alt="HCL CDC" title="HCL CDC" border="0" style="padding-left:10px">'
leftrightslide[4]='<img src="images/aashiqui.jpg" alt="PLAY BOY" title="PLAY BOY" border="0" style="padding-left:10px"/>'
var imagegap=" "
var slideshowgap=13
var copyspeed=slidespeed
leftrightslide='<nobr>'+leftrightslide.join(imagegap)+''
var iedom=document.all||document.getElementById
if (iedom)
document.write('<span id="temp" style="visibility:hidden;position:absolute;top:-100px;left:-9000px">'+leftrightslide+'</span>')
var actualwidth=''
var cross_slide, ns_slide
function fillup(){
if (iedom){
cross_slide=document.getElementById? document.getElementById("test2") : document.all.test2
cross_slide2=document.getElementById? document.getElementById("test3") : document.all.test3
cross_slide.innerHTML=cross_slide2.innerHTML=leftrightslide
actualwidth=document.all? cross_slide.offsetWidth : document.getElementById("temp").offsetWidth
cross_slide2.style.left=actualwidth+slideshowgap+"px"
}
else if (document.layers){
ns_slide=document.ns_slidemenu.document.ns_slidemenu2
ns_slide2=document.ns_slidemenu.document.ns_slidemenu3
ns_slide.document.write(leftrightslide)
ns_slide.document.close()
actualwidth=ns_slide.document.width
ns_slide2.left=actualwidth+slideshowgap
ns_slide2.document.write(leftrightslide)
ns_slide2.document.close()
}
lefttime=setInterval("slideleft()",30)
}
window.onload=fillup
function slideleft(){
if (iedom){
if (parseInt(cross_slide.style.left)>(actualwidth*(-1)+8))
cross_slide.style.left=parseInt(cross_slide.style.left)-copyspeed+"px"
else
cross_slide.style.left=parseInt(cross_slide2.style.left)+actualwidth+slideshowgap+"px"
if (parseInt(cross_slide2.style.left)>(actualwidth*(-1)+8))
cross_slide2.style.left=parseInt(cross_slide2.style.left)-copyspeed+"px"
else
cross_slide2.style.left=parseInt(cross_slide.style.left)+actualwidth+slideshowgap+"px"
}
else if (document.layers){
if (ns_slide.left>(actualwidth*(-1)+8))
ns_slide.left-=copyspeed
ritesh88sharma 28-Mar-11 2:11am View
   
Deleted
<script type="text/javascript">

//Specify the slider's width (in pixels)
var sliderwidth="222px"
//Specify the slider's height
var sliderheight="100px"
//Specify the slider's slide speed (larger is faster 1-10)
var slidespeed=3
//configure background color:
slidebgcolor="#000000"

//Specify the slider's images
var leftrightslide=new Array()
var finalslide=''

leftrightslide[0]='<img src="images/thankyou.jpg" alt="APEDA" title="APEDA" border="0" style="padding-left:10px"/>'
leftrightslide[1]='<img src="images/faltu.jpg" alt="CADD CENTER" title="CADD CENTER" border="0" style="padding-left:10px"/>'
leftrightslide[2]='<img src="images/jhoomalizafar.jpg" alt="QLOGY" title="QLOGY" border="0" style="padding-left:10px"/>'
leftrightslide[3]='<img src="images/tanuwedsmanu.jpg" alt="HCL CDC" title="HCL CDC" border="0" style="padding-left:10px">'
leftrightslide[4]='<img src="images/aashiqui.jpg" alt="PLAY BOY" title="PLAY BOY" border="0" style="padding-left:10px"/>'
leftrightslide[5]='<img src="images/7khoonmaaf.jpg" alt="ARROW" title="ARROW" border="0" style="padding-left:10px"/>'
leftrightslide[6]='<img src="images/angel.jpg" alt="CECA" title="CECA" border="0" style="padding-left:10px"/>'
leftrightslide[7]='<img src="images/patialahouse.jpg" alt="PHD Chamber" title="PHD Chamber" border="0" style="padding-left:10px"/>'