I have a asp.net 3.5 site with a *.asmx that serves several webservice methods. The only client that should be calling these methods is one I wrote, and it calls them using a POST request. However, my error logs show many InvalidOperationException errors due to these methods being called with a GET request.
Question: What might be causi...
One of my websites references a library in my solution called "Foo"
That project generates a file called "Foo.dll" and the classes in it are in a namespace called "MyCompany.Foo"
so far everything worked out...well I right clicked on project "Foo" and changed the filename it outputs to to be "MyCompany.Foo"....now the project generates ...
How do I pass information back and forth in an asp.net web application throught the html forms? I know how to do this in PHP, but I can't seem to think about it through the code-behind thing (i think that's what its called).
(note: i only started looking at asp.net a few hours ago. i decided to try it by recreating a simple page)
...
I have a SQL Server table full of training course progress. I want to make a report. The report is to be a list of users where each row shows their name, completion status, and percentages. They are to be able to expand each row to show sub-rows which elaborate with section by section detailed stats. What is the best UI control to use in...
Ok, so I'm new to ASP.NET MVC and JQuery.
I have followed the following example to the letter, and I'm not able to get the datepicker working:
http://codesprouts.com/post/Creating-A-DatePicker-Extension-In-ASPNet-MVC.aspx
Can anyone tell me if there are any ticks or gotchas with this?
Bernard.
...
How would I go about using the MVC framework in the ASP.NET standard web site model, instead of the web application model?
...
how group by in Linq with 2 Field ?
(from i in info
group i by i.OrderId into g
select new { orderId = g.Key, infos = g });
not only order by with order Id but with two field like ...
group by i.orderId And i.City
how this will do?
...
Background: I have an ASP.NET MVC view page with a MultiSelectList in the View Model. I want to populate a label with the list of SelectedValues from that MultiSelectList object. The list is stored within the MultiSelectList with a type of IDName:
public class IDName {
public int ID {get; set;}
public string Name {get; set;}
}
...
I have a static class in my solution that is basically use a helper/ultility class.
In it I have the following static method:
// Set the user
public static void SetUser(string FirstName, string LastName)
{
User NewUser = new User { Name = String.Format("{0}{1}", FirstName, LastName) };
HttpCookie UserName = new ...
I came across an interesting problem recently. In an ASP.NET Master Page, I have a Login Control and a Google Search Box as shown below:
<div id="searchBox">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td> <asp:TextBox ID="q" MaxLength="100" AutoPostBack="false" runat="server...
Let's say I have a single XML node of content in my code-behind. I need to get some data out of the various nodes and onto a Web form.
Traditionally, I would create a bunch of Literals on the page, then do stuff like this in the code-behind:
MyLiteral.Text = myXmlNode.SelectSingleNode("/some/xpath").InnerText;
This is fine and good,...
Javascript?
Metatag refresh?
Response.Redirect (to self)
Server.Transfer (to self)
Ajax update panel?
...
Hello all,
I have a webpart in a control that I am using on a webpage. The webpage uses a master page and there is a content holder in the MP that can hold controls for alignment/design issues. Everything works well with this but the webpart control. When i put the webpart in the container i lose the ability to move the webparts around ...
I need to implement a background process that runs on a remote windows server 24/7. My development environment is C#/ASP.NET 3.5. The purpose of the process is to:
Send reminder e-mails to employees and customers at appropriate times (say 5:00PM on the day before a job is scheduled)
Query and save GPS coordinates of employees w...
I have a custom HttpHandler that invokes a webservice to get a file. In test, I invoke the production webservice and the HttpHandler returns the file correctly. When I test it in the production environment on the server, it works as well. However, if I invoke the HttpHandler from a remote client (not on the server) the filename and si...
I am looking to create a menu bar with a specic type of "action"
Similar to the bar on this website
BBC Sport
Its totally static and has no dynamic or "pop out" sections. When the top menu is clicked the page will re-load and display the lower level in a diffrent colour.
Can this be achived with the Standard ASP:Menu control?
I am ...
Is there a way to fix a column or row so when the user scrolls down or right, the first is always shown?
I'd need to replicate this excel feature in asp.net and am using a ListView control.
Is it at least doable in html? I'm open to any suggestion to accomplish this
...
Hi,
I am going back and forth between using nHibernate and hand written ado.net/stored procedures.
I currently use codesmith with templates I wrote that spits out simple classes that map my database tables, and it wraps my stored procedures for my data layer, and a thin business logic layer that just calls my data layer and returns the...
I'd like to add rows to an UltraWebGrid directly on the grid, which is connected to an ObjectDataSource. According to the documentation, I'm supposed to use the InsertDBRow method (there are also UpdateDBRow and DeleteDBRow) to handle database persistence.
Does anyone has any example on what's the supposed usage of these methods? (I alr...
hi,
i've never programmed the active directory but i would like to do the following:
on the asp.net site, login using a valid active directory username and password. if the login is valid, redirect to a page to do some actions.
in a related task, but not part of part 1, unlock an account or change the password of an active directory a...