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

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

Popup problem in WPF browser appliction.

Posted By:      Posted Date: October 28, 2010    Points: 0   Category :WPF

If i set the AllowTansparency =true explicitly, It automatically changes in to the false. Why what is the reason for this?. Is there any work around?.\


David C

View Complete Post

More Related Resource Links

WebDev.WebServer.exe has encounted a problem and needs to close when trying to view page in browser


Hi, whenever I load an aspx page in vwde2008, I get the message in the subject of this post.  After I click Ok on that, I get a dialog box, Unable to Connect to the ASP.Net development center.  What can I do to troubleshoot?

I am using Windows XP SP3, vwde2008 with SP1, on a HP desktop.  Also using Office 2003 if that is relevant at all.

Thanks, Justin

Ajax Popup Extender: Crashing the Browser



    I am using Ajax Popup extender as confirmation window. In my page, I am having multiple post backs for different cases. If I display ajax Popup extender, first few times it is working fine. After that, It is crashing the browser and i have to close the browser or it is closing the browser automatically.

Any Idea why it is happening? Did i miss anything?

My App details

IE Version : 6.0

.Net version: 3.5

Ajax version: 3.0.30512.20315



Problem when displaying a popup window

Hi all,
I am working on a project in which when I clicked a hyperlink a pop up window has to be displayed for 2 pages.
But at first when i did this in javascript it worked, later after i finished the whole coding suddenly an error box displayed that there is an error in webpage and want to debug

problem in css for Mozilla browser



I am displaying data in crystal report and I want to data to be displayed in vertical format. I am getting the proper alignment in all the bowsers ie. IE,chrome and safari. But having the problem with Mozilla.

The problem is with text alignment with any symbol eg. (% of hours), I want to display it in a single vertical line. But when a symbol is encountered (here it is %), it is displaying that in the next line.

Can anyone help me on this ? Its urgent.

Please find my CSS below.

    font-family:Arial,Verdana, Geneva, Helvetica, sans-serif;
    font-size: 10px;  
    -moz-transform: rotate(-45deg);
    -moz-transform-origin: 70px 55px;




Problem with ASP.NET Ajax, Framework version 4.0 and the SeaMonkey browser...

I have a site that I'm upgrading to the 4.0 framework and I've come across an issue with asp.net ajax and the SeaMonkey browser. It seems like the script manager is not registering the scripts on the page in seamonkey (but it works fine in IE, Firefox, Chrome, Opera, and Safari). Now, if I change the user agent string in SeaMonkey to use the user agent string from any of those other browsers, it works fine. So I guess my question is does ASP.NET Ajax check the browser's user agent to determine what scripts to register and, if so, is it possible that SeaMonkey is not included in the list in the 4.0 framework (I should add that it's working fine in the 3.5 framework so it seems to me like this is a difference between the two framework versions).

Is this problem of browser(IE7)

0 down vote favorite This is the dynamic example jsFiddle dynamic DEMO CLICK ME and This is static example jsFiddle static DEMO CLICK ME When I load markup dynamically into div it is not working in IE7. But if it is static it works fine. Yesterday I was unable to state my problem clearly so I made this fiddle. Please check it out and reply.

how to show popup when we close the browser

i want the wen i close the browser a popup should come confirm r u sure u 
want 2 exit if yes the browser should close and current date should be saved into the database.
i have tryied a code as
protected void Page_UnLoad(object sender, EventArgs e)

DateTime d = System.DateTime.Now;
string cn = "Data Source=hcl;Initial Catalog=mydata;Integrated Security=True";
SqlConnection con = new SqlConnection(cn);
SqlCommand cmd = new SqlCommand("insert into mydate values(@d)", con);
cmd.CommandType = CommandType.Text;
cmd.Parameters.Add(new SqlParameter("@d", d));
// cmd.Parameters.Add(new SqlParameter("@b", b));


but it was not succesful also before i close the browser the data is saved in the database.also i dont know how to call alert function 
as r u sure u want to exit .plz help

model popup problem


I have a user control containing a gridview

now i am using that user control with a model pop in aspx page

i have three gridview in aspx page, and for each gridview i have to popup the user control

for first two all things are fine

but for the third one all gridview lost


Browser problem IE8



we are facing a problem while running the appliaction in IE8 and the details are as below.

1. Deployed the application using integrated windows authentication.

2. used asyn file upload conrtol.

3. while we browe a file we are getting the below error."Unhandeled Exception:Access is denied."

but this is working as excepected in other browser like mozilla firefox, and also in IE7, the problem is in IE8.

Please let us know if any of u have an idea regading the solution of this issue.

Thanks and Regards

Bhupal Koushik


ModalPopupExtender problem with browser back button


ModalPopUpExtender shows popup when user clicks browser back button.

