Last post Oct 03, 2008 08:29 AM by TATWORTH
Oct 02, 2008 04:55 AM|eliav|LINK
hey... i m havin abig problem. i need to build a dll web control. it shul'd b a link control, that i can add the "url" and the "text" dynamicly...
i mean that on the property window of the link i can write the "url" and the "text" of the control....and in the html page i need to get this: <a href="url">"MyText"</a>
i alrady created a class libreary that inherits from compositeControl(bcoz a friend told me ,i didn't understood why) and i builded a property for the "url" and the "Text" but i dont realy know how to connect it to the webControl ("link")
here is my code:
_url = value
_myText = value
Oct 03, 2008 08:29 AM|TATWORTH|LINK
If your title was clearer, you may may well have already gotten an answer! First of all tidy up your code, reduce the tab spacing to 2 characters and remove the extraneous blank lines.
Next click on the Edit Profile at the top right hand corner, click on site options, change content editor to enhanced and click save. You now have an extra line of toolbar which will allow to paste in code without its format being molested. Also you will
be able set the font family to Courier new on your code sample. Next rephrase your query clearly.