Click here to Skip to main content
15,887,596 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Generalxsl fo to xslt Pin
indian14329-Jun-12 8:37
indian14329-Jun-12 8:37 
GeneralTo save file in a stream instead of a physical location Pin
indian14329-Jun-12 5:58
indian14329-Jun-12 5:58 
QuestionAutomatically Sychronize TFS workitems update with custom tool Pin
amit sahu2029-Jun-12 1:36
amit sahu2029-Jun-12 1:36 
QuestionCCTV camera on ASP web Page Pin
sandeep Nishad29-Jun-12 0:19
sandeep Nishad29-Jun-12 0:19 
AnswerRe: CCTV camera on ASP web Page Pin
Sandeep Mewara29-Jun-12 3:42
mveSandeep Mewara29-Jun-12 3:42 
Questionhow to sent mail using smtp.bizmail.yahoo.com Pin
gyanendragope28-Jun-12 23:42
gyanendragope28-Jun-12 23:42 
AnswerRe: how to sent mail using smtp.bizmail.yahoo.com Pin
Vani Kulkarni29-Jun-12 0:07
professionalVani Kulkarni29-Jun-12 0:07 
Questionweb form 2010 error Pin
classy_dog28-Jun-12 17:07
classy_dog28-Jun-12 17:07 
I am asking this question since I have very little experince working with master pages in a C# 2010 web form application. I am trying to put my code into production, but the production code is causing a problem. Basically I know what the error is but I do not know how to fix the problem. Thus I am hoping you can tell me how to fix the problem

Note:There is the file in the following location: sub/TestMasterPage.ascx

Problem: Error 19 Could not load file or assembly 'MasterPages' or one of its dependencies. The system cannot find the file specified. C:\Users\dst\Documents\Visual Studio 2010\Projects\Support\TestPage.aspx 2

The code:
 <%@ language="c#" debug="true" trace="false" %> 
<%@ Register TagPrefix="mp" namespace="Microsoft.Web.Samples.MasterPages" assembly="MasterPages" %> 
 
<script runat="server"> 
    void ClickedCapitalize(object o, EventArgs e) { 
        capitalized.Text = Server.HtmlEncode(tb1.Text.ToUpper()); 
    } 
 
    void SayHello(object o, EventArgs e) { 
        name.Text = Server.HtmlEncode(tb2.Text); 
    } 
</script> 
 
<mp:contentcontainer runat="server" MasterPageFile="sub/TestMasterPage.ascx"> 
 
<mp:content id=region1 runat="server"> 
    <a href="MasterPages.htm" runat="server">Relative link test</a><br> 
    <asp:textbox id=tb1 runat="server"/><asp:button text=Capitalize onclick=ClickedCapitalize runat="server"/> 
    <asp:literal id=capitalized runat="server"/> 
</mp:content> 
 
<mp:content id="region2" runat="server"> 
    <asp:textbox id="tb2" runat="server"/><asp:button text="Say hello" onclick="SayHello" runat="server"/> 
    Hello <asp:literal id="name" text="[name goes here]" runat="server"/>! 
</mp:content> 
 
</mp:contentcontainer> 

AnswerRe: web form 2010 error Pin
Sandeep Mewara28-Jun-12 22:16
mveSandeep Mewara28-Jun-12 22:16 
GeneralRe: web form 2010 error Pin
classy_dog29-Jun-12 3:18
classy_dog29-Jun-12 3:18 
GeneralRe: web form 2010 error Pin
Sandeep Mewara29-Jun-12 3:39
mveSandeep Mewara29-Jun-12 3:39 
QuestionGrid view binding in page load in 3tier Pin
prasadbhagat28-Jun-12 7:08
prasadbhagat28-Jun-12 7:08 
AnswerRe: Grid view binding in page load in 3tier Pin
R. Giskard Reventlov28-Jun-12 9:41
R. Giskard Reventlov28-Jun-12 9:41 
GeneralRe: Grid view binding in page load in 3tier Pin
Rajkumarhi528-Jun-12 19:22
Rajkumarhi528-Jun-12 19:22 
AnswerRe: Grid view binding in page load in 3tier Pin
Karthik Harve28-Jun-12 20:08
professionalKarthik Harve28-Jun-12 20:08 
AnswerRe: Grid view binding in page load in 3tier Pin
AshishChaudha29-Jun-12 22:26
AshishChaudha29-Jun-12 22:26 
AnswerRe: Grid view binding in page load in 3tier Pin
Rahul Rajat Singh29-Jun-12 22:54
professionalRahul Rajat Singh29-Jun-12 22:54 
Questionweb form staying active Pin
sc steinhayse28-Jun-12 5:30
sc steinhayse28-Jun-12 5:30 
AnswerRe: web form staying active Pin
Sandeep Mewara28-Jun-12 5:48
mveSandeep Mewara28-Jun-12 5:48 
QuestionBest way to display Card Information to the admin or user Pin
Hamidakhanam28-Jun-12 3:33
Hamidakhanam28-Jun-12 3:33 
AnswerRe: Best way to display Card Information to the admin or user Pin
Richard MacCutchan28-Jun-12 5:09
mveRichard MacCutchan28-Jun-12 5:09 
AnswerRe: Best way to display Card Information to the admin or user Pin
jkirkerx28-Jun-12 8:54
professionaljkirkerx28-Jun-12 8:54 
QuestionHow to identify Event handling in TFS 2012 for Bug work item onlt Pin
amit sahu2028-Jun-12 0:27
amit sahu2028-Jun-12 0:27 
AnswerRe: How to identify Event handling in TFS 2012 for Bug work item onlt Pin
jkirkerx28-Jun-12 11:50
professionaljkirkerx28-Jun-12 11:50 
Questionasp. net deployment Pin
sc steinhayse27-Jun-12 19:13
sc steinhayse27-Jun-12 19:13 

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

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.