Last post Oct 20, 2008 02:45 PM by DkUltra
Oct 20, 2008 01:19 PM|asp_netvb|LINK
Can anyone tell me why i'm getting the message "Object reference not set to an instance of an object." on the following line of code below.
I can post the rest of my code on this page if it would help.
Oct 20, 2008 02:18 PM|DkUltra|LINK
In what routine is the code being called, guessing the error is happening b/c the textbox isn't initialized yet.
If not me.txtbox.text is nothing then
do your code
put in an initial value
On a webcontrol everything is set on pageload
Hope this helps
Oct 20, 2008 02:29 PM|asp_netvb|LINK
When i raise the Button_Click Event it should run two functions that are .ascx files from a TextBox on the index.aspx page and then return the data to my GridView.
Oct 20, 2008 02:45 PM|DkUltra|LINK
I'm wondering if the data is being passed correctly between the page and the ascx files
a person needs to create properties in the ascx files to pass data between the two.
Also, custom controls are less touchy than web user controls so, that may be an option.