Click here to Skip to main content
15,887,746 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: GridView with ShowFooter and 0 rows Pin
kubben2-Apr-07 10:11
kubben2-Apr-07 10:11 
GeneralRe: GridView with ShowFooter and 0 rows Pin
-Dr_X-2-Apr-07 10:21
-Dr_X-2-Apr-07 10:21 
Questionconditional hyperlink with repeater Pin
tvfoto2-Apr-07 5:50
tvfoto2-Apr-07 5:50 
QuestionTreeView help!! Pin
r_jaz2-Apr-07 5:49
r_jaz2-Apr-07 5:49 
QuestionDeclaring an array Pin
Oga M2-Apr-07 4:46
Oga M2-Apr-07 4:46 
AnswerRe: Declaring an array Pin
badgrs2-Apr-07 5:29
badgrs2-Apr-07 5:29 
GeneralRe: how to: multi lingual webpage Pin
Sylvester george2-Apr-07 3:46
Sylvester george2-Apr-07 3:46 
QuestionPrinting a string variable using Javascript function [modified] Pin
indian1432-Apr-07 3:34
indian1432-Apr-07 3:34 
Hi all,
I have a javascript function written in html block of aspx page. I have string vairible declared in it, when I try to print it on a paper its printing whole page, instead of printing that string variable only. Can anybody please suggest me or give me some code snippet how to do it. If possible give me the code snippet for 2-browsers Mozilla and IExplr

My code is as below :

function printdoc(text)
{
var lbl="<%=str4%>";
if (lbl == "Valid")
{
var lbl1="<%= str1 %>";
text=lbl1;
print(text);
}
else
{
alert("Bio-metrics have not been done");
}
}

Can anybody please tell me how to do it. Thank you.

Regards,
Aleem.

S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.

AnswerRe: Printing a string variable using Javascript function Pin
Guffa2-Apr-07 6:01
Guffa2-Apr-07 6:01 
AnswerRe: Printing a string variable using Javascript function Pin
Guffa2-Apr-07 21:16
Guffa2-Apr-07 21:16 
Questionrunning a batch file from asp.net web page Pin
markymark822-Apr-07 3:32
markymark822-Apr-07 3:32 
AnswerRe: running a batch file from asp.net web page Pin
Nicejith2-Apr-07 20:05
Nicejith2-Apr-07 20:05 
Questioncreating a detailed panel window Pin
Imthu2-Apr-07 3:15
Imthu2-Apr-07 3:15 
AnswerRe: creating a detailed panel window Pin
kubben2-Apr-07 3:20
kubben2-Apr-07 3:20 
QuestionXML Upload Pin
rockyl2-Apr-07 2:59
rockyl2-Apr-07 2:59 
AnswerRe: XML Upload Pin
gauthee2-Apr-07 3:12
gauthee2-Apr-07 3:12 
GeneralRe: XML Upload Pin
rockyl2-Apr-07 3:38
rockyl2-Apr-07 3:38 
GeneralRe: XML Upload Pin
badgrs2-Apr-07 5:26
badgrs2-Apr-07 5:26 
GeneralRe: XML Upload Pin
rockyl2-Apr-07 21:07
rockyl2-Apr-07 21:07 
AnswerRe: XML Upload Pin
Nicejith2-Apr-07 20:10
Nicejith2-Apr-07 20:10 
GeneralRe: XML Upload Pin
rockyl2-Apr-07 21:04
rockyl2-Apr-07 21:04 
GeneralRe: XML Upload Pin
rockyl11-Apr-07 2:15
rockyl11-Apr-07 2:15 
QuestionDisplaying details in a penel from gridview Pin
Imthu2-Apr-07 2:46
Imthu2-Apr-07 2:46 
AnswerRe: Displaying details in a penel from gridview Pin
kubben2-Apr-07 3:19
kubben2-Apr-07 3:19 
Questionredirect to google search Pin
iamdking2-Apr-07 2:37
iamdking2-Apr-07 2:37 

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.