I saw this thread but I could find the solution for this problem.


mesajrapor1 is my user control which contains the modalpopupextender

Here is my code:


protected void DataList1_ItemCommand(object source, DataListCommandEventArgs e)
        HyperLink hyp = (HyperLink)e.Item.FindControl("hypGonderenAD");
        Label lblicer = (Label)e.Item.FindControl("lblIcerikMesaj");
        Label midlbl = (Label)e.Item.FindControl("lblIdMesaj");
        Label sidlbl = (Label)e.Item.FindControl("Label3");

        if (e.CommandName == "SikayetEt")
            mesajrapor1.RaporGonder(hyp.Text.ToString(), lblicer.Text.ToString(), Convert.ToInt32(midlbl.Text), Convert.ToInt32(sidlbl.Text));

Login problem with existing browser window


Hi All,

We are developing ASP.net 2.0/C# web application.

Once Login is expired the page is redirected to login page automatically. again If I am trying to login with same window, login is not working. Login is working when the application is opened in new browser.

What is the problem and how can i fix that error?

Problem with a Javascript Popup Window Minimizing itself


I am new to Javascript.  I have seen other posts about this, but I have not been able to resolve my problem. I have a WebPage that allows a user to click a LinkButton. When the LinkButton is clicked. I execute the following Javascript code after registering the ClientScriptBlock:

<script language='Javascript'>
PopupWindow = window.open('StandardImageLookupPage.aspx','PopupWindow');
PopupWindow.resizeTo(screen.width, screen.height);

No matter what I do the popup window comes up for a brief second and then minimizes itself. I prefer that the window stays maximized.

I am stumped. Any help would be much appreciated.

ps. I am not sure if this makes a difference, but the WebForm that calls this javascript is a user control.

ToolTip popup Problem


<script type="text/javascript">

        $(document).ready(function () {

            $('.show-tooltip').each(function () {

                $(this).hover(function () {

                    $(this).after($('<span id=\"stest\"/>').attr('class', 'show-tooltip-text').html($(this).attr('title'))).attr('title', '');


               function () {







hi problem with grid paging when grid is placed in ajax model popup extender


hi i had one ajax tab containeer.in that i placed a grid on click of the grid i am showing another grid which has pagination in a popup. the popup grid has the pagination(custom) which iam showing prev and next button in middle drop downlist the code is as fllows


<asp:ImageButton ID="imgbtnOPrev" runat="server" CommandArgument="prev" CommandName="Page"

 ImageUrl="~/Images/prev.gif" OnCommand="imgbtnOPre

Session Ending or FormsAuthentication problem after the browser tab closing


In my project user logs in the site with login.aspx page. Then user is redirecting to homepage (anasayfa.aspx)

User close the browser tab (not the browser) then user tries to open the site again and the page is default.aspx

Default.aspx is useless in my project. Host area needs a default.aspx, index.html like something and I added this default aspx.

I want:

After user close the browser tab, if he/she wants to open the site again, the first page must be his/her homepage not default.aspx

I didn't use asp.net membership provider or anything like that.

This is my login.aspx page code:

protected void ImageButton1_Click(object sender, ImageClickEventArgs e)
        SqlConnection con = new SqlConnection();
        con.ConnectionString = cnnstr;
        SqlCommand cmd = con.CreateCommand();
        cmd.CommandText = "Select Roles,UserId,UserName,Sifre,AccountType From ProfilBilgileri Where UserName = @txtLoginUserName AND Sifre = @txtLoginSifre and Durum=1";
        cmd.Parameters.Add("@txtLoginUserName", SqlDbType.NVarCh

How refresh parent page from popup on Firefox & IE browser


I have used following codes and it will worked on IE but not in FireFox browser

1] <script langauge=""javascript"" type=""text/javascript"">window.opener.location=window.opener.location;</script>

2] window.opener.location.reload(true);

3] <script langauge=""javascript"" type=""text/javascript"">window.opener.location.href='../parentpage';</script>"

4] window.opener.location.reload(true);window.opener.location.href=window.opener.location;

Folder structure of pages are as like -

main folder (ABC) ---> sub folder 1(PQR) ---> parent page ( which needs to refresh )

                                 sub folder 1(PQR) ---> sub folder 2(XYZ) ----> popup page

From above structure, I need to refersh parent page which is in PQR folder from popup page which is in XYZ folder under PQR folder.

Please provide me javascript code which will work for both browser as IE and Firefox



drop down list in modal popup problem


i have a drop down list in modal popup extender.... modal popup appears on click of a link button which is inside grid view..

update panel is for entire grid view... problem is that other control's postback event is not getting fired because of drop downs in popup...when i comment the code for drop downs other links' on click event gets fired...but as soon as insert drop down code...click event is not fired...

what might be the solution...

any help??

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