matu
July 10th, 2003, 12:23 PM
I am designing a Calendar POp-Up Control.I click a button and a Pop-Up calendar appears and i select a date on it.This selection causes the selected date to appear in a Text Box.
But when i click on the date i donot find anything entered into the textbox.I donot know whats going on here.
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'Put user code to initialize the page here
'THIS LINE GIVES ME AN ERROR
Hidden1.Value = Request.QueryString("textbox").ToString()
End Sub
"System.NullReferenceException: Object reference not set to an instance of an object."
But when i click on the date i donot find anything entered into the textbox.I donot know whats going on here.
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'Put user code to initialize the page here
'THIS LINE GIVES ME AN ERROR
Hidden1.Value = Request.QueryString("textbox").ToString()
End Sub
"System.NullReferenceException: Object reference not set to an instance of an object."