Ok, this is strange. Some background
Windows 2003 R2 SP2 32-bit
IIS 6.0
I've got a very simple dot.net 1.1 example app that just echoes something to the screen via a response.write. Works fine on my workstation. Once I deploy it to this server, when i go to the page, it wouldn't render but instead serves up the source code of my as...
Hi, I've been asked to write a windows service which will respond to WEBGET. I'm new to this. Can someone tell me if this is even possible. I originally wrote the service as a webservice and it worked fine.
The contract I have is:
[ServiceContract(Namespace="http://Microsoft.Samples.WindowsService")]
public interface IService
{
[Ope...
I have problem on page bellow, in gdvCar_DataBound I add three buttons, when I click on any of them, page go to postback but doesn't enter in gdvCar_RowCommand and then that buttons ( and images that I also add in gdvCar_DataBound) disaper. Grid is then full like gdvCar_DataBound isn't execute. My question is why it doesn't enter at gdv...
Hi
I have a set of text boxes and html editors in my form.
I am not able to set the proper tab index.
The tab index moves from the first text box and skips all the controls in between and reaches the last html editor and the third tab takes me to the address bar and then it moves randomly all over the controls.
I now want to remove the...
I have a button on the page and a gridview with checkboxes on the first column. The gridview is bound to a List. On buttonClick, I need to retrieve the underlying bound data item (MyEntity) for each selected row. How can I do this? I can't simply recreate MyEntity based on the gridview columns, because I am not displaying all the fields...
Which detect location most accurate.
...
I have GridView on my asp.net page, one column in that grid is ImageButton (TemplateField with ID="imbReserve"). On click on that button I want to show PopUp, but when I put TargetControlId="imbReserve" I get error message " A control with ID 'imbReserve' could not be found". How to achieve this, on click on button inside Grid show PopUp...
In ASP.NET:
How can I tell when the ASP.NET worker process last restarted?
In ASP.NET, how can I tell when the app domain last recycled?
...
Hi,
Is there a free web control out there which can do following.
Post new Comment
Rate any posted comment
Rating should not be duplicated. User can only rate any comment only once
If there is nothing out there then I may just write one and publish it to the public.
Thanks
...
Hello, I am looking for learning materials (like blog posts and tutorials) for ASP.NET MVC 3.0 specific materials.
If you know of any books, blogs, sites or online resources that are exclusively, predominently or even mainly MVC 3.0 related, I would love to hear about them, also, specific links to individual MVC 3.0 related tutorials & ...
I have an ASP.NET site which uses a 3rd party activeX control. I have to pass a few parameters to the OBJECT tag in the HTML page. If i hardcode these parameters into the HTML everything works.
I would like to place the parameters in my web.config with app settings "key/value" pairs.
My problem is i cannot read the app key setting in ...
I have a website and I want to include a "Last Compile Time: XX:XX:XX" in the footer of the website. Is there an automated way to alter the contents of an asp:label at compile time?
...
<asp:UpdatePanel ID="LoginPanel" UpdateMode="Conditional" runat="server">
<ContentTemplate>
<div id="login">
<div class="row">
<div class="label">
<asp:Label ID="lblUsername" Text="<%$ Resources:Login, UserNameField %>" runat="server" />
</div>
<d...
I have the following code:
Unity Container:
Settings settings = CreateSettings();
container.RegisterInstance(settings)
.RegisterType<MyHttpHandler>(new InjectionProperty[]
{
// How do I tell Unity to inject my settings created above?
new InjectionProperty("Settings", new Resolved...
Traditionally I use the regular asp.net website (created using the File > New Website). Recently, I opted to work off of a full fledged project (created using File > New Project > ASP.net Web Application).
I've been using the same custom controls for years without incident. I simply create the new website, place my CustomControls.cs f...
I have an .aspx page that contains an <asp:Login> web control.
For authentication, I have another class (MyMembershipProvider) that inherits the System.Web.Security.MembershipProvider class.
The login process is working fine - i.e. username/password is properly authenticated by the MyMembershipProvider object.
My question is in regar...
Scenario: I have a complex Asp.net app serving various units through programmatically constructed control collections in HttpModules. Some of these controls use Asp.NET Ajax.
Across many different units, ScriptResource.axd averages a transfer size of ~27k.
I have a ceiling that only allows ~3k for it.
There definitely isn't time to ...
What tools do you use to develop .net apps? Things that make life easier|quicker. Fiddler was just recommended to me but I'm not sure how it works yet, though it looks interesting. I also use Notepad++ as a quick text editor. Aside from that, it's just VS studio for me.
...
The webservice returns the following string
"ID: xxxx Status: yyyy"
How do I get the value ID value without the "ID :" text, and "Status" value without the "Status: " text.
Id value should be xxxx
Status value should be yyyy
the value length is unknown.
...
I am working on a (vb.net/asp.net) project that is using interfaces to provide dependency injection. But to me, it feels like the maintainability of the code has been killed. When I want to read through the code, I can't simply jump to the code of a related class that is used. All I see are the interfaces, and so I have to hunt through t...