Hi Peter,
I am trying this out.
I added an html control to the ASCX
<SELECT id="cboChannel2" runat="server" multiple>
<OPTION selected></OPTION>
</SELECT>
So this is added to the code behind:
Protected WithEvents cboChannel2 As
System.Web.UI.HtmlControls.HtmlSelect
But when I do a test and add a property
Public strTagName As String = cboChannel2.TagName
This compiles with the following error
Exception Details: System.NullReferenceException: Object reference
not set to an instance of an object.
Do you know where I am going wrong?
Thanks
Rob
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/