Groups | Blog | Home
all groups > asp.net building controls > december 2003 >

asp.net building controls : Usercontrol Method


Joe Molloy
12/16/2003 7:10:25 PM
Hi,

I have a usercontrol containing mutually exclusive radiobuttons and I am
trying to use a public function to set a property of the usercontrol based
on which one is checked. However when I refer to the radiobuttons in my
public function (method) the runtime tells me that no object reference has
been set for the radiobutton. How do I grab a reference to my radiobutton
inside my method?

Joe

groups NO[at]SPAM popularspace.com
12/16/2003 7:27:12 PM
Joe, can you post a code sample for us to take a look at.

Thanks,
Frank

[quoted text, click to view]
Joe Molloy
12/17/2003 6:32:50 AM
It's ok - figured out it was the way I was declaring my properties - Thanks
Frank

Joe

[quoted text, click to view]

AddThis Social Bookmark Button