Click here to Skip to main content
15,888,401 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: gridview update Pin
4anusha425-Aug-09 21:03
4anusha425-Aug-09 21:03 
GeneralRe: gridview update Pin
Christian Graus25-Aug-09 21:05
protectorChristian Graus25-Aug-09 21:05 
AnswerRe: gridview update Pin
Robert_Pan26-Aug-09 18:44
Robert_Pan26-Aug-09 18:44 
QuestionAjax is not working Pin
Ravindra K Bisen25-Aug-09 19:59
Ravindra K Bisen25-Aug-09 19:59 
AnswerRe: Ajax is not working Pin
Christian Graus25-Aug-09 20:02
protectorChristian Graus25-Aug-09 20:02 
AnswerRe: Ajax is not working Pin
Vimalsoft(Pty) Ltd25-Aug-09 21:54
professionalVimalsoft(Pty) Ltd25-Aug-09 21:54 
AnswerRe: Ajax is not working Pin
-Dr_X-26-Aug-09 9:30
-Dr_X-26-Aug-09 9:30 
QuestionPlease Help!! Pin
Suresh Suthar25-Aug-09 19:49
professionalSuresh Suthar25-Aug-09 19:49 
Hi All,
I am facing a proble in ASP.Net 1.0.
The Prob is that I am generating TextBoxes on user input. Like if user input 3 in textbox and click generate button 3 textboxes are added to Table Control (Web Control).
But when I m trying to access its .Text in code behind it is not showing anything..
My code sample is here
''Generate button
       For i = 1 To num
             Dim r As New TableRow()
             Dim c As New TableCell()
             Dim txtCaf As New TextBox()
             txtCaf.ID = "txtCAF" & i.ToString
             txtCaf.Attributes.Add("onkeypress", ONLY_NUMBER)
             txtCaf.MaxLength = 10

             Dim txtNoOfMDN As New TextBox()
             txtNoOfMDN.ID = "txtNoOfMDN" & i.ToString
             txtNoOfMDN.Attributes.Add("onkeypress", ONLY_NUMBER)
             txtNoOfMDN.MaxLength = 3

             c.Controls.Add(New LiteralControl(i))
             r.Cells.Add(c)

             c = New TableCell()
             c.Controls.Add(txtCaf)
             r.Cells.Add(c)

             c = New TableCell()
             c.Controls.Add(txtNoOfMDN)
             r.Cells.Add(c)

             Table1.Rows.Add(r)
         Next


Access its value..
txtCaf = CType(Page.FindControl("txtCaf" & i.ToString), TextBox)
'this show Nothing

Please Help...

Be an Eagle, Sky is Yours.

AnswerRe: Please Help!! Pin
Christian Graus25-Aug-09 20:00
protectorChristian Graus25-Aug-09 20:00 
GeneralRe: Please Help!! Pin
Suresh Suthar25-Aug-09 20:15
professionalSuresh Suthar25-Aug-09 20:15 
GeneralRe: Please Help!! Pin
N a v a n e e t h25-Aug-09 20:20
N a v a n e e t h25-Aug-09 20:20 
GeneralRe: Please Help!! Pin
Christian Graus25-Aug-09 20:34
protectorChristian Graus25-Aug-09 20:34 
Questionconnection to local sqlserver through internet Pin
manish.m.meshram25-Aug-09 19:36
manish.m.meshram25-Aug-09 19:36 
AnswerRe: connection to local sqlserver through internet Pin
Christian Graus25-Aug-09 20:01
protectorChristian Graus25-Aug-09 20:01 
GeneralRe: connection to local sqlserver through internet Pin
manish.m.meshram25-Aug-09 22:51
manish.m.meshram25-Aug-09 22:51 
QuestionReally stupid question about deploying an ASP.NET Web App Pin
swampwiz25-Aug-09 19:26
swampwiz25-Aug-09 19:26 
AnswerRe: Really stupid question about deploying an ASP.NET Web App Pin
Christian Graus25-Aug-09 19:28
protectorChristian Graus25-Aug-09 19:28 
GeneralRe: Really stupid question about deploying an ASP.NET Web App Pin
swampwiz25-Aug-09 20:32
swampwiz25-Aug-09 20:32 
GeneralRe: Really stupid question about deploying an ASP.NET Web App Pin
Christian Graus25-Aug-09 20:44
protectorChristian Graus25-Aug-09 20:44 
QuestionPublishing a Asp.net website Pin
Arokiamary25-Aug-09 19:10
Arokiamary25-Aug-09 19:10 
AnswerRe: Publishing a Asp.net website Pin
Christian Graus25-Aug-09 19:27
protectorChristian Graus25-Aug-09 19:27 
GeneralRe: Publishing a Asp.net website Pin
Arokiamary25-Aug-09 20:25
Arokiamary25-Aug-09 20:25 
QuestionEncrypt text Pin
kavinnagarajan25-Aug-09 19:01
kavinnagarajan25-Aug-09 19:01 
AnswerRe: Encrypt text Pin
Christian Graus25-Aug-09 19:28
protectorChristian Graus25-Aug-09 19:28 
GeneralEncrypt text Pin
kavinnagarajan25-Aug-09 19:34
kavinnagarajan25-Aug-09 19:34 

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.