I have a webmethod which is trying to construct xml data document and return to clientside
but i am not able to guess whether the error is on clientside call or webservice return method.please can anyone help to sortout this logic
[WebMethod]
[ScriptMethod(ResponseFormat = ResponseFormat.Xml)]
public XmlDataDocument GetList(stri...
Hello all. My issue is similar to http://stackoverflow.com/questions/2613627/how-to-use-the-value-of-a-selected-value-from-a-dropdownlist-populated-with-ajax but I am using ASP.NET, not PHP.
I have a dropdownlist that is populated by another dropdownlist's current value through ajax. So if DDL A is 'NY', DDL B is populated with differe...
How can I use impression tag which is within advertisement
How it affects for different images...
Please help
...
Hello,
I have an ASP.NET web form application. In the web.config associated with this application, I handle my custom error like so:
<customErrors mode="Off" defaultRedirect="error.aspx" />
When a user gets to the error.aspx page, I want to determine what error caused this page to get reached. Does anyone know how I can do this?
Tha...
Here is the code to place xml file to particular destination .
[WebMethod]
[ScriptMethod(ResponseFormat = ResponseFormat.Xml)]
public XmlDataDocument GetList(string keyword1, string streetname, string lat, string lng, string radius)
{
XmlDataDocument xmlDoc= CreateXML( keyword1,streetname,lat,lng,radius);
xmlDoc.Save(@"D:\blocksee...
Let's say I have two schemas: HR and Orders.
[HR].Employees [Orders].Entries
-------------- ----------------
Id_Employee ----> Employee
Fullname Id_Entry
Birthday Description
Amount
As you can see, what I'd want is to be able to establish a cross-database foreign ...
I want to create control which would contain other controls.
For these other controls I want to create "base" control with some default look and background logic and then derive all other controls from this "base" control.
Is this possible, and how it can be done ?
EDIT:
With nesting I mean something like master pages. I would lik...
Am not sure why when using IE, retrieving session values works just fine, but when using Google Chrome and Firefox, it's not returning any?
I have already included IRequiresSessionState/IReadOnlySessionState in generic handler class, but still did not work.
So my last resort was to add my session values as a query string in generic han...
I have a page that is using Google Analytics to track page views as well as track events within the page. The initial _gat._trackPageview request works as intended (under normal circumstances, details to follow). However, on subsequent utm.gif requests, it seems there is a malformed utmcc argument in the querystring. The campaign trackin...
Hi,
I am calling a [WebMethod] with a piece of JQuery. The aim of the following code it to sent a recently zipped file to the user's browser. When the user clicks the 'Download' button, an AJAX request is sent to the ASP.NET page with is supposed to send the zip file.
Here is the code.
[WebMethod]
public static void DownloadAlbum...
My website (developed with ASP.NET) publishes news along with related JPEG files and flash videos. Right now it is hosted as dedicated server. But it is becoming hard to maintain backup and bandwidth.
Can I host image files, video files and audio files in S3 bucket to resolve my issue? I have seen some articles related to this. But want...
We have a ten-year-old ASP application that we are considering planning an update for. We want to take advantage of the new technologies that ASP.NET has to offer, as well as the opportunity to fix some issues with the existing framework (the existing code-base is highly fragmented, nearly impossible to test, let alone debug, and the en...
First, let me ask you to consider this as a real question, and not a subjective one.
That out of the way, here's my situation: We are looking to port our existing classic ASP application to .NET, but we're unsure of what language to use for the new app.
I personally would 'prefer' C#, as I'm more familiar and comfortable with that lan...
I am designing a user control in ASP.NET where in i have a Textbox and onfoucus javascript event i am showing a checkbox list below and onBlur event i am hiding the checkbox list control
Now the problem is when i focus the textbox the Checkbox is visible and when i try to go and check the items it is getting hidden as onBlur event is ca...
Hi All,
When I undo an external dll in TFS, it looks as though it worked because I can compile with no errors. However, if I look in the folder where the dll lives it still shows the newest dll, which technically would not compile if I just did an Undo.
So, my question is, where does the old dll live after I do an Undo? Sorry, if sound...
How do I redirect the page once the user has seen the confirmation page?
I am using asp.net 3.5, it's not showing me a message instead it's just redirecting to the default page. I want to see the message and once the user has clicked 'ok' then it redirects to another page.
ScriptManager.RegisterClientScriptBlock(this, this.GetType(), k...
Hello,
I have got a problem when trying to scale an image. The problem presents itself when the image i am trying to scale (original) is smaller than the size i am trying to scale up to.
For example, an image with the width of 850px and the height of 700px trying to be scaled up to 950px width and height. The image seems to be scaled p...
How can I integrate Voice over IP into my asp.net website so that user's can speak to each other through the site?
Thanks!
...
I have a problem maintaining the session after logged in successfully through automation using the:
doc.GetElementById("username").SetAttribute("value", "user");
doc.GetElementById("password").SetAttribute("value", "pass");
doc.GetElementById("submit").InvokeMember("click");
it directs to the main page after logged in.
How do i navig...
Hi,
I am new at this so be easy on me... :)
I need to validate if a the ID number that the user typed in my site is a valid ID.
How do I check it?
Do I need to use RegularExpressionValidator?
More over, I also need to validate the credit card number, I found a few RegularExpressions for that in the net but each one is different ...