I confirm, Ask them even if you are using a trial version and they will solve your problem, well, i guess so ! Another advice : they are the only persons who can help you ! no other humans can do it ! and if they didnt, ... :laugh:
aymen hassine
Posts
-
Infragistics -
Export Excel (in a new window) not opening without pressing CTRL key !!Hello In my web application, I made a excel export of my screen (a simple informations grid !) and i tried to open that excel export on a new window (to not overwrite my browser content) and i used this instruction :
this.Page.RegisterClientScriptBlock("xlExport",@"javascript: window.open('/MyApplication/DefaultController.aspx?PageId=ExportXLPage&xlFiles=" + fileName + "','NewWnd','resizable=1,toolbar=1,location=1,status=1,menubar=1,scrollbars=1');");
to inject this code dynamically into my asp page, so that this code will be executed and the page "ExportXLPage" will be opened. And in that destination page i putted this intsruction,Response.Redirect(FileName));
to display the excel file wich i made with these headers (just to mention) :string str = "charset=utf-8"; oStringBuilder.Append("");
That worked fine on some machines and didnt on other ! In fact the new window opened and quickly closed whithout displaying anything on a machine with XP system and IE 6, and worked fine on , for example, a machine with WIN2000 and IE 6. Even worst : when i pressed CTRL key and request that export, it worked and the new window was perfectly displayed with the usual options (save/open/cancel) of the excel file. And i have to mention that i already desactivated the POPUP blocking system of my internet explorer !! (that could be normally desactivated with hitting CTRL key). Could that be related to the server's configuration (i mean system version...), or the client's configuration or may be both of them ?!?! Or did i simply wrongly opened that new window or badly built my excel file ? (All these problems occured when my application was published on my client server, but when i tested on my local machine, every thing was alright !!) Thanks in advance for helping soon -
Problem with displayed excel file created with StringBuilderI have to make an export to excel format, i developed this portion of code with the string builder class of .net to make dynamically the excel file starting from a given DataTable :
StreamWriter SW; SW=File.CreateText("test.xls"); StringBuilder oStringBuilder = new StringBuilder(); foreach(DataRow oDataRow in oDataTable.Rows) { oStringBuilder.Append(""); foreach(DataColumn oDataColumn in oDataTable.Columns) { if (oDataRow[oDataColumn.ColumnName] is long) { oStringBuilder.Append("" + oDataRow[oDataColumn.ColumnName] + ""); } else { oStringBuilder.Append("" + oDataRow[oDataColumn.ColumnName] + ""); } } oStringBuilder.Append(""); }
but when displaying the excel file, i have found some caracters that were badly diplayed like the 'é' that was displayed as 'É'. so how to fix that with that special caracters ? Is there a way to display them with the Append function of the .net Stringbuilder correctly ? thanks in advance -
How to replace special caracters like " ' & ....I have an xls file to create but it's name is automatically generated, so it may include some special caracters like ' " , or even é à ... so i must replace these caracters by a simple underscore before giving the name of the file. so how to do that ? how to fix the list of these caracters ? could i use their ASCII codes just to not have to enmumerates all of them ! thanks in advance
-
Errors codes in the IIS Log FileYes Todd, it seems to be that. But what is really abnormal is that i dont have any code that is calling that page (if we consider that "None" or "dummy.htm" is really a page) in my application. I searched a lot but nothing. Could it be a call of something that the server didnt recognize so it described it as an object called "None" or something like that !
-
Errors codes in the IIS Log FileI am building a web site using some specific controls (I purchased them). When i tried to make some performances tests on my application with the .net apllication test center, i found a lot of errors with code 404. So i went to my log file (made by the IIS on my machine) and i founded many lines like these : ... 08:50:06 127.0.0.1 GET /ig_common/WebNavigator31/None 404 08:50:06 127.0.0.1 GET /ig_common/WebNavigator31/None 404 ... 08:56:40 127.0.0.1 GET /Syges/Contrat/Contrat/dummy.htm 404 08:56:40 127.0.0.1 GET /Syges/Contrat/Contrat/dummy.htm 404 ... 08:56:47 127.0.0.1 GET /ig_common/weblistbar2/roundedorangeExplorer.gif 500 08:56:47 127.0.0.1 GET /ig_common/weblistbar2/roundedorangeExplorer.gif 304 ... 08:57:07 127.0.0.1 GET /ig_common/WebGrid3/ig_WebGrid_dom.js 304 08:57:07 127.0.0.1 GET /ig_common/WebGrid3/ig_WebGrid_ie.js 304 08:57:07 127.0.0.1 GET /ig_common/WebGrid3/ig_WebGrid_ie6.js 304 08:57:07 127.0.0.1 GET /ig_common/WebGrid3/ig_WebGrid.js 304 ... So please, specially for the lines with "404" as error code, could anyone explain to me what did happened in the server exactly and how to fix it (I tried to learn more about that and i found that it means a non found component, an image for example), but in my source code, i searched for these words "dummy","none"... and i did not find them, they are not called anywhere, i couldnt know where they are used in my application. Any other infos about the other errors are also very welcome. thanks in advance for helping me.
-
Problem with external URLHello, In my application, I have the need to test (only test) if a given web address (www.microsoft.com for example) that is provided by my application’s user is a valid url or not. So I tried to reach that external web page from my asp.net web page and I implemented this method: public static bool HttpTestUrl(string url) { bool bResult = true; if(url.StartsWith("/")) url = "http://" + getCurrentHost() + url; try { HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url); HttpWebResponse response = (HttpWebResponse)request.GetResponse(); } catch(System.Net.WebException) { bResult = false; } return bResult; } And here is the result I got: For web address that are in my localhost, it works fine, but with external web address (url like www.microsoft.com for example) it generates an exception. I think I must provide my proxy parameters to the webrequest (I am using a proxy for internet connection) so please tell how to do that and what to add. I am using v1 of the framework. Thanks in advance.