here is my code which shows the file.
string strScript = "<script language='javascript'> window.open('../data/" + sFile + "','mywin')</script>";
ScriptManager1.Page.ClientScript.RegisterStartupScript(this.GetType(), "PopupScript", strScript);
Thanks
Pr
I have one more question.
I have a gridview with a Select button. When the user clicks the Select button, it should create a file and open it. When I put the gridview in a UpdatePanel it creats the file when the Select button is clicked but doesn't Show the file in the browser.
Any ideas ...
You suggestion solved my problem.
I have one question. I have 5 controls which need to be updated when the Select button is updated. So I need to add 1 UpdatePanel for each of this controls. Is there any way around this ? Like just one single UpdatePanel for 5 controls.
Are there any...
Hi,
I have a Gridview control which is under UpdatePanel control using AJAX.
When I click the Select button in the GridView the SelectedIndexChanged button is not getting triggered asynchronously.
It works fine if I remove the UpdatePanel Control but in that case it will do a PostBack and...
Hi Guys,
I want to execute this code in Page_Load event.
if (!Page.ClientScript.IsStartupScriptRegistered(this.GetType(),"PScript"))
{
string strJS = "<script language='javascript'>alert('test');";
this.Page.ClientScript.RegisterStartupScript(this.GetType(), "PScript", strJS);
}
For...
Hi,
I have a Gridview with a button as one of the columns.
This is not a select button.
How do I get access to the selected row of the GridViewRow Control and access the row in the button's click event.
Thanks
Pr.
I am trying to connect to TeraDatabase from an ASP.NET 2.0 application using Teradata.Client.Provider.
I get the following error :
System.DllNotFoundException: Unable to load DLL 'wincli32.dll': The specified procedure could not be found. (Exception from HRESULT: 0x8007007F) at...
Hi Guys,
We have a new development Server with IIS 6.0 and .NET framework 1.1.432 installed.
What we want to do is move all the project files from the local pc to this server so that there is a single location.
How can we use the IIS installed on this server from my machine ? I donot want to...
Hi Guys,
Can I put One Control on top of the other in ASP.Net ?
I need to place a text box on top of a hyperlink control so that at run time either the text box or hyperlink control is visible ? Even if I set one control's visible property to off it still takes the space. I do not want the...
Hi Guys,
Can I put One Control on top of the other in html ?
I need to place a text box on top of a hyperlink control so that at run time either the text box or hyperlink control is visible ? Even if I set one control's visible property to off it still takes the space.
Can this be done ...
No we are not getting into testing the correctness of the URL. We will have to trust the user. We do not want to complicate it.
But thanks for bringing this point up Turkbear.
Thanks
Pr.
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.