I want to open application in seperate browser when click on SiteMapNode.
Thanks in advance.
View Complete Post
In parent page there is an imagebutton. What I want to when user click this image button, another page will open with width=200 and height=100 with no toolbar.
I have a WPF application that does a number of things. When running the app, I can go to File > Open, browse to a file, and open it in the app. Fields on the UI are updated with values from the file and everything works great.
The file I am opening contains binary data and has a custom file extension that is associated with my application. The problem is that if I DON'T have the WPF application running and I double click one of my associated files, it simply opens the application. I would like it to open the application and then load the contents of the file I clicked on. How can I go about doing this?
I have looked into using the Application_Startup event handler in the App.xaml.cs but cannot get the filename when double clicking on it as my StartupEventArgs are empty. However, the sender.ToString from Application_Startup handler returns "MyCompany.MyApp.App". How can I get the filename and go about loading it?
Another thing is that if I put a breakpoint in the Application_Startup event handler and double click my associated file, I never hit the breakpoint. The only way I hit the breakpoint is when I run the application from the IDE. I would like to be able to double click a file, then hit the breakpoint so I can do some debugging.
Thanks in advance.
I'm facing a problem here. I tried the to open an excel file (.xls) which was attached in a Calendar Item.On 1 PC, it opens automatically with the Excel application and thus the user is able to edit and save.OnÃÂ another PC, it opens in the browser and the user is unable to edit / save the file.Initially, I tried and thought that it's user rights issue but apparantly, it is not.How can I make the .xls to open in excel by default? Can someone help me?Really appreciate the help and answers.Cheers
In my project I am using
and maintain session when any user login in the application. On logout I am
expire the seesion using Session.Abandon (); but when I click on
the browser back button after logout it again login in the application. I want
after logout if any user clicks on the browser back button it do not again login
in the application it redirect it on login page. But I do not how it could be
Below is my code
protected void btnLogon_Click(object
sender, EventArgs e)
objUser = new
ticket = new FormsAuthenticationTicket(
On the first click nothing happens but on the second click the browser window is opening up.
How is it possible to make it open up on the first click ?
<asp:ImageButton ID="ImageButton3" runat="server" Height="84px"
protected void ImageButton3_Click(object sender, ImageClickEventArgs e)
ImageButton3.OnClientClick = openURL;