Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have created a page in which, by the value of the text box the number of dynamic fields get generated, i wrote this code on text_change property.
i combined this page with my master page as a content of the master page. but the dynamic fields are not generating than. without master page its working fine. but after that it is not.
i think i need to refresh the content page to get effect of code.

sorry christian.. but i dont know which part of code is wrong.
i modified my question so please help.
i simply wrote following in my main page

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="indent.aspx.cs" Inherits="kwarkfinal._Default" MasterPageFile="~/Site2.Master"%>

and in master page i have this code
<pre lang="xml">&lt;asp:ContentPlaceHolder ID=&quot;cph1&quot; runat=&quot;server&quot;&gt;

&lt;p&gt;
&amp;nbsp;&lt;/p&gt;

&lt;/asp:ContentPlaceHolder&gt;</pre>
the above main page is working fine with out merging.. after that its not working.
and for generating dynamic fields i have
protected void TextBox53_TextChanged(object sender, EventArgs e)
{
}
and on page load
<pre lang="cs">if (TextBox53.Text == &quot;&quot;)
{
}
else
{
TextBox54.text = "sad";
}
</pre>
this only that i can tell u about my project.
please help.


please help me as soon as possible.
Posted
Updated 27-Feb-10 20:48pm
v2

1 solution

Nishant_Mishra wrote:
please help me as soon as possible.


We will help you when we feel like helping a random stranger. If you're in such a hurry, why have you not posted the code that causes the problem. All I can tell you, is that your code is broken, and if you hook up your master page properly, it should make no difference to your code working.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900