Click here to Skip to main content
15,912,932 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: How to create dll of current proj in 2005 Pin
Imran Khan Pathan21-Feb-07 22:57
Imran Khan Pathan21-Feb-07 22:57 
GeneralRe: How to create dll of current proj in 2005 Pin
NanaAM21-Feb-07 23:24
NanaAM21-Feb-07 23:24 
QuestionEditable datagrid Pin
nclauder21-Feb-07 22:33
nclauder21-Feb-07 22:33 
QuestionRemove blank space in datagrid Pin
Software_Guy_12321-Feb-07 22:11
Software_Guy_12321-Feb-07 22:11 
AnswerRe: Remove blank space in datagrid Pin
Tuwing.Sabado21-Feb-07 22:29
Tuwing.Sabado21-Feb-07 22:29 
AnswerRe: Remove blank space in datagrid Pin
Tuwing.Sabado21-Feb-07 22:48
Tuwing.Sabado21-Feb-07 22:48 
GeneralRe: Remove blank space in datagrid Pin
Software_Guy_12322-Feb-07 2:53
Software_Guy_12322-Feb-07 2:53 
Questionproperty not returning the textbox value on other page. Pin
MissionSuccess21-Feb-07 21:56
MissionSuccess21-Feb-07 21:56 
Respected Gurus

in frmShowRefForm.aspx

Public ReadOnly Property getRef_No() As String
Get
Return txtRefNo.Value
End Get
End Property

this property returns the value of txtRefNo.

This property works fine if i m using it on the same page.

But not from other page from where i want to access the value of txtRefNo.

in page_load event of other page
Dim obj As frmShowRefForm
obj = New frmShowRefForm
Dim ref_no As String
If obj.getRef_No <> "" Then
ref_no = obj.getRef_No
End If

Error"Object Reference not set to an instance of an object."

this error comes while returning the value of the textbox of frmShowRefForm.

I have tried to return a string variable from the property instead of the textbox value and it works fine..


Plz guide
AnswerRe: property not returning the textbox value on other page. Pin
Marcus J. Smith22-Feb-07 3:32
professionalMarcus J. Smith22-Feb-07 3:32 
Questionasp.net 2.0 + c# Pin
ritu432121-Feb-07 21:53
ritu432121-Feb-07 21:53 
AnswerRe: asp.net 2.0 + c# Pin
Sylvester george21-Feb-07 22:25
Sylvester george21-Feb-07 22:25 
AnswerRe: asp.net 2.0 + c# Pin
Tuwing.Sabado21-Feb-07 23:11
Tuwing.Sabado21-Feb-07 23:11 
AnswerRe: asp.net 2.0 + c# Pin
Harini N K21-Feb-07 23:36
Harini N K21-Feb-07 23:36 
QuestionEvents when closing object of the another from Pin
pinky.anita21-Feb-07 21:06
pinky.anita21-Feb-07 21:06 
AnswerRe: Events when closing object of the another from Pin
Sylvester george21-Feb-07 21:17
Sylvester george21-Feb-07 21:17 
GeneralRe: Events when closing object of the another from Pin
Sylvester george21-Feb-07 21:53
Sylvester george21-Feb-07 21:53 
QuestionHeader and Footer in all printed pages Pin
K.P.Kannan21-Feb-07 21:06
K.P.Kannan21-Feb-07 21:06 
Questionrequest.form Pin
praveenanand21-Feb-07 21:00
praveenanand21-Feb-07 21:00 
AnswerRe: request.form Pin
Sylvester george21-Feb-07 22:27
Sylvester george21-Feb-07 22:27 
AnswerRe: request.form Pin
Michael Sync21-Feb-07 22:27
Michael Sync21-Feb-07 22:27 
Questionresponse.form Pin
praveenanand21-Feb-07 20:59
praveenanand21-Feb-07 20:59 
AnswerRe: response.form Pin
Sylvester george21-Feb-07 22:30
Sylvester george21-Feb-07 22:30 
QuestionDouble Click Event Hander for ASP.NET Button Control Pin
248912821-Feb-07 20:13
248912821-Feb-07 20:13 
AnswerRe: Double Click Event Hander for ASP.NET Button Control Pin
Michael Sync21-Feb-07 22:32
Michael Sync21-Feb-07 22:32 
AnswerRe: Double Click Event Hander for ASP.NET Button Control Pin
248912822-Feb-07 3:39
248912822-Feb-07 3:39 

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.