Click here to Skip to main content
15,902,445 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: validate a file before upload Pin
enjoycrack25-Apr-06 22:53
enjoycrack25-Apr-06 22:53 
GeneralRe: validate a file before upload Pin
fmardani25-Apr-06 23:16
fmardani25-Apr-06 23:16 
Questionto print or save datagrid control in asp.net 1.1 Pin
rajinder s25-Apr-06 21:33
rajinder s25-Apr-06 21:33 
AnswerRe: to print or save datagrid control in asp.net 1.1 Pin
Praveen_S26-Apr-06 1:51
Praveen_S26-Apr-06 1:51 
QuestionComponentArt give me componentart_webui_client/2006_1_1208/A573G988.js not found Pin
sasire1825-Apr-06 21:31
sasire1825-Apr-06 21:31 
AnswerRe: ComponentArt give me componentart_webui_client/2006_1_1208/A573G988.js not found Pin
minhpc_bk26-Apr-06 0:05
minhpc_bk26-Apr-06 0:05 
QuestionControl '_ctl0__ctl2_lbl1' of type 'TextBox' must be placed inside a form tag with runat=server. Pin
MissionSuccess25-Apr-06 21:30
MissionSuccess25-Apr-06 21:30 
AnswerRe: Control '_ctl0__ctl2_lbl1' of type 'TextBox' must be placed inside a form tag with runat=server. Pin
minhpc_bk25-Apr-06 22:44
minhpc_bk25-Apr-06 22:44 
Me.lblShowGrid.Controls.Add(DataGrid1)
Page.Controls.Add(DataGrid1)


Because you add the grid control to the Page, so the grid and its child controls inluding the textbox will be placed outside the form element, and you will get the error. Instead, you should get reference to the form element, and add the grid to the Controls collection of the form. Another option is to place a container like Panel or PlaceHolder control in the form, and add the grid to this container.
QuestionGoogle Web Service returned and open a new page? Pin
nets070625-Apr-06 20:48
nets070625-Apr-06 20:48 
AnswerRe: Google Web Service returned and open a new page? Pin
minhpc_bk26-Apr-06 0:01
minhpc_bk26-Apr-06 0:01 
QuestionRe: Google Web Service returned and open a new page? Pin
TheEagle28-Jun-06 17:49
TheEagle28-Jun-06 17:49 
Questiondifference between configSource and file attributes in web.config Pin
chakkara200325-Apr-06 19:34
chakkara200325-Apr-06 19:34 
AnswerRe: difference between configSource and file attributes in web.config Pin
minhpc_bk25-Apr-06 23:58
minhpc_bk25-Apr-06 23:58 
GeneralRe: difference between configSource and file attributes in web.config Pin
chakkara200326-Apr-06 3:08
chakkara200326-Apr-06 3:08 
QuestionASP.net Ajax Pin
NICE TO MEET25-Apr-06 17:30
NICE TO MEET25-Apr-06 17:30 
AnswerRe: ASP.net Ajax Pin
CWIZO25-Apr-06 21:44
CWIZO25-Apr-06 21:44 
Questiondebug vs 2003 javascript Pin
raquidd2225-Apr-06 17:27
raquidd2225-Apr-06 17:27 
AnswerRe: debug vs 2003 javascript Pin
minhpc_bk25-Apr-06 22:58
minhpc_bk25-Apr-06 22:58 
Questioncommand window vs 2003 Pin
raquidd2225-Apr-06 17:23
raquidd2225-Apr-06 17:23 
AnswerRe: command window vs 2003 Pin
Guffa25-Apr-06 20:20
Guffa25-Apr-06 20:20 
QuestionRedirect back to original page causing problem Pin
OzSoft Solutions25-Apr-06 16:07
OzSoft Solutions25-Apr-06 16:07 
AnswerRe: Redirect back to original page causing problem Pin
Guffa25-Apr-06 20:32
Guffa25-Apr-06 20:32 
GeneralRe: Redirect back to original page causing problem Pin
OzSoft Solutions25-Apr-06 20:39
OzSoft Solutions25-Apr-06 20:39 
QuestionLogin Control, custom authentication Pin
2hdass25-Apr-06 16:00
2hdass25-Apr-06 16:00 
AnswerRe: Login Control, custom authentication Pin
minhpc_bk25-Apr-06 22:51
minhpc_bk25-Apr-06 22:51 

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.