Click here to Skip to main content
       

ASP.NET

 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page  Show 
GeneralRe: Disable Pop-up Blockermemberarunmisra11 Jan '13 - 11:22 
Thanks for your reply.
JokeRe: Disable Pop-up Blockermemberjkirkerx13 Jan '13 - 13:31 
Ding Dong - I should of said that!
 
I didn't think of it that way at the moment.
Question.i cant select master page as well as place code n seperate file textbox in vs 2008.memberMember 97128329 Jan '13 - 22:48 
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

AnswerRe: .i cant select master page as well as place code n seperate file textbox in vs 2008.mvpSandeep Mewara10 Jan '13 - 3:07 
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.
Sandeep Mewara
Microsoft ASP.NET MVP 2012 & 2013
 

[My Latest Article(s)]:
How to extend a WPF Textbox to Custom Picker
Server side Delimiters in ASP.NET

AnswerRe: .i cant select master page as well as place code n seperate file textbox in vs 2008.memberjkirkerx10 Jan '13 - 12:54 
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>

QuestionStart Up for Project RequiredmemberZiad Aslam8 Jan '13 - 19:31 
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
AnswerRe: Start Up for Project RequiredmvpRichard MacCutchan8 Jan '13 - 20:58 
I would suggest you learn all about Simple_Mail_Transfer_Protocol[^] and ASP.net/[^] for starters.
One of these days I'm going to think of a really clever signature.

GeneralRe: Start Up for Project RequiredmemberZiad Aslam8 Jan '13 - 21:26 
Thanks Richard.
 
In Visual Studio what will the best option to develop my project?
ASP.NET Web Application?
GeneralRe: Start Up for Project RequiredmvpRichard MacCutchan8 Jan '13 - 22:48 
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.

AnswerRe: Start Up for Project RequiredmemberJ4amieC9 Jan '13 - 0:42 
Wow, you're on your final project and you "don't know where to start". Been paying attention in class much?
GeneralRe: Start Up for Project RequiredmemberZiad Aslam9 Jan '13 - 1:07 
J4amieC i was a bit confused that's why i came here, i want to know the basic parts of an email system
QuestionMVC 4.0 and JQuery .ajax [modified]memberAnalogNerd8 Jan '13 - 8:50 
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:50.

QuestionSample project ajax file upload with progress barmembersheshagirirao N7 Jan '13 - 23:25 
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.
AnswerRe: Sample project ajax file upload with progress barmvpSandeep Mewara8 Jan '13 - 3:05 
There are controls for the same. Try out:
http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/AsyncFileUpload/AsyncFileUpload.aspx[^]
 
Post specific issue if you face any.
Sandeep Mewara
Microsoft ASP.NET MVP 2012 & 2013
 

[My Latest Article(s)]:
How to extend a WPF Textbox to Custom Picker
Server side Delimiters in ASP.NET

QuestionGrouping Columns in Grid ViewmemberAmitTalekar7 Jan '13 - 20:45 
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.
AnswerRe: Grouping Columns in Grid ViewmvpSandeep Mewara7 Jan '13 - 20:58 
Yes it is possible in ASP.NET. Following article will help you out: Rows and Columns Merging in ASP.NET GridView Control[^]
Sandeep Mewara
Microsoft ASP.NET MVP 2012 & 2013
 

[My Latest Article(s)]:
How to extend a WPF Textbox to Custom Picker
Server side Delimiters in ASP.NET

GeneralRe: Grouping Columns in Grid ViewmemberAmitTalekar7 Jan '13 - 22:54 
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
QuestionHow to make gridview coloum in hyperlink and get the values in lightboxmemberkrishnavaradharajan7 Jan '13 - 2:26 
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
AnswerRe: How to make gridview coloum in hyperlink and get the values in lightboxmvpSandeep Mewara7 Jan '13 - 2:57 
krishnavaradharajan wrote:
I want to make userCode coloum in hyper link, by clicking that link..

And the issue is?
 
Steps:
1. Raise a client side code on click of link
2. In the client side method, launch the lightbox
3. Have desired data in the light box.
 
References that would help:
http://lokeshdhakar.com/projects/lightbox2/[^]
http://seepeoplesoftware.com/support/faqs/easytable-faq/179-show-detail-view-in-a-lightbox-effect.html[^]
 
Try out!
Sandeep Mewara
Microsoft ASP.NET MVP 2012 & 2013
 

[My Latest Article(s)]:
How to extend a WPF Textbox to Custom Picker
Server side Delimiters in ASP.NET

GeneralRe: How to make gridview coloum in hyperlink and get the values in lightboxmemberkrishnavaradharajan7 Jan '13 - 4:23 
Thank you... Smile | :)
 
krishna
AnswerRe: How to make gridview coloum in hyperlink and get the values in lightboxmemberpiyush_dobariya7 Jan '13 - 18:41 
it is very simple to get value in list box
AnswerRe: How to make gridview coloum in hyperlink and get the values in lightboxmemberDavid Mujica8 Jan '13 - 3:48 
If you would consider 3rd party controls, take a look at Developer Express.
 
http://www.devexpress.com/Support/Demos/[^]
 
Their controls for ASP.NET are amazing. I've been using them for 2 years.
QuestionBrowser Compatibiltymemberravitejapammi6 Jan '13 - 23:54 
Hi, can u pls tell me the code for how to set browser compatibility in Asp.Net Web Application?
AnswerRe: Browser CompatibiltymvpSandeep Mewara7 Jan '13 - 2:53 
Look here for various answers for similar question asked here: Similar question asked here[^]
 
Few such links:
Browser Compatibility Application[^]
doubt regarding browser compatability[^]
Sandeep Mewara
Microsoft ASP.NET MVP 2012 & 2013
 

[My Latest Article(s)]:
How to extend a WPF Textbox to Custom Picker
Server side Delimiters in ASP.NET

GeneralRe: Browser Compatibiltymemberravitejapammi17 Jan '13 - 20:21 
Thank you for response Smile | :)

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   


Advertise | Privacy | Mobile
Web02 | 2.6.130523.1 | Last Updated 25 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid