Click here to Skip to main content
16,006,378 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Preventing (or reducing) Contact Form abuse Pin
BungleBonce23-Jan-08 2:34
BungleBonce23-Jan-08 2:34 
GeneralRe: Preventing (or reducing) Contact Form abuse Pin
Vasudevan Deepak Kumar24-Jan-08 4:19
Vasudevan Deepak Kumar24-Jan-08 4:19 
GeneralRe: Preventing (or reducing) Contact Form abuse Pin
BungleBonce24-Jan-08 4:40
BungleBonce24-Jan-08 4:40 
GeneralRe: Preventing (or reducing) Contact Form abuse Pin
Paul Conrad24-Jan-08 6:41
professionalPaul Conrad24-Jan-08 6:41 
GeneralRe: Preventing (or reducing) Contact Form abuse Pin
Paul Conrad24-Jan-08 6:40
professionalPaul Conrad24-Jan-08 6:40 
GeneralRe: Preventing (or reducing) Contact Form abuse Pin
BungleBonce24-Jan-08 8:08
BungleBonce24-Jan-08 8:08 
GeneralRe: Preventing (or reducing) Contact Form abuse Pin
Paul Conrad24-Jan-08 8:20
professionalPaul Conrad24-Jan-08 8:20 
Questionhow to make popup window active Pin
chithra.r22-Jan-08 23:25
chithra.r22-Jan-08 23:25 
hi
iam having a aspx page which contains a textbox and a button.i have written javascript code for passing values between a popup window and the parent(aspx)page.upto this everything works fine.after taking value from pop up window i want to make the pop up window active(that is parent window should not be clicked unless pop up window closes.)but in my case the pop up window gets minimised when i click outside in the parent window.and one more problem with the page is it gets minimised when i click outside the window.


iam giving the javascript code here for your reference.

function to open pop up window..

string scr = @"<script>
function update(elemValue)
{
document.getElementById('ctl00_LondonContentPlaceHolder3_txtRestName').innerText=elemValue[0];
}
</script>";
// register the javascript into the Page
Page.RegisterClientScriptBlock("update", scr);
//add our popup onclick attribute to the desired element on the page (Here, Hyperlink1)
lnkTopPick.Attributes.Add("onclick", "window.open('lrs_SearchRestToppick.aspx',null,'left=190, top=225, height=250, width= 465, status=n o, resizable= no, scrollbars= no, toolbar= no,location= no, menubar= no');");


function to pass value

protected void Page_Load(object sender, EventArgs e)
{
string scr = @" <script>
function Done()
{
var RestName=document.getElementById('txtRestName').value;
var RestDesc=document.getElementById('txtRestDesc').value;
var ret= new Array(RestName,RestDesc);
window.opener.update(ret);
window.close();
}
</script>";

Page.RegisterClientScriptBlock("done", scr);
}

pintoo

AnswerRe: how to make popup window active Pin
Vasudevan Deepak Kumar23-Jan-08 2:06
Vasudevan Deepak Kumar23-Jan-08 2:06 
GeneralRe: how to make popup window active Pin
chithra.r23-Jan-08 17:22
chithra.r23-Jan-08 17:22 
GeneralRe: how to make popup window active Pin
Vasudevan Deepak Kumar24-Jan-08 4:17
Vasudevan Deepak Kumar24-Jan-08 4:17 
QuestionActive Directory/Web Part/Sharepoint/Weee Pin
esplosion22-Jan-08 12:15
esplosion22-Jan-08 12:15 
GeneralRe: Active Directory/Web Part/Sharepoint/Weee Pin
Mark Churchill23-Jan-08 0:19
Mark Churchill23-Jan-08 0:19 
GeneralRe: Active Directory/Web Part/Sharepoint/Weee Pin
esplosion23-Jan-08 10:08
esplosion23-Jan-08 10:08 
GeneralRe: Active Directory/Web Part/Sharepoint/Weee Pin
MrPlankton25-Jan-08 8:39
MrPlankton25-Jan-08 8:39 
GeneralDownload manager website code Pin
Gene Arnold22-Jan-08 0:43
Gene Arnold22-Jan-08 0:43 
Generalweb part Pin
ptvce21-Jan-08 20:18
ptvce21-Jan-08 20:18 
GeneralRe: web part Pin
esplosion22-Jan-08 12:09
esplosion22-Jan-08 12:09 
QuestionSession Varialble Problem Pin
sivaprakas21-Jan-08 19:56
sivaprakas21-Jan-08 19:56 
GeneralPopulating DropDown List Using AJAX Pin
ELEESA JOVAIN21-Jan-08 18:32
ELEESA JOVAIN21-Jan-08 18:32 
GeneralAvoid postback when a ComboBox is clicked Pin
Kikala21-Jan-08 8:17
Kikala21-Jan-08 8:17 
QuestionProblem with form data after submitting Pin
Nilesh Hapse20-Jan-08 23:34
Nilesh Hapse20-Jan-08 23:34 
GeneralRe: Problem with form data after submitting Pin
sivaprakas31-Jan-08 14:33
sivaprakas31-Jan-08 14:33 
GeneralConnection to SQL Server issues Pin
Chris McGlothen20-Jan-08 7:38
Chris McGlothen20-Jan-08 7:38 
GeneralRe: Connection to SQL Server issues Pin
Paul Conrad20-Jan-08 9:31
professionalPaul Conrad20-Jan-08 9:31 

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.