In my program there is a aspx page that contains wcf client, that so on calls wcf service located on same server.
I`v get this exception when my wcf client calls wcf service hosted in IIS on production server.
Ex. msg: Thread was being aborted.
Ex stack: at System.Net.UnsafeNclNativeMethods.OSSOCK.recv(IntPtr socketHandle, Byte*...
I have two Resources files under App_GlobalResources
MyApp.resx
MyApp.sv.resx
for those who don't know: All languages will fallback to MyApp.resx except the Swedish UICulture will use the MyApp.sv.resx
and I have a simple page that shows 3 <asp:Label> in witch the Text property is called differently like:
<i>using Resource.Write...
i need to auto rotate/scroll the contents of a datagrid asp.net2 &c# automatically
with out any user inter act
...
I have a webpage what asks through jQuery json data from webservice after every 1 second. If there is no data then webservice returns null.
The problem is that if client is on site over 24 hours then the browser will collect too much data and will crash. So I decided to set timeout to 60000 in jQuery ajax so it will wait for data and on...
Preferably free if possible.
I've tried using xml / html formats but I'm running into a problem where by excel prompts the user with a security warning because the content does not match the MIME type (the sheet is downloaded on the web), no way around this it seems.
...
Hi All,
Upon clicking a button I need to send a collection and a few other variables to server in Json form.For each value in the collection the server code (C# ) wil update those other variables in the DB.
For example there is a ‘classnumber’ collection with values (First, Second, Third, ….),other variables (‘teacher_name’ and ‘subjec...
Hello,
I'm working on a new ASP.NET application and I'm interested in using a recommended approach for logging. My question to the community is, what logging framework do you like to use on your ASP.NET projects? What are the pros / cons? There are so many and they seem to change all the time that I'm just not sure which road to go down...
Guys,
I am having some trouble when I use ASP .Net 4's URL Routing feature while Authorization rules configured.
Global.asax
void Application_Start(object sender, EventArgs e) {
RegisterRoutes(RouteTable.Routes);
}
private void RegisterRoutes(RouteCollection routes) {
routes.MapPageRoute("dashboard", "", "~/Restricted/Default...
Hi,
I have a web application that has a report. I export this report as PDF and send it to the client. On this report I have a field that has a font set to a non-standard windows font (i.e. a barcode font). The barcode font is a TTF font.
On my dev machine, I installed the font, printed the report, barcode was displayed.
On the serve...
i have two gridviews 1) master and 2) detail in my master gridview with few columns in it and a hyperlink so when the user click on the hyperlink (master gridview) i want the row to be highlight but below codes does not hold the highlighted row after it does the postback, how do i make sure that its highlight even after it does postback?...
When setting up asp.net error handlers for things like 404 errors, it is more 'efficient' to do this in IIS, or handle it in the Global.asax Application_Error event? I know the latter will be called, and I want to log this information in a database, but should I then just return without any redirect and let IIS do the redirect, or would ...
I have a script which resizes images, I did not write this script, nor do I know any ASP.NET, but I have been assigned the task of fixing an issue with it!
The problem is, the resulting image from the resize appears to be of less quality than the upload, even if the file uploaded is already set to the correct size.
Uploaded image - htt...
I'm using Ajax to dynamically populate a DIV. I have each page content stored in XML files as CDATA. When a user clicks on a link from the navigation bar, the Ajax loads the XML for that particular page, parses it, and populates the DIV with it's content.
Everything is working GREAT, except for one thing. I have a jQuery modal popup who...
I am using asp.net with ajaxcontroltoolkit. I use the MaskedEditExtender frequently. In one case, I have a field that must be exactly 17 characters. If the user is typing in the string and they miss a character is the middle, they would like to go into insert mode to add a character. But insert mode does not appear to work. Is there some...
Hi,
On Mouse-over i wish to show user information such as User Id, User Name, User Location, User Age etc. All this info would be coming from database. As well, this information would be in a rectangular block that would actually come-up on Mouse-over.
I am aware that JavaScript could be use to show div (in mouse-over) but don't know h...
I'm currently working on solving a bug with a site I've been working on for some time now. The issue I'm having is my session objects are being overwritten occasionally when users call the site at the same time.
My current session mode is In-Proc and after reading another thread regarding a similar issue I believe my problem may be rela...
Hi.
Recently, I ran into a problem with my application: the size of the JSON string returned from the server was exceeding the default maxJsonLength. I've done some research and implemented some fixes including a variation of paging. Everything looks great at the moment. However, I still have some questions unanswered.
First of all...
Hi i have a problem that only shows if EntityDataSource present on aspx pages ,interesting thing it's just occures when i'm refreshing the page (F5) or viewing it again and it's driving me crazy it's seems to be a bug with entity framework because i tried it with another project and i just get the same error:
Please if anyone can help me...
I'm trying to implement .sortable on a ListView, with a few problems.
Using this event I save the order of the elements:
$('#sortable').bind("sortupdate", function (event, ui) {
var array = $('#sortable').sortable("toArray");
$.ajax({
type: "POST",
url: "../Resources/WebServices/MailTemplateCategory....
Is there a way of adding the values 1-15 to an asp dropdownlist without having to do each one individually...
I currently have:
ddlAdults.Items.Insert(0, new listitem("1", "1"))
ddlAdults.Items.Insert(1, new listitem("2", "2"))
ddlAdults.Items.Insert(2, new listitem("3", "3"))
ddlAdults.Ite......
...etc but there has to be a better w...