Web Forms :: Print Option Working In Dev Server But Not In Client Server..
Nov 18, 2010I tried myrepot.printtoprinter(1,fales,1,1) but thats working only for development machine. Not working on Hosted server!!!
View 1 RepliesI tried myrepot.printtoprinter(1,fales,1,1) but thats working only for development machine. Not working on Hosted server!!!
View 1 RepliesNow I am printing the data from model in mvc. I am also printing the documents, How I upload file how to print that particular documents which is related that particular user with the other data...
View 1 RepliesExist there a component that allows to print directly to a clients printer (which ip/port is accessible) from server side?
View 2 RepliesI have a webform on which i display all the details of a particular record now i want to give my client print functionality so he can print those detail. Can this be done in asp.net and if yes then how?
View 4 RepliesWhat is Web services? What is Web services? How can I Transfer the data from server to client and client to server using XML. Need one simple Example program(C# web Application) ...
View 1 RepliesI have to implement the print functionality on aspx page like on click of print image icon user will be able to get the print out of aspx page .aspx page will contain the server controls like textboxes , Gridview etc which one approach will be the best server side or client side printing ?
View 4 Replieshw cn i give print option on web page like say i hv to print a marksheet in defined format.
View 3 RepliesI'm looking for an option to print a web page along with all the formatting of the page, like background color, images etc.. The regular javascript window.print() does print only the text in the page and the formatting is missing. - either in javascript or C#.
View 1 RepliesI have a listview on the web page, which looks like a neat report.
Like you know all web pages on IE have a print option on it or Print Preview.
These are existing on the web page.
When I click on it to print my page, which has two pages to print. The first page is fine, but the second page has a wide space right on top. How could I do paging settings to fix this space to go away?
[code]....
How to Print RDLC Report without print preview on Client Side in ASP.Net ...
View 1 RepliesWhen I try to print SSRS report I got the message: Unable to load client print control.
I am using report viewer to view the report
My ASP.Net application is running on a server.
My MS SQL server is running on a separate server
My Report server is running a separate server
I tried installing the report viewer patch from [URL] and installed the same on all the three servers ... and have restarted too!
It is not working on production environment and the same is working in development environment
Reposting my unanswered in technet.microsoft question?
MSDN "ASP.NET Delegation" article tells:
1) "When you configure to use a particular account as the process identity, ASP.NET attempts to delegate that account. If it is a local account that is identical (including password) to a local account on a remote machine, delegation is possible. If such an account does not exist on the remote machine, to the network it appears as the Windows anonymous account (NT AUTHORITYANONYMOUS LOGON). In addition, delegation is also possible if the account is a domain account that has access to the remote machine, in which case it uses the domain network identity of that account."
The same frequently repeated story as in case of manually/interactively accessing remote computer (server resource) in workgroup - it is necessary to create local account with the same username, the same password. But why?
If a workgroup Windows client process cannot access resources on server machine without having duplicate of such (local) account on target machine already pre-created,does it mean that client (process, machine, or user) can access server resources only by/after having logged (opening logon session) into server machine? Or, how to understand that such access is impossible without having corresponding duplicate local account on server machine?
The same MSDN "ASP.NET Delegation" article tells:
"NetworkService account. It behaves the same as the System account. This account possesses the network credentials associated with the machine account (domainnamemachinename) in the domain of which it is a member"
Does not any Windows have accounts ((NT AUTHORITYNETWORK SERVICE)? as well as many other common pre-built accounts? Why are they installed (before any joining to domain) but cannot be used for remote network access and client identification ? And what is identity used when the process from workgroup Windows under identity ((NT AUTHORITYNETWORK SERVICE) accesses a remote server?
My related questions:
domained LocalSystem vs. non-domained LocalSystem account in Windows-es ? how to check group membership of an "NT AUTHORITY" account ? Is client LocalSystem (SYSTEM) identified by target/server machine? and in which context? Window workgroup LocalSystem vs. domain (AD) LocalSystem [closed]how to better set up machine for development both in workgroup and Windows domain? [closed] interoperating with Windows domain computer from workrgroup Windows [closed] the context of local user of AD-joined machine? Is it of domain machine account or of local machine account? RunAs under domain account from non-AD Windows [closed] how to better set up machine for development both in workgroup and Windows domain? [closed] how to share the same domain machine account with multi-boot workgroup Windows setup?
in its webconfig file i have
<identity impersonate="true" userName="webserverloginname" password="webserverpassword" />
sername1= username of the system
password1 = passowrd of the system
username2= username of the the database
password2 = passowrd of the database
client system which access the database server aswell as web server
We have an UpdatePanel that is showing a gridview with loads of data in it. We have loads of well written sprocs that don't take very long, BUT we have a few horrible ones that take ages.
We do intend to rewrite them but in the interim we have put the ADO.NET commandtimeout up to 180s. The scriptManager.AsyncPostBackTimeout is set to 240s. We want to handle this on the serverside. One of the reports still fails (it's got a couple of nested cursors in it - someone who hasn't had SQL lesson 101 from me!).
Half the time, the nice error timeout message is shown using server side handling of the command timeout. The problem is that the other half of the time the commandtimeout doesn't seem to fire.
how to upload file in asp.net using c# with respect to grid view as when i upload file.. den using grid view i can view all d information n get a option to download dat uploaded file from gridview....
View 1 RepliesI have situation where I need to authenticate a client across multiple web services. Basically each service needs to identify the client and know a few other small pieces of information about the client.
The way I have it working now is that the needed identifying information is stored in a session table in a database by the authenticating web server. The web server hands the client an string, which IDs the database entry and gets passed to the other web services. The web services then use this string to pull the needed information about the client from the database entry.
It has occurred to me that it might be possible to give the client an encrypted blob that contains the user ID and other needed information, which is rather small, and avoid using the database for this completely. The client would just pass around the blob (like the string in the previous paragraph) without needing to know what it contains, and only the web services would know how to decrypt it.
This should eliminate the need for the database to store the session information and would make the whole process a good bit simpler. With the database you have to worry about cleaning up old sessions and timeouts and so on.
So my question: is passing around sensitive data from service to service via client considered safe and acceptable? Is it possible to do this in a way that would eliminate worry about the client tampering with the data? What encryption algorithms would be good to use?
How to print PDF/Word in server side?
View 4 RepliesWe have a report that displays 30 records per page..there needs to be print options on the page..
They want to have the ability to print ONLY the records currently on the page or the option to print ALL records for the report..
The print all is fairly easy, i can just present the same page with no page size and they can print it out. But not sure how to go about setting up a print this page only option.
iam using the ReportViewer Control in Visual Studio 2008 for displaying the report on the page. When iam going to Click on Print button iam getting the below error. Unable to load client print control
View 1 Replieshow to write custom code for printing a report in the report viewer in web forms using rdlc files
View 1 RepliesHow to disable File Menu Control (Print option) of Browser in asp.net
View 5 RepliesI have a requirement to disable save as and print options of file menu of the browser in which my portal opens.For this i have used javascript code which clears the clipboard text.Because of this when my pplication is opened then copy paste wont work on the system.Iam calling this method on load of a startup page and afer clearing the clipboard text iam opening my home page through javascript with no menu bar just like a modal popup iam trying ot open.This is working fine for some browsers but IE7 and firefox users are unable to load the applicatio because of this javascript function.Can anyone suggest me how to overcome this or how to disable save as and print option.My final aim is user shouldnt be able to save or print my application data...
View 5 RepliesIf I have something like the following:
<asp:TextBox id="test" runat="sever"></asp:TextBox>
<asp:RequiredFieldValidator runat="server" ControlToValidate="test"
ErrorMessage="Required"></asp:RequiredFieldValidator>
<asp:Label runat="server" id="lblStatus"></asp:Label>
if in the code behind, I set the label to "You must enter a value if the textbox is empty" to validate it on the server side and this is fine, but if javascript is enabled, I don't want to show the client side validation and the server side label together. Is this something where I would just have to disable the client-side validators if javascript was enabled?
I am working on a real estate website, they asked to have a "Save this page to list"means that the vistor will save this page in his browser .Is it using cookies ? how ?
View 2 RepliesI'm using the full-text feature on SQL Server 2008 RC2. Everything had been working well until today. I wanted to change the language for word breakers from Neutral to Slovakia. After I did that, I can't perform full-text search anymore. It simply give me no rows. I even deleted the old full-text catalog and created a new one and populated it, but it still gave no solutions. I tried to query dm_fts_index_keywords_by_document on my table and get only 1 row with a display term END OF FILE.
View 3 Replies