asp.net

jQuery.change + inline onchange fn() causes fn to execute twice

Posting this even though I found the answer and a workaround, in the hopes that it helps someone else. Basically, when using IE8 and changing an element's value that has both jQuery.change hooked to it and an inline onchange defined, the code in onchange executes twice. We ran into this in an ASP.NET (3.5 or 4.0 does not matter) proje...

Displaying unicode text on ASP.NET page.

I have gone through my DB and code so far, I have hit a problem. For a particular enrty in my DB I pick up descriptions and tags (both are strings)for japanese language. Now, in a ASP.NET page,the description is shown fine but the tags which are japanese as well, are replaced with ? marks, what am I doing wrong here? The same page displa...

How to use jQuery and Ajax to return just one string and how to insert it to a DDL in a jdialog?

I'm trying to create a dynamic module where I drop an object on screen. Then a jQuery dialog opens with three drop-down lists. When I select a value in the first drop-down list I'm trying to filter the results in the next list via Ajax. This is my JS code: $("#ddlTableType").live( 'change', function() { ...

Binding Data to YUI Treeview control in c#

How can I bind data to YUI Treeview control http://developer.yahoo.com/yui/examples/treeview/default_tree.html here is sample JavaScript code that have been used in the above URL <div id="treeDiv1"> </div> <script type="text/javascript"> var tree; (function() { function treeInit() { buildRandomTextNodeTree(...

WCF: ASP.NET Hosting - Endpoint not found

I get "Endpoint not found" when attempting to access my service via the browser at http://localhost:10093/Services/Service1.svc I get "Error: Cannot obtain Metadata from http://localhost:10093/Services/Service1.svc" when attempting to access the same address from the wcftestclient. If I place a breakpoint in the service implementati...

Is my approach to assign values to an instance of custom EventArgs recommended?

In my current situation I have a class that performs an operation synchronously. During that operation an certain event will the thrown several times, depending on how often the situation where the event is raised occurs. I know how the event-mechanism works and what the recommended ways of using are. Works well.(Note: My application is ...

How to parse an html file to follow up a specific data?

My target web site is: http://www.imkb.gov.tr/Home.aspx Please focus this on that page: "XU100 64.882,72 -1.36 %" it is on top.. The exact target is 64.882,72 this value!... What is the best way for this value? My platform: asp.net , c# ...

DevExpress Style ASP.NET Controls

Hey everyone How can i customize asp.net controls like devexpress did? Here is some example, this is actually what i want to make: http://demos.devexpress.com/ASPxGridViewDemos/GridEditing/EditModes.aspx About this, any tutorial, any resource? Thanks. ...

Connect to XMPP server using SASL ANONYMOUS in c#

Hi, I want to connect to an XMPP server using SASL ANONYMOUS. I can use any library that is available for commercial use. Any advice on how to do this and what library to use? I've looked into the documentation of some libraries (agsXMPP and jabber.net) and couldn't figure out how to do any anonymous connection on either. Thanks...

How to seek a string variable (an html files source code)

How can I seek this sb string variable to get those variables:IMKB's value: 64882,72 how can I get it please show the seek idea using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Text; using System.Net; using System.IO; public partial c...

asp.net multiple non nested masterpages in one project

i have an asp.net site built using visual studio 2010 in c#. the site is basically two sections...(http://www.wsgelectronics.com for reference) the default page is the site.master page with default.aspx. I want to split into two more master pages, one for each section, car audio and computer sections if you look at the site, each with it...

WPAD queries calling webservice from ASP.NET

We have an ASP.NET website which calls a webservice. If impersonation is not on for the ASP.NET website the call to the webservice is slow - using WireShark we see that it is making WPAD queries. If impersonation is on and it's impersonating an admin user the call to the webservice is fast - using WireShark we that it is NOT making WP...

Passing array from aspx.cs to xaml.cs

Is there a way to pass an array or List<> from the aspx.cs to xaml.cs? ...

What CSS rules does the Menu Server Control implement to renders as a horizonal menu?

For the ASP.NET Menu Server Control whose RenderMode is set to "List", there is an "Orientation" property which decides whether the menu would render as a horizontal or a vertical menu. I have compared the two HTML source code and was unable to find out which part of the HTML/CSS code set the orientation of the menu(unordered list). Can ...

How to implement Website security based on client hardware or other solution?

Hi, I have two websites (one asp classic and the other asp.net) which we would like to implement some kind of security based on the client's hardware. We want something other than a password which could be shared. The purpose is to be sure access to information on the websites is not shared. We were contrmplating storing hardware info...

Trying to use JSON to get cascading DDLs but not getting response

Hello, I'm trying to create cascading DDLs. My aspx page: <form id="form1" runat="server"> <table> <tr> <td>סוג שולחן</td> <td><asp:DropDownList ID="ddlTableType" runat="server" /></td> </tr> <tr> <td>קוד שולחן</td> <td><asp:DropDownList ID="ddlTableCode" runa...

unable to upload .flv in IIS 6.1

Hi guys, I've been trying to upload a video file on my local harddrive and it seems it cannot process the upload. The .flv MIME type is already registered on my IIS but still it cannot process upload. Any inputs would be a very big help. Here's the screenshots. here's some additional screenshots this is what happen after pressin...

Designing an new user confirmation (verify via email)

I am developing an ASP.Net application that will need to verify that the user is legit and not a spam. Once the new user enters their first name, last name, email address, my application will send an email to verify the user's authenticity. The email would conatin a link that would confirm the users account. I am looking help on what ...

Provider not found when encrypting web.config

I'm trying to encrypt a custom section in a web.config file. When I get to the line that calls ProtectSection(), I get an exception saying the provider isn't found. Configuration config = WebConfigurationManager.OpenWebConfiguration(Request.ApplicationPath); ConfigurationSection section = config.GetSection("MySection"); section.Se...

how to manage multiple asp.net applications on one hosting with subdomains ?

Hello, thanks for your time and attention. I want to deploy multiple asp.net applications on same hosting with subdomains. How it should be manged ? I just created a subdomain and deploy application in its folder; when I tried to access application with subdomain it shows the following error: An application error occurred on the ...