Suppose I have a class library cl1 and a unit test for it that is called clt1. I can use Visual Studio's Attach to Process feature to attach to NUnit runner. This lets me debug cl1, for example set break points. It's a very helpful feature for debugging.
I'm in a need of this technique in Visual Studio and IE/FF. Suppose I have a web ap...
I have 4 asp:Textbox fields on a form. IDs being A1, A2 and B1, B2 for simplicity.
If any one of the As or Bs is populated, I need to hide the other one. So I enter something in A1, hide A2, enter something in B2, hide B1.
I thought I could use a javascript OnBlur event to do this but it doesn't do anything unfortunately. I'm trying ...
I have a solution with an assembly that declares an AddinRoot; and an add-in project that extends an extension point in that assembly and which is deployed to a Mono.Addins lookup directory.
In addition, I have a desktop application project that uses the AddinRoot assembly and initializes the AddinManager - it works fine and finds the a...
Question is pretty straight forward.
Is there a technical reason for the existence of Page.PreLoad or is this just convenience to have a place where you can neatly place code that always have to be executed before the Load code?
Is there a difference between adding code in the PreLoad event handler and adding code at the top of the Loa...
Hi,
Does anyone know how to maintain postback while calling WebForm_DoCallback? it always set the vertical scrollbar of the page to the very top.
thanks
...
Hi all,
I have to admit in advance that I'm quite new to MVC, I've been going through the resources at www.asp.net/mvc, but I was wondering if you guys could help me with something.
I have been asked to create a ASP.NET version of an existing PHP website, this website has a huge number of existing links to it in a particular format, wh...
I have multiple tables that are all linked back to a central table with foreign keys. I want to be able to create a new record in table 2, but I'm having trouble because I don't know how to create a new instance of table 2's record while referencing the ID of the record it will be tied to.
EXAMPLE:
Database: Collection
Table: Collect...
Hello,
I've read lots of articles and tried everything I can think of, but I can't manage all three: position a draggable object, make it move correctly and get the droppable object to recognize it. When I change the code, I manage every time to do one or two of them, but never all of them together, and I need them all.
Here is some co...
Hi guys,
i have a problem. I have database with a tableadpater. i want to get the userid with this tableadapter.
Dim dsGN As New ForumTableAdapters.Message2TableAdapter
Dim dtBetrieb As Data.DataTable = dsGN.GetUserIdFromThisMessage(ConversationID)
For Each objRow As dsGN.Message2Row In dtBetrieb.Rows
mystring = ob...
I have an asp.net dynamic data website .net 3.5 built on ado.net entity framework with mysql database.
Currently I have just one table in my entity model.
Everything is working fine on my local machine but when i uploaded on my server i got this error message:
"More than one item in the metadata collection match the identity 'mtDBModel...
I am trying to wire some fancy Javascript (PopBox) to an ImageButton control and I am getting a very strange run-time (Compilation) error.
<asp:imagebutton id="imgBtnPicture" runat="server"
class="PopBoxImageSmall"
pbshowcaption="true"
title="Click to magnify/shrink"
onclick="Pop(this,50,'PopBoxImageLarge');"
...
I have an asp.net web application that use FormsAuthentication. Now, the application has a WCF Service that need to use Basic Authentication.
So, I need to return the 401 status code, but everytime it's picked up by asp.net and redirecting me to the login page.
How could I disable this feature and finally being able to throw a 401 wit...
Hi Guys,
Is anyone having any experience with any eCommerce application where you have calculated shipping rate on fly. I am in particular referring to Australia Post service.
Could you please guide me in right direction. I am thinking of using Provider pattern by which I can plugin any shipping provider according to user's profile.
E...
I'm stuck with a problem to populate a DropDownList control with values from the database using item field template in read only mode. I appreciate a detailed explanation, since I'm new to ASP.NET. Below is the code and the error I'm getting:
'PictureReadOnlyCategories' has a SelectedValue which is invalid because it does not exist ...
Hi, I am sending email using C#.NET, for which I am using System.Net.Mail.MailMessage class. I want to make a portion of the email's subject bold. Is there any way to do it?
...
I ve completed a web application and now i want to prepare functionality and technical documentation for the same. But i ve never done such documentations. Can someone provide how to prepare such documentations.
What are the necessary points to be
included in functionality and
technical documentation?
What are the factors to be conside...
I am working with a financial application and am looking for the best solution for designing my application.
We have 100's of stored procedures where most/all of our business logic sits. We have WCF web services projects built using Web Service Software Factory (http://servicefactory.codeplex.com/). We have stored procedures built for...
I am looking details on the internal working of asp.net architecture. The topics need to include the following:
Asp.Net Thread/Application Pools
HttpRuntime
HttpApplication - When and how it is
set up
How HttpContext is set up
How objects can passed along the
pipeline using
HttpContext.Current.Items
Why does modification of static
va...
Can anybody tell me that how to convert a image path into bytes to store in database in asp.net.please help me out.
...
i am doing Fileupload using asp.net 3.5 with asp.net ajax.In that i am using Usercontrol
MainPage.ascx Page:In this page i am using UpdatePanel inside Fileupload control.
Demo.aspx:In this page also i am using Updatepanel. i am drag MainPage.ascx usercontrol inside this UpdatePanel which is in Demo.aspx.
Question: When i drag the Mainp...