Click here to Skip to main content
15,886,362 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionjavascript parsing Pin
C#Coudou1-Dec-10 21:15
C#Coudou1-Dec-10 21:15 
Answer[Cross post warning] Pin
thatraja1-Dec-10 21:27
professionalthatraja1-Dec-10 21:27 
GeneralRe: [Cross post warning] Pin
musefan1-Dec-10 22:47
musefan1-Dec-10 22:47 
GeneralRe: [Cross post warning] Pin
thatraja1-Dec-10 23:13
professionalthatraja1-Dec-10 23:13 
GeneralRe: [Cross post warning] Pin
Dalek Dave3-Dec-10 5:37
professionalDalek Dave3-Dec-10 5:37 
AnswerRe: javascript parsing Pin
Hiren solanki1-Dec-10 21:42
Hiren solanki1-Dec-10 21:42 
AnswerRe: javascript parsing [modified] Pin
musefan1-Dec-10 23:54
musefan1-Dec-10 23:54 
QuestionProblem Of Getting Image ID Through Javascript Pin
vishnukamath1-Dec-10 18:18
vishnukamath1-Dec-10 18:18 
Hi,
I have a Imagebutton In a ContentplaceHolder Where I have to Adjust the height and width of the imagebutton with the scrren resolution. for that i had written a javascript..
========================================================

if ((screen.width>1024) && (screen.height>768))
{

var theImg = document.getElementById('Image1');
theImg.width = "100px";
theImg.height = "100px";
}
else
{

var Img = document.getElementById('ctl00_ContentPlaceHolder1_Image1');
Img.width = "50px";
Img.height = "50px";
}
===============================================

in the above code 'Image1' is the id of imagebutton.. im getting null value error when im using the above javascript.
i have also used 'ct100_contentplaceholder_Image1' and '<%image1.ClientID%>' But both of are not worked.
So Please suggest a solution for this problem.
thanks in advance,
vishnu
AnswerRe: Problem Of Getting Image ID Through Javascript Pin
GlobX1-Dec-10 18:49
GlobX1-Dec-10 18:49 
Questioninsert query Pin
Ramkumar_S1-Dec-10 7:52
Ramkumar_S1-Dec-10 7:52 
AnswerRe: insert query Pin
David Mujica1-Dec-10 9:33
David Mujica1-Dec-10 9:33 
GeneralRe: insert query Pin
Ramkumar_S1-Dec-10 15:08
Ramkumar_S1-Dec-10 15:08 
GeneralRe: insert query Pin
PunkIsNotDead2-Dec-10 9:54
PunkIsNotDead2-Dec-10 9:54 
Questionwhy I am not getting the ID Pin
Jassim Rahma1-Dec-10 2:59
Jassim Rahma1-Dec-10 2:59 
AnswerRe: why I am not getting the ID Pin
T M Gray1-Dec-10 4:52
T M Gray1-Dec-10 4:52 
QuestionGridview update numeric values Pin
amina891-Dec-10 1:35
amina891-Dec-10 1:35 
AnswerRe: Gridview update numeric values Pin
Hiren solanki1-Dec-10 21:48
Hiren solanki1-Dec-10 21:48 
GeneralRe: Gridview update numeric values Pin
amina891-Dec-10 23:59
amina891-Dec-10 23:59 
Questionasp:Menu Pin
Satish_S30-Nov-10 22:26
Satish_S30-Nov-10 22:26 
AnswerRe: asp:Menu Pin
musefan1-Dec-10 0:50
musefan1-Dec-10 0:50 
QuestionModalPopupExtender Problem Pin
Vimalsoft(Pty) Ltd30-Nov-10 21:53
professionalVimalsoft(Pty) Ltd30-Nov-10 21:53 
AnswerRe: ModalPopupExtender Problem Pin
phil.o30-Nov-10 23:49
professionalphil.o30-Nov-10 23:49 
GeneralRe: ModalPopupExtender Problem Pin
Vimalsoft(Pty) Ltd1-Dec-10 0:48
professionalVimalsoft(Pty) Ltd1-Dec-10 0:48 
GeneralRe: ModalPopupExtender Problem Pin
phil.o1-Dec-10 2:20
professionalphil.o1-Dec-10 2:20 
GeneralRe: ModalPopupExtender Problem Pin
Vimalsoft(Pty) Ltd1-Dec-10 2:30
professionalVimalsoft(Pty) Ltd1-Dec-10 2:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.