I need your help to understand MVP. I used a interface (IProductEditorView). If you look below you can see presentation layer:
using System;
using System.Collections.Generic;
using System.Text;
using MVPProject.BusinessLayer;
namespace MVPProject.PresentationLayer
{
public interface IProductEditorView
{
int ProductID { ...
Besides the searching MSDN with the course outline, there is little out there to help prepare for the 70-564 exam . Some say that using the 70-547 Training Kit book helps, but does anyone know (as a rough percentage) how much of the 70-547 book covers the 70-564 exam?
...
I'm using ReportViewer with ObjectDataSource which looks like this:
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server"
SelectMethod="Select"
MaximumRowsParameterName="maxRows"
SelectCountMethod = "SelectCount"
StartRowIndexParameterName="startRow"
TypeName="SomeNamespace.ReportLogicClas...
I have been using ASP.NET MVC for the past few months, after successfully ignoring ASP.NET for years. I have a (simple) MVC site where I have used a Master Page for the overall look, then, in the content pages, called RenderPartial on subpages with their own Master Pages to give the subcontent a consistent Container style.
I need to sh...
hovering hide in rad menu when flash is below to that menu in firefox ?
...
I have a master page with a content control. I want it to do something specific during load if a particular content place holder has been used.
APageWithContent.aspx
<asp:Content ContentPlaceHolderID="myContent" runat="server">
<div>hello world!</div>
</asp:Content>
MasterPage.aspx
<asp:ContentPlaceHolder ID="myContent" runat="s...
If I have an ASP.NET page making a request to a page in a different web site/server and that page tries to write a cookie, what will happen?
Will I have a cookie in the client machine? In the server of my first site? Will it be blocked because of some security issues?
Tks in advance!
...
We have a current (legacy) PHP based website that is unlikely to be redeveloped for the next year or so, that acts as our main portal.
We would like to develop new applications in ASP.Net, and plug them into the current portal - but we do not want our website users to have to log in twice.
Whats the best way to share authentication sta...
How to move file from one server to another server? Plz help
When user uploading the excel file i am moving that file to another server
this is the code i am using.....
string destFilename = @"\\192.168.1.2" + @"\\xyz\\xyz1\\" +
fileName + "";
System.IO.File.Copy(filePath, destFilename);
...
Hi, this is my code:
<%
for(int i = 0 ; i < 10 ; i++) {
%>
<asp:CheckBox ID="CheckBox<%=i %>" runat="server" />
<%
}
%>
But this code is not working
How can I add multiple controls using loops by this method?
...
for security reason, what is the minimum access level the asp.net membership user could have?
...
I am wanting to compress results from QUERYS of the database before adding them to the cache.
I want to be able to compress any reference type.
I have a working version of this for compressing strings.. the idea based on scott hanselman 's blog post http://shrinkster.com/173t
any ideas for compressing a .net object?
I know that it w...
Hi,
in a ASP.NET application (MVC) I have a foreach loop that loops through a structure that may contain or not some element:
<% foreach (XElement segnalazione in ((XElement)ViewData["collezioneSegnalazioni"]).Elements("dossier")) { %>
<tr>
<td><%= Html.Encode(segnalazione.Element("NUM_DOSSIER").Val...
When a content placeholder contains any code blocks it reports that the control collection is empty.
For instance:
MasterPage.aspx
<asp:ContentPlaceHolder ID="Content1" runat="server" />
<asp:ContentPlaceHolder ID="Content2" runat="server" />
<div>Content1: <%= Content1.Controls.Count %></div>
<div>Content2: <%= Content2.Controls.Cou...
In my ListView I want to use a property of the Container in an if statement on the aspx page as shown below. But I'm getting a "The name 'Container' does not exist in the current context" error. Can I not the Container in an if statement?
<ItemTemplate>
<tr>
<td>
<% if (EDIT_INDEX == (((ListViewItem)C...
How do I display hierarical data in ASP.NET? I have a data source that looks like this:
class Tree
{
IEnumerable<Node> Nodes { get; set; }
}
class Node
{
string Description { get; set; }
decimal Amount { get; set; }
IEnumerable<Node> SubNodes { get; set; }
}
I would like to render is as a list of divs, like the one below....
I am using ASP.NET's "handler" to show images in an application. I need to play files of audio and video like I do with the image: I recover it from database and show it on an aspx page. Can I create a "handler" for the video and the audio? I don't want that a dialog box is opened asking to the user if he wants to play or save the video ...
I have a Div with runat attribut="server" .I have an asp.net button control in my page,When this button is clicked,I want to hide the div.Is there any other option that changing visibility to false.I cant use the visibility to false,because when i change visibility,I cant access the same in my javascript since it is removed from the brow...
I have an ASP.NET page to handle "404 page not found" it's setup by configuring the <customErrors> section in my web.config file and setting the custom error page for 404 errors in IIS manager.
It works as expected for pages in the root of my website but doesn't work in a subdirectory of the site - the hyperlinks and content in my custo...
I've been trying to work out why our pages load slowly, and one thing I've noticed in Fiddler is that each page load for /mysite/mypage.aspx brings with it a request for GET /mysite/null HTTP/1.1, resulting in a 404 error.
I'm guessing this 404 error on every page load is slowing the site down even further, are there any ways of debugg...