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

ASP.NET

 
AnswerRe: Uplaoding File without FIleupload control via Remote Machine. Pin
Aman Bhullar21-Jan-09 23:19
Aman Bhullar21-Jan-09 23:19 
GeneralRe: Uplaoding File without FIleupload control via Remote Machine. Pin
Tarini Singh22-Jan-09 3:21
Tarini Singh22-Jan-09 3:21 
AnswerRe: Confused ??? Pin
Ashutosh Phoujdar22-Jan-09 1:22
Ashutosh Phoujdar22-Jan-09 1:22 
QuestionDesign Problem for Multiple controls in an update Panel ? Pin
meeram39521-Jan-09 23:05
meeram39521-Jan-09 23:05 
AnswerRe: Design Problem for Multiple controls in an update Panel ? Pin
Rutvik Dave22-Jan-09 3:59
professionalRutvik Dave22-Jan-09 3:59 
QuestionLog Out Pin
jonhbt21-Jan-09 22:40
jonhbt21-Jan-09 22:40 
AnswerRe: Log Out Pin
VenkatFor.NET22-Jan-09 20:29
VenkatFor.NET22-Jan-09 20:29 
QuestionStateless UserControl ! Pin
mehrdadc4821-Jan-09 20:53
mehrdadc4821-Jan-09 20:53 
Hi.
I have a userControl with this method : (tbl1 is an ASP.Net Table Control)

Public Sub MyInit()

Dim txt As New TextBox()
Dim tc As New TableCell()
tc.Controls.Add(txt)
Dim tr As New TableRow()
tr.Controls.Add(tc)
tbl1.Controls.Add(tr)

End Sub

and there is a button on this userControl that I've written this Code in Click event:
Dim i As Integer = tbl1.Rows.Count


Now, In a web form that has a button, I dropped this usercontrol, and in Click event I've written :
userControl1.MyInit()


And Now by clicking the button of web page, a row with a TextBox inside, will add to page,
but after clicking the button in usercontrol, tbl1.Rows.Count is 0.
I want to read the Text of TextBox, but at all the tbl1 is clear!

I've to creat controls dynamically as above (MyInit()), how can I solve it?

Best wishes

Questionhow to recieve mails to my .net application Pin
prasanth.moganti21-Jan-09 20:44
prasanth.moganti21-Jan-09 20:44 
AnswerRe: how to recieve mails to my .net application Pin
Abhijit Jana21-Jan-09 21:03
professionalAbhijit Jana21-Jan-09 21:03 
AnswerRe: how to recieve mails to my .net application Pin
Abhishek Sur21-Jan-09 21:06
professionalAbhishek Sur21-Jan-09 21:06 
Questiondelete a row? Pin
RajpootRohan21-Jan-09 20:25
professionalRajpootRohan21-Jan-09 20:25 
AnswerRe: delete a row? Pin
Muhammad Gouda21-Jan-09 20:46
Muhammad Gouda21-Jan-09 20:46 
GeneralRe: delete a row? Pin
N a v a n e e t h21-Jan-09 21:31
N a v a n e e t h21-Jan-09 21:31 
AnswerRe: delete a row? Pin
Neeraj Kr21-Jan-09 20:49
Neeraj Kr21-Jan-09 20:49 
QuestionWrapper Pin
mehrdadc4821-Jan-09 19:55
mehrdadc4821-Jan-09 19:55 
AnswerRe: Wrapper Pin
Abhishek Sur21-Jan-09 21:07
professionalAbhishek Sur21-Jan-09 21:07 
QuestionCannot download files because of a conflict between WebParts and UpdatePanels Pin
Muhammad Gouda21-Jan-09 19:54
Muhammad Gouda21-Jan-09 19:54 
AnswerHopeless Case ?!!!!!! Pin
Muhammad Gouda21-Jan-09 21:25
Muhammad Gouda21-Jan-09 21:25 
QuestionNeed code for sending invitation to link in ASP.Net [modified] Pin
Jas 00721-Jan-09 19:43
Jas 00721-Jan-09 19:43 
AnswerRe: Need code for sending invitation to link in ASP.Net Pin
Abhishek Sur21-Jan-09 21:08
professionalAbhishek Sur21-Jan-09 21:08 
GeneralRe: Need code for sending invitation to link in ASP.Net Pin
Abhijit Jana21-Jan-09 21:12
professionalAbhijit Jana21-Jan-09 21:12 
Questionconverting exel data into SQL data. Pin
Nilesh S.Badge21-Jan-09 19:42
Nilesh S.Badge21-Jan-09 19:42 
AnswerRe: converting exel data into SQL data. Pin
Jas 00721-Jan-09 19:48
Jas 00721-Jan-09 19:48 
AnswerRe: converting exel data into SQL data. Pin
Abhishek Sur21-Jan-09 21:15
professionalAbhishek Sur21-Jan-09 21:15 

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.