.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Disabling the popup blocker using java script

Posted By:      Posted Date: September 20, 2010    Points: 0   Category :WPF


My application cotains many popup windows, popub blocker blocks the windows so...

can any one help me to disable the popupblocker by java script or using C#......

Thank you....

View Complete Post

More Related Resource Links

Disabling the Popup blocker

 Hi i'm using Window.open of java script to popup a window on clicking button. popupBlocker blocks the window.  Is there any way to Disable the popup Blocker programatically? help me.....

Disabling popup blocker


Hi .....

I wanted to disable the Popup blocker .

I used window.showModalDialog() insted of window.open its working.

But the problem is its working in IE. not in Firefox..... I want it work on both...

Is there any solution for that

Thank you.....

write a java script to show a msg wan to colse yes or no

 write a java script to show a msg wan to colse yes or no.if user select yes then another function is call then he select no then nothing happend

ssrs 2008 R2 - report parameter with no default set throws java script error

We have recently upgraded from SQL Server 2008 to SQL Server 2008 R2....I am experiencing a problem with my report parameters on my SSRS reports. It seems that my report parameters that I do not have a specified 'default' value throws a java script error when I try and run/render the report under R2.  As soon as I put a 'default' value on the report param, everything is fine.  However, that is not the behavior we need for our reports...the user needs to pick their selection. Can anyone shed some light on this, it seems to be an AJAX problem...I need to be able to have report parameters with a list of values, but no 'default' value on the parameter.

accesing controls on cotent pages using java script

i had a webform which used javascript for calander <head> <script language="javascript" src="Calendar.js" type="text/javascript"></script> </head> . . . <asp:TextBox ID="txtDateLeaving" runat="server" Enabled="false"></asp:TextBox> <a onclick="showCalendarControl(txtDateLeaving);" href="#"> <img src="calendar.gif" style="width: 20px; height: 20px" border="0" alt="cal" /></a> it was wrking perfectly . .but i am not able to run it using master pages.. when i try to access control on the content pageit says txtDateLeaving is not defined..can anybdy tell me how shld i achieve the same functionality using master n content pages..

Calendar.aspx page Refresh only Once + Java Script

Hi Experts, Following script works perfect (refresh only once after 5 seconds and stops but for some reason if somebody clicks next month then it keeps refreshing for 5 seconds. Can you please put the following code in your calendar.aspx page and check if you can get rid of the continuous refresh if somebody selects next month otherwise it works fine. Please provide the updated script <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"> <title>Refresh test</title> <script type="text/javascript">   window.onload=function(){     url = window.location.href;     qIndex = url.indexOf("?");     if( qIndex != -1 ){       getData = url.substr(qIndex+1, url.length-1);       if(getData != "refreshed=1"){         refresh();       } else {         myDiv = document.getElementById('content');         myDiv.innerHTML = "This is the second and final time the page loaded.";       }    

java script problem !

hi.i have this code : <asp:TextBox ID="TextBox1" runat="server" Width="92px"></asp:TextBox> <asp:Button ID="Button1" runat="server" Text="ok" Width="64px" /> <asp:CheckBoxList ID="CheckBoxList1" runat="server" RepeatDirection="Horizontal"> <asp:ListItem Value="1"></asp:ListItem> <asp:ListItem Value="2"></asp:ListItem> <asp:ListItem Value="3"></asp:ListItem> </asp:CheckBoxList> and in button i have this code : If TextBox1.Text.Contains("1").ToString Then CheckBoxList1.Items.Item(0).Selected = True Else CheckBoxList1.Items.Item(0).Selected = False End If If TextBox1.Text.Contains("2").ToString Then CheckBoxList1.Items.Item(1).Selected = True Else CheckBoxList1.Items.Item(1).Selected = False End If If TextBox1.Text.Contains("3").ToString Then CheckBoxList1.Items.Item(2).Selected = True Else CheckBoxList1.Items.Item(2).Selected = False End If how i can do this code with javascript instead of vb code ?

Problem with java script basic script constraint.

 hi my code isfunction checkValue(){ if(''==document.getElementById ('textbox1').value) { alert('Please enter a value'); } }   and i am calling it on a button click event but its not responding. html code:  <asp:Button ID="btnButton" runat="server" Text="Button" onclick="checkValue()"/>   please help.

how to check one time java script file download not every session

how to check one time java script file download not every session

form sliding using java script

how can we use sliding forms in asp.net

java script to call serverside function

hi i want java script by which i can call my asp.net (vb) function which i have written in aspx.vbi just using the vb function to change and check value of hiddenfild and other controln dont want to use ajax control toolkit , i wat to perform some action after spefic time interval

How to call java script in grid rowdatabound event

Guys I want some help on this issue my code goes like this protected void grdResults_RowDataBound(object sender, GridViewRowEventArgs e)    {        if (e.Row.RowType == DataControlRowType.DataRow)        {                       TextBox txtQty = e.Row.Cells[1].FindControl("txtQty") as TextBox;            Label lblTWeight = e.Row.Cells[9].FindControl("lblTWeight") as Label;            Label lblTMHRS = e.Row.Cells[10].FindControl("lblTMHRS") as Label;            Label lblTLabor = e.Row.Cells[11].FindControl("lblTLabor") as Label;            Label lblTMaterial = e.Row.Cells[12].FindControl("lblTMaterial") as Label;            Label lblTCost = e.Row.Cells[13].FindControl("lblTCost") as Label;            string onComp = "getTotalComplete(document.getElementById('" + txtQty.ClientID + "'));&q

Wizard Control and Java Script

Hi!Does enyone know if it is possible to get wizards next active step (that can be allso previous step when going back) width and height values in JavaScript?

My script is disabling the page edit button (not intentionally)

I have a jQuery script that injects content into a publishing page.  When it does, the edit button (the little one beside the browse tab) no longer works.  If I don't run the script on page Ready, but run it through the Firefox console after the page has fully loaded, everything works fine.  All I can deduce is that some SP script is assigning an event to the edit button after the page is loaded, and my script seems to be conflicting with it.  I have tried using various delay methods such as ExecuteOrDelayUntilScriptLoaded, but nothing seems to work. Is there any way of telling when SP has finished all it's scripts on page ready?   I've spent hours on this, so am ready to just re-assign the click event, but don't think that's a great solution. Appreciate any insight.

Force report viewer to refresh through java script

I have a Report Viewer in Modal Popup Extender and I need to call refresh on the report viewer or simulate a postback. I have hidden fields tied to the Report viewer parameters, so I put my the report viewer in an update panel. And I need to find a way to refresh the report. My code is below...thanks for helping.

Problem with IndexOf function in Java script?


Hi all,  i have one problem while using Index Of function in java script. I am using this in this way:

var ss=(document.getElementById('<%=HiddenField1.ClientID%>').value.indexOf(","+document.getElementById('<%=yyy.ClientID%>').value+"-"+document.getElementById(str).value,20));                       

Namespace Conflict while accessing webservice from java script






Hi All,

I am using Asp.Net with C# , I am trying to access web service from java script using below code


DCen.RC.RController.Update(_User, _UserId, _ContObjId, _IsUnrAllowed, _UserRatiowed, _Localed,  SucceededCallback, FailedCallback);<br/>

The above line is working fine in my local env. but when i am trying to deploy it on server it through exception and said "DCen not Defined "

Plese help me out


Thanks in advance

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend