Hi Kawak,
No, I hav'nt got any update. Tried to install a new Excel on Win2003 and that did not help either.
Think it's very strange. There must be somebody out there who's using ASP.NET and Excel on Win2003?
This "return false", should I put it in the "OnClick" of the button who lauches the Modal?
bButton.Attributes.Add("OnClick", "GoLookSomething('tbOne','tbTwo'); Return=false; ");
I have a aspx-page (Y) and I use showmodal to open a window (X)where the user can choose a value. The value comes in a textbox on page Y and the window X closes again.
It works perfect, but after this my page Y every time looks like to refresh. And that is wat I don't want.
Showmodal i a script...
I have a ASP.NET application (Visual Studio 2003 - C#) where I open an Excel.Workbook. This works fine on my local PC (Windows XP), but on the webserver Windows Server 2003 it won't work.
Where I want to open an excel workbook I get an error: "Object reference not set to an instance of an...
Thanks for your reply!
Yes, I suppose it's using the same window twice.
How can you change this?
I tried to refresh the popupwindow, but how and where?
I open a Dialog/popupwindow when I click on a button:
string popupScript= "<script language='javascript'>" +
"window.showModalDialog('MyDialog.aspx', null, " +
"' DialogHeight=300px; DialogWidth=600px;')" +
"</script>";
Page.RegisterStartupScript("PopupScript", popupScript);
In...
Thanks enoch777, I'm a begynner as well!
You wrote: "I have it inside the onclick of the link button".
Where? In the HTML-part or in the C#-part. And how does it looks like?
Hm, I don't know the ansver on YOUR question, but it seems that you know the ansver on MY question that I 've send in yesterday:
I know how to open a modal window, clicking on a button after I wrote (in Page_Load)
Button1.Attributes.Add("OnClick", "ShowDialog();");
//JAVAscript
But I can't...
I know how to open a modal window, clicking on a button after I wrote (in Page_Load)
Button1.Attributes.Add("OnClick", "ShowDialog();");
But I can't find out how I could open a modal-edit-window when a user clicks on Edit in a DataGrid. How kan I use the DataGrid's EditCommand to open a...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.