I have a asp.net c# web application with contains reports in remote processing mode. I am using the report-viewer control to render the reports. When I run the application in debug mode, I'm able to view my reports however when I publish the application to a different server I get this error message:
The request failed with HTTP statu...
Hey,
I am having a problem updating a datatable that is bound to a datagrid. Tried a bunch of approaches but the problem is t*he underlying datatable reverts back to its initial state* everytime u click a command.
Here's the example code:
On Label Click:
protected void OnUserDataGridCommand(object source, DataGridCommandEventArgs e)
...
How easy is it to integrate RightFax with .NET/C#? We are considering FaxMan, Windows Fax Server also, but we came across RightFax. We basically need to be able to send faxes through a .NET App, monitor status etc.
...
We have an already existing project on IIS and we want to move to Apache (windows) with mod_aspdotnet. What things could not work? If we use 3rd party DLLs? Will office components work fine (export to Excel, Word, etc). If you have any experience on this type of migration, I'd like your inputs! Also, is there another alternative to mod_a...
i have the code to get the members of a local group example administrators
private void GetUserGrps()
{
using (DirectoryEntry groupEntry = new DirectoryEntry("WinNT://./Administrators,group"))
{
foreach (object member in (IEnumerable)groupEntry.Invoke("Members"))
{
using (Direc...
Hi All
I'm using jquery to drag popup control around the page ,every things work fine but when the page has flash movie the popup doesn't appear over flash also when set z-index to 100 .
is there any work around this issue???
$('.modalPopup').ready(function() {
$('.modalPopup').draggable({ zIndex: 2700 });
});
...
Recently, our development team was approached by a representative from one of the departments at our institution looking for a web based solution to help out with their workflow. A few weeks later, another person from that department approached us concerning another solution for a completely different workflow process. Then after that .....
Hey all, i am not sure how to put what i am looking for. The best i can describe it is a flowchart type of layout that shows your all your ASP.NET pages and how they are linked to one another.
Example:
----------- -----------
|main page| |error.asp|
-----------\ /----------
\-----------...
I'm using the default ASP.NET profile and membership provider. I want to create a ASP List View with the name of the user and their role. When I try using this functionality I get a error:
Code behind:
public List<aspnet_Users> GetUsers(int startRowIndex, int maximumRows)
{
this.entities.aspnet_Users.Include("aspnet_Roles").Order...
I want to use NHibernate's Contextual Sessions in my ASP.NET MVC 2 application, but I'm having a hard time finding guidance on how to properly do this.
I'm interested in Session per request.
...
Hello everyone,
I'm trying to make a webservice (WCF) to get information about my server. I made a class for WMI who can retreive information about cpu, ram, disks, etc...
Under visual studio, the service works fine, but when I deploy the service on IIS, I get all the information ... Except one ! I have one hard disk with two partition...
i'm converting a classic asp website to .NET and could use some suggestions to this problem.
original code:
Dim oCountCMD
oCountCMD = Server.CreateObject("ADODB.Command")
With oCountCMD
.ActiveConnection = Application("ConnString")
.CommandText = "sp_GetSearchHistoryCount"
.CommandType = .CommandType.StoredProcedure
.oC...
I'm trying to run the templated user control example provided by MSDN. Code is as follows:
So according to MSDN this should implement as follows:
<%@ Register Assembly="MyAssembly" Namespace="MyAssembly.Controls" TagPrefix="abs" %>
<abs:TemplatedFirstControl id = "First" runat=server
Text= "The time on the ...
Hi guys,
I have the following in an aspx page inside a body tag:
<form id="Form1" method="post" runat="server">
<customControl:menu id="Menu1" runat="server">
</customControl:menu>
</form>
And from a different aspx page I have this javascript function:
<script type="text/javascript">
function testFunction(args, name) {
alert(to...
I can't find any info about whether or not I should dispose/close this object after using it... Here is the msdn link: http://msdn.microsoft.com/en-us/library/bb343181.aspx
...
So I have a ViewModel in the 'models' folder of my Mvc project with a namespace of 'Web.Models' (My Mvc project is called 'Web') I think its worth mentioning I have 3 other projects in my solution: Domain, Test, and Tasks. The view model is assigned properties from classes in my Domain.Entities folder. I can create a new instance of my ...
For number of years I did ASP.NET web forms development I was spoiled by a proprietary library, which allowed me to do things like:
UpdateToObject(ControlsCollection, obj)
UpdateFromObject(ControlsCollection, obj)
Conceptually code did something very similar to what MVC Model Binder does, i.e. given form's posted values as inp...
I just deployed some changes to my web app, restarted IIS, and suddenly I'm getting 401 errors all over the place. EXCEPT if I enable NTLM authentication in Firefox:
browse to about:config, and agree not to mess anything up
filter by "trusted", then modify "network.automatic-ntlm-auth.trusted-uris" to include my app url, e.g. foo.myco...
i am using jquery plugin and i got stuck in how to display the confirmation window from code behind and if the user choose "ok" than go ahead delete otherwise ignore.
jConfirm('Can you confirm this?', 'Confirmation Dialog', function(r) {
jAlert('Confirmed: ' + r, 'Confirmation Results');
});
anybody have done similar?
...
Hi,
I am trying to create a ID-Card for workers with there Name / Post / Photo
I am using ITestSharp but there is not much Tutorial on ITestSharp for mix printing, means using images and tables.
is there a better way to get this done.
Regards
...