Click here to Skip to main content
15,891,764 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: problem with web controls Pin
Deepak the Cool20-Nov-07 3:03
Deepak the Cool20-Nov-07 3:03 
GeneralRe: problem with web controls Pin
Michael Sync20-Nov-07 3:09
Michael Sync20-Nov-07 3:09 
GeneralRe: problem with web controls Pin
accessred20-Nov-07 19:13
accessred20-Nov-07 19:13 
GeneralRe: problem with web controls Pin
Deepak the Cool21-Nov-07 17:31
Deepak the Cool21-Nov-07 17:31 
AnswerRe: problem with web controls Pin
Michael Sync20-Nov-07 3:08
Michael Sync20-Nov-07 3:08 
GeneralRe: problem with web controls Pin
accessred20-Nov-07 19:13
accessred20-Nov-07 19:13 
GeneralRe: problem with web controls Pin
Michael Sync20-Nov-07 19:34
Michael Sync20-Nov-07 19:34 
AnswerRe: problem with web controls Pin
MCEdwards20-Nov-07 7:44
MCEdwards20-Nov-07 7:44 
This message means that you are trying to place a text box outside the page form. You need to ensure that you place the textbox between a form tag with runat="server". For example:

<br />
 <form runat="server"><br />
   <asp:TextBox id="textbox1" runat="server" /><br />
 </form><br />


If you want the textbox to be in the table then ensure that the table is between the form tags.

The simplest solution is to add the form tag to the master page so that it wraps the content place holder, this means that any page that inherits the master page will automatically have the form tag. This is not best practice because it will mean that pages that do not use forms will have the form and therefore view state sent with them which increase page download times and eats your bandwidth, but for quick test solution its job done.

Hope this helps.
GeneralRe: problem with web controls Pin
accessred20-Nov-07 19:12
accessred20-Nov-07 19:12 
QuestionMeasure Performance after Caching Pin
wEb GuRu...20-Nov-07 1:41
wEb GuRu...20-Nov-07 1:41 
AnswerRe: Measure Performance after Caching Pin
John-ph20-Nov-07 2:58
John-ph20-Nov-07 2:58 
Questiontwo form tage in one page [modified] Pin
Sonia Gupta20-Nov-07 1:29
Sonia Gupta20-Nov-07 1:29 
AnswerRe: two form tage in one page Pin
Vasudevan Deepak Kumar20-Nov-07 2:23
Vasudevan Deepak Kumar20-Nov-07 2:23 
AnswerRe: two form tage in one page Pin
Prateek G20-Nov-07 2:24
Prateek G20-Nov-07 2:24 
GeneralRe: two form tage in one page Pin
Sonia Gupta20-Nov-07 2:28
Sonia Gupta20-Nov-07 2:28 
GeneralRe: two form tage in one page Pin
Prateek G20-Nov-07 2:30
Prateek G20-Nov-07 2:30 
GeneralRe: two form tage in one page Pin
Sonia Gupta20-Nov-07 2:33
Sonia Gupta20-Nov-07 2:33 
GeneralRe: two form tage in one page Pin
Prateek G20-Nov-07 2:37
Prateek G20-Nov-07 2:37 
GeneralRe: two form tage in one page Pin
Sonia Gupta20-Nov-07 2:41
Sonia Gupta20-Nov-07 2:41 
GeneralRe: two form tage in one page Pin
Prateek G20-Nov-07 2:44
Prateek G20-Nov-07 2:44 
GeneralRe: two form tage in one page Pin
Sonia Gupta20-Nov-07 2:58
Sonia Gupta20-Nov-07 2:58 
GeneralRe: two form tage in one page Pin
Prateek G20-Nov-07 3:03
Prateek G20-Nov-07 3:03 
AnswerRe: two form tage in one page Pin
N a v a n e e t h20-Nov-07 2:32
N a v a n e e t h20-Nov-07 2:32 
GeneralRe: two form tage in one page Pin
Sonia Gupta20-Nov-07 2:34
Sonia Gupta20-Nov-07 2:34 
QuestionRetriving images from Db Pin
Krishna Varadharajan20-Nov-07 1:02
Krishna Varadharajan20-Nov-07 1:02 

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.