I have a web application developed with asp.net I want to print a file with extension RTF using Java script. Can anyone help me to do that? Thanks
aminowest
Posts
-
printing RTF file using javascript -
Problem with crystal reports in an asp.net applicationI'm developing a web application using asp.net with VS .net 2008. I also use reporting tool Crystal Reports. I have a problem with arabic data display in the report. If i have a text field or object has arabic data value with special character(like / or _) e.g. ArabicName1/ArabicName2 The resulting displayed data inside the text field or object is reversed i.e. The displayed data is: ArabicName2/ArabicName1 To solve this problem i changed the Reading Order property to be LTR also changed the Text Interpretation property to RTF then data displayed correctly but this solution is not logic. I'm not using any CSS that may override the text field properties. Could anyone find a solution for this? Thank You
-
asp.net application C# with asp.net C# web applicationI have a an asp.net web application with C# page that sends username and password to an asp.net web application with C# but different application. I need to pass these data to the asp.net we bapplication but without using the Response.Redirect method. I tried to use the HttpWepRequest and HttpWebResponse ways.I use the following code in the source page: string strId = "1"; string strName = "amino"; //string result =""; ASCIIEncoding encoding = new ASCIIEncoding(); string postData = "userid=" + strId; postData += ("&username=" + strName); byte[] data = encoding.GetBytes(postData); // Prepare web request... HttpWebRequest myRequest = (HttpWebRequest)WebRequest.Create("http://localhost:1644/TragetApp/Default.aspx"); myRequest.Method = "POST"; myRequest.ContentType = "application/x-www-form-urlencoded"; myRequest.ContentLength = data.Length; myRequest.AllowAutoRedirect = false; Stream newStream = myRequest.GetRequestStream(); // Send the data. newStream.Write(data, 0, data.Length); newStream.Close(); //Response.End(); //prepare response Stream receiveStream; HttpWebResponse myWebResp = (HttpWebResponse)(myRequest.GetResponse()); receiveStream = myWebResp.GetResponseStream(); //result = sr.ReadToEnd(); receiveStream.Close(); in the page_load of the target page i do the following to c the username: protected void Page_Load(object sender, EventArgs e) { Label1.Text = Request["username"].ToString();//.QueryString["name"].ToString(); Response.Output.WriteLine(Request["username"].ToString()); } I put a break poit in the page_load of the target page. The username is sent correctly to the target page but after i continue running i found that the displayed page is the source page. I need to stop at the target page after receiving the username. What can i do?
-
uml from visual studio 2005I want to draw class diagram inside visual studio 2005 web application. I know that i can add a new item of type "class diagram" to my solution but the .net class diagram is very poor. I can't add multiplicty for my relation. I can't add an association class. I can't make a dependency between two classes. so, can anyone help me to find a better way to draw a good class diagram and to get the generated C# classes from it? Thank You Ahmed
-
UML in visula studio 2005I want to draw class diagram inside visual studio 2005 web application. I know that i can add a new item of type "class diagram" to my solution but the .net class diagram is very poor. I can't add multiplicty for my relation. I can't add an association class. I can't make a dependency between two classes. so, can anyone help me to find a better way to draw a good class diagram and to get the generated C# classes from it? Thank You Ahmed Amin
-
How to generate C# class code from a UML class diagram using visio 2003i'm using microsoft visio 2003 to draw class diagrams for my project. I want to generate C# classes for my diagram. I duno how to generate the code? Can anyone help? Ahmed
-
Generate C# code from UML class diagrami'm using microsoft visio 2003 to draw class diagrams for my project. I want to generate C# classes for my diagram. I duno how to generate the code? Can anyone help? Ahmed
-
server control datagrid with ajaxI want to use a dropdownlist server control with a datagrid server control sothat when i change the dropdownlist the grid changes but using AJAX. I can do it if the datagrid is a simple html table but i can't implement it if the grid is a server control datagrid. Is there anyway to display the grid as a server control using AJAX or it must be html table to display it with AJAX? Ahmed
-
server control datagrid with ajaxI want to use a dropdownlist server control with a datagrid server control sothat when i change the dropdownlist the grid changes but using AJAX. I can do it if the datagrid is a simple html table but i can't implement it if the grid is a server control datagrid. Is there anyway to display the grid as a server control using AJAX or it must be html table to display it with AJAX? Ahmed