|
If you could do that then there would be no point in having such a feature.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
|
Ding Dong - I should of said that!
I didn't think of it that way at the moment.
|
|
|
|
|
i cant select master page as well as place code n seperate file textbox in vs 2008. it is apearing while making website bt donst display while creating web app
mahi_p
|
|
|
|
|
Your question is not clear. We cannot work out what you are trying to do/ask from the post. Please elaborate and be specific.
Please edit your question and provide better information.
|
|
|
|
|
In the page, you build it like a regular webpage with the header and footer, and in the middle, you place a content placeholder object, a container that will hold that space in the seperate file you created.
Master page
<%@ Master Language="VB" CodeFile="en-us_store.master.vb" Inherits="masterpages_store" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title></title>
<link rel="shortcut icon" href="/favIcon.ico" />
</head>
<body>
<form id="form1" runat="server">
<div id="DefaultHeader_Wrapper_III">
<asp:ContentPlaceHolder ID="SiteMap" runat="server">
<!- This is a blank container - leave it emtpy -->
</asp:ContentPlaceHolder>
</div>
</form>
</body>
</html>
default.aspx - reference the container in the master page in your content page, and content below will be injected into the master page.
<asp:Content ID="Content3" ContentPlaceHolderID="SiteMap" runat="server">
<!-- Encode the Sitemap Content of the Page -->
<div class="sitemap_container">
Some content such as words or pictures in your seperate file
</div>
</asp:Content>
|
|
|
|
|
I have to develop my Final Year project which is Email Moderation Engine. It will be fully functional Email Domain like Yahoo, Gmail or Hotmail but it will be with my desired domain name, it also contains a SMS alert functionality so users can get alerts on there cell phones against emails received. Kindly help me out and let me know how should i start the project. I will be developing this project is ASP.NET so i need some start-up tips.
Regards
Ziad
|
|
|
|
|
|
Thanks Richard.
In Visual Studio what will the best option to develop my project?
ASP.NET Web Application?
|
|
|
|
|
That is really for you to decide based on your requirements. But from the information you have given I would think ASP.NET is the right option.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
Wow, you're on your final project and you "don't know where to start". Been paying attention in class much?
|
|
|
|
|
J4amieC i was a bit confused that's why i came here, i want to know the basic parts of an email system
|
|
|
|
|
I'm trying to do a post back to a controller with $.ajax and all I get in the controller is null for my object.
Here's my setup for the class:
public class ApplicationLinkViewModel : MappableModel
{
public string ApplicationLinkId { get; set; }
public string ApplicationId { get; set; }
public string DisplayText { get; set; }
public string Link { get; set; }
}
And for the controller:
[HttpPost]
public JsonResult SaveLink(ApplicationLinkViewModel link)
{
var responseModel = new ResponseModel();
return this.Json(responseModel);
}
As you can see I'm doing nothing in the controller right now, I just have two lines so I can set a breakpoint and check out the link variable which is always null.
The JQuery function is :
$.ajax({
type: "POST",
cache: false,
dataType: 'json',
url: "Item/SaveLink",
data: JSON.stringify({ ApplicationId : "1", DisplayText: "test", Link : "linked", ApplicationLinkId: "2" }),
contentType: 'application/json; charset=utf-8',
success: function(data) {
if (data.Success) {
window.searchApplications();
window.showDetails(applicationId);
}
},
error: function(data) {
alert("Error occurred : \n\n" + data.Message);
}
});
I've tried several other approaches, and nothing I do seems to work, the object passed into my controlled is always null.
Does anyone have any ideas? For what it is worth I am (stuck) using IE8.
EDIT: SOLVED
I'm going to go drown myself now. The problem was the name of my parameter "link". It must be reserved or something even though the code never complained. At any rate I changed my Controller to this and it works now:
public JsonResult SaveLink(ApplicationLinkViewModel linkViewModel
modified 8-Jan-13 15:50pm.
|
|
|
|
|
I want to upload the photo of the customer in my project Just I am in developing the project asp .net 2010 version
and i am using ajax tools
kindly show the item.
|
|
|
|
|
|
Hi All,
I am looking to incorporate the Excel Like Grouping on the columns of my grid view, Can this be done using the standard .net functionalities, if not can anyone recommend a 3rd party component library with features like this.
Thank You.
|
|
|
|
|
|
Thank You for your response Sandeep,
However i cant see any of the images/screenshots posted by Brij.
Can you suggest any alternative link?
Regards
Amit
|
|
|
|
|
Consider I have two fields, userCode and userName. I want to make userCode coloum in hyper link, by clicking that link.. I can view complete details of the particular user in LIGHTBOX.
krishna
|
|
|
|
|
|
Thank you...
krishna
|
|
|
|
|
it is very simple to get value in list box
|
|
|
|
|
|
Hi, can u pls tell me the code for how to set browser compatibility in Asp.Net Web Application?
|
|
|
|
|