Click here to Skip to main content
15,894,277 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: create a link in a aspx page Pin
eyeseetee8-Jul-08 23:20
eyeseetee8-Jul-08 23:20 
QuestionGetting some Parser Error Pin
hemant hardas8-Jul-08 23:03
hemant hardas8-Jul-08 23:03 
AnswerRe: Getting some Parser Error Pin
eyeseetee8-Jul-08 23:21
eyeseetee8-Jul-08 23:21 
GeneralRe: Getting some Parser Error [modified] Pin
hemant hardas9-Jul-08 0:46
hemant hardas9-Jul-08 0:46 
QuestionInsert Dynamic row in gridview with Dropdownlist [modified] Pin
kimo code8-Jul-08 23:03
kimo code8-Jul-08 23:03 
Questionadd required validator to dynamically created textbox Pin
eyeseetee8-Jul-08 22:31
eyeseetee8-Jul-08 22:31 
AnswerRe: add required validator to dynamically created textbox Pin
Sherin Iranimose8-Jul-08 22:44
Sherin Iranimose8-Jul-08 22:44 
GeneralRe: add required validator to dynamically created textbox Pin
eyeseetee8-Jul-08 22:51
eyeseetee8-Jul-08 22:51 
thanks for the code suggestion
Ive added it but its showing the error message:

Unable to find control id 'tb' referenced by the 'ControlToValidate' property of ''.

all my code is as follows:

TextBox tb;
Label lb;
foreach (DataRow row in dataSetselectactivities.Tables[0].Rows)
{
lb = new Label();
tb = new TextBox();
lb.Text = "<br />" + row["field"].ToString() + " ";
tb.Text = row["field"].ToString();
RequiredFieldValidator reqv = new RequiredFieldValidator();
reqv.ControlToValidate = "tb";
reqv.ErrorMessage = "Err_Msg";
TextBoxesHere.Controls.Add(lb);
TextBoxesHere.Controls.Add(tb);


TextBoxesHere.Controls.Add(reqv);

}
GeneralRe: add required validator to dynamically created textbox Pin
N a v a n e e t h8-Jul-08 22:54
N a v a n e e t h8-Jul-08 22:54 
GeneralRe: add required validator to dynamically created textbox Pin
eyeseetee8-Jul-08 22:56
eyeseetee8-Jul-08 22:56 
GeneralRe: add required validator to dynamically created textbox Pin
N a v a n e e t h8-Jul-08 23:09
N a v a n e e t h8-Jul-08 23:09 
GeneralRe: add required validator to dynamically created textbox Pin
eyeseetee9-Jul-08 0:03
eyeseetee9-Jul-08 0:03 
GeneralRe: add required validator to dynamically created textbox Pin
N a v a n e e t h9-Jul-08 1:01
N a v a n e e t h9-Jul-08 1:01 
GeneralRe: add required validator to dynamically created textbox Pin
eyeseetee9-Jul-08 2:45
eyeseetee9-Jul-08 2:45 
GeneralRe: add required validator to dynamically created textbox Pin
Imran Khan Pathan9-Jul-08 3:03
Imran Khan Pathan9-Jul-08 3:03 
GeneralRe: add required validator to dynamically created textbox Pin
eyeseetee9-Jul-08 3:09
eyeseetee9-Jul-08 3:09 
GeneralRe: add required validator to dynamically created textbox Pin
Imran Khan Pathan9-Jul-08 3:21
Imran Khan Pathan9-Jul-08 3:21 
Questionrepeating rows in datalist while i click 2nd or 3rd page navigation. Pin
subbu.sk8-Jul-08 22:30
subbu.sk8-Jul-08 22:30 
AnswerRe: repeating rows in datalist while i click 2nd or 3rd page navigation. Pin
eyeseetee8-Jul-08 22:39
eyeseetee8-Jul-08 22:39 
GeneralRe: repeating rows in datalist while i click 2nd or 3rd page navigation. Pin
subbu.sk8-Jul-08 23:07
subbu.sk8-Jul-08 23:07 
QuestionBinding Gridview with Third Normal from database Pin
Bharani_Ram8-Jul-08 21:57
Bharani_Ram8-Jul-08 21:57 
AnswerRe: Binding Gridview with Third Normal from database Pin
Sherin Iranimose8-Jul-08 22:50
Sherin Iranimose8-Jul-08 22:50 
AnswerRe: Binding Gridview with Third Normal from database Pin
Gayani Devapriya9-Jul-08 18:53
Gayani Devapriya9-Jul-08 18:53 
Questionsearching data from one form and displaying to another form Pin
Mamphekgo Bahula8-Jul-08 21:57
Mamphekgo Bahula8-Jul-08 21:57 
AnswerRe: searching data from one form and displaying to another form Pin
eyeseetee8-Jul-08 22:18
eyeseetee8-Jul-08 22:18 

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.