converting user control.vb to web user control

dualshock03

Well-known member
Joined
Jan 28, 2007
Messages
105
Programming Experience
1-3
I need help converting my user control.vb to web user control..

my winform control is an xpander.dll i want it to be used in my asp.net webpage.. Any ways to do this?? im just adding it to my reference but just doesn't work,, hehehe

any replies are appreciated.
 
If you developed a DLL it should work. The class needs to be set up correctly. Once you reference it you need to instantiate it.

Example: Alert.Show(sValue) -- Alert is my class and Show is a public method in my class.

Did you try -> Dim Something as new NameoftheClass?

Then if you type Something. (after the period the intellisense should kick in displaying the public methods in the class).

Hope this helps
 
Hi i need your reply again.. i already try to do so but nothing happens at runtime... another problem here is after i reference the "xpander.dll" i add the controls to the toolbox.. but the designer control dosn't appear at all.

Only a directory text is appearing at the toolbox e.g. = "Text: file:///C:\Documents and Settings\NET Programmer\My Documents\LNU_ASP_NET\Bin\XPanderControl.dll":( i need a guide here for this..

I cant use the control either... i already change the dll extension to ascx but still nothing happens...
 
attachment .dll here it is..

HI crvasquez here's the attachment dll that ur asking a while ago.. i ddnt find its code in class.. but this works in vb.net application...
 

Attachments

  • XPanderControl.zip
    18.2 KB · Views: 28
Back
Top