Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:872162
More Search Options
RSS Available
Matching Posts
Re: Opening a .doc file at the clientside without the open/save dialog box
[quote user="jitendramcu"] use this but u have to use System.Diagnostics namespace,it will open a file with asking anything. protected void Button1_Click(object sender, EventArgs e) { Process p = new Process(); p.StartInfo.FileName = Server.MapPath("~/DocFiles/") + "CV.doc"; p.StartInfo.WindowStyle = ProcessWindowStyle.Normal; p.Start(); } [/quote] Hi, Thanks for code. Its working fine. If you have no problem so could you tell me that i want to open a doc file in a new
Posted to
Getting Started
(Forum)
by
Pankaj18
on 12/30/2009
Re: Opening a .doc file at the clientside without the open/save dialog box
[quote user="mendhak"] you can't get past the Open/Save/Cancel dialog - that's a browser security feature which shows up because you're forcing a file download. The reason it exists is because if it didn't, anyone could make a page that sent a malicious EXE to the end-user's machine without their consent. Second - you can try redirecting the user to the hosted file on your server. The reason your javascript isn't working is because you're pointing to a server
Posted to
Getting Started
(Forum)
by
Pankaj18
on 12/29/2009
Opening a .doc file at the clientside without the open/save dialog box
Hi, Need some help with an problem that bugging me.. I have to open a .doc file at the client side when the user clicks a button. Opening is not a problem.. I am able to do it using the following code which is executed when the user clicks on the button my code: byte[] imagecontent = (byte[])(drd[0]); Response.ContentType = "application/octet-stream"; Response.AddHeader("Content-Disposition", "attachment;filename=" + drd.GetValue(1).ToString()); Context.Response.BinaryWrite
Posted to
Getting Started
(Forum)
by
Pankaj18
on 12/28/2009
validate multiple Email IDs
Hi, I want to validate multiple Email ids separated with comma(,) with single TextBox as CC. please help me. Thanks Pankaj
Posted to
Getting Started
(Forum)
by
Pankaj18
on 12/19/2009
Redirect a page in a frame target
Hi, I am using below code in asp.net to redirect one page to another page. Response.Redirect("new.aspx"); but i want to redirect in a Htmp page in a particular frame which target name is 'bottom'. If there is any solution so please help me. Thanks ! Pankaj Singh
Posted to
Getting Started
(Forum)
by
Pankaj18
on 11/11/2009
Stylish Tabs with Submenu
Hi, Can some provide with helpful link in designing a Tab control with sub menu. Like this image::
Posted to
Getting Started
(Forum)
by
Pankaj18
on 11/4/2009
Re: Setting width and Height in percent(%)
Hi Hari, Can you please explain it? Actually i want every control in percentage because if there are two system and one has higher resolution whereas the second has inferior resoultion, if the controls are defined in pixels then both of them will see the website differently. So if i define controls in terms of percentage both of them will see it same. Thanks Pankaj Singh
Posted to
Data Presentation Controls
(Forum)
by
Pankaj18
on 10/31/2009
Setting width and Height in percent(%)
Hi, I have a Project in Asp.net which have approximate 120 forms. Each of them have multiple controls as Table, Textbox, Dropdown,ListBox,Gridview..nd so on with different different name. I have set the width and Height of all controls as Pixel(px). But now i want to change width and Height in percent(%) of all controls. So there is any quick solution for it or i will have to change one by one controls. If there is any solution so please help me. Thanks Pankaj
Posted to
Data Presentation Controls
(Forum)
by
Pankaj18
on 10/30/2009
Re: Setting width and Height in percent(%)
Hi, Have you tried it? Do you know waht is the mean of it? All the controls will spread out. Pankaj
Posted to
Data Presentation Controls
(Forum)
by
Pankaj18
on 10/30/2009
Set Target in Tabs Control
Hi, I am using Ajax Control tabs Demonstration from:: http://www.asp.net/AJAX/AjaxControlToolkit I want to set Target (frame name), when i click on Tabs. Help me. Thanks pankaj
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
Pankaj18
on 10/24/2009
Page 1 of 6 (56 items) 1
2
3
4
5
Next >
...
Last »
Silverlight:
ASP.NET 4, ASP.NET MVC, and Silverlight 4 Videos of my Talks in Europe
Channel 10:
Faster Solid State Drives for Windows 7 Arrive
ASP.NET:
Death to confirmation dialogs with jquery.undoable
Channel 9:
E2E: Brian Beckman and Erik Meijer - Co/Contravariance in Physics and Programming, 1 of 2
TechNet Edge:
Windows Server 2008 R2 Quick Look #3 - PowerShell V2
ASP.NET:
2009 Blogged - Greatest Hits
WindowsClient:
2009 Blogged - Greatest Hits
Channel 9:
Nikolaj Bjørner and Leonardo de Moura: The Z3 Constraint Solver
Channel 9:
MEF & Silverlight 4 Beta - Part 2, Imports & Exports
Channel 9:
MEF & Silverlight 4 Beta - Part 1, Introduction
WindowsClient:
The (Near) Final Word on Multi-Monitor Taskbars for Windows 7 - Ultramon vs. DisplayFusion
WindowsClient:
Looking back at 2009, and forward to 2010
Silverlight:
Polling Video – A Viable sub-second alternative?
TechNet Edge:
Windows Server 2008 R2 Quick Look #2 - Active Directory Recycle Bin
Channel 10:
I'm a Windows 7 PC Themes
Channel 10:
24 Years of Windows Box Art
WindowsClient:
Silverlight tutorial: HOW TO build CommandLink Control in Silverlight with Expression Blend 3 and Behaviors
ASP.NET:
Converting an RGB Color To Hex With JavaScript
Silverlight:
Silverlight HVP Design – Configuration & Scenarios
Channel 9:
Channel 9 Live at PDC09: Day 3 Welcome
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online