We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

creating a link to a document that is created on the fly from a database

Thread ID:

Created:

Updated:

Platform:

Replies:

28028 Apr 21,2005 04:53 PM May 2,2005 10:39 AM Windows Forms 11
loading
Tags: HTMLUIControl
Anne Thorne
Asked On April 21, 2005 04:53 PM

Hi, We have created an htmluicontrol inherited custom control that successfully creates an html document from a database. We would like this html document to include links to other documents that are created on the fly using the contents of a database. How do you suggest we go about doing this? I am including our code so far. Thanks! Anne ArbonneNews_273.zip

Davis Jebaraj [Syncfusion]
Replied On April 22, 2005 11:44 PM

Hi Anne, The latest version supports a LinkClicked event. This event can be handled and the LinkForwardEventArgs can be used to specify our own action (In this case loading the data from a database). I will look into this and modify your custom control to do this and upload it at the earliest. Thank you for your patience. Regards, Davis

Anne Thorne
Replied On April 25, 2005 02:40 PM

Thank you very much, Davis. I look forward to that. Anne >Hi Anne, > >The latest version supports a LinkClicked event. This event can be handled and the LinkForwardEventArgs can be used to specify our own action (In this case loading the data from a database). I will look into this and modify your custom control to do this and upload it at the earliest. Thank you for your patience. > >Regards, > >Davis

Davis Jebaraj [Syncfusion]
Replied On April 25, 2005 11:50 PM

Hi Anne, Please refer to the sample linked to below: F28028HTMLUIDB_8040.zip I modified your sample to load the data from a Access Database. You will need to change the path to the access database on your system before running the sample. Regards, Davis

Anne Thorne
Replied On April 26, 2005 12:04 PM

Thanks Davis, I am getting the errors: ''Arbonne.Components.Win.News.arbNews'' does not contain a definition for ''LinkClicked'' The type ''Syncfusion.Windows.Forms.HTMLUI.HTMLUIControl'' has no event named ''LinkClicked''. Please advise. Thanks! Anne >Hi Anne, > >Please refer to the sample linked to below: > >F28028HTMLUIDB_8040.zip > >I modified your sample to load the data from a Access Database. You will need to change the path to the access database on your system before running the sample. > >Regards, > >Davis > >

Davis Jebaraj [Syncfusion]
Replied On April 27, 2005 09:59 AM

Hi Anne, Sorry about that. I have send download instructions for version 3.2.1.0 through the Direct-Trac system. This version will fix have the HTMLUIControl with the LinkClicked event. Regards, Davis

Anne Thorne
Replied On April 27, 2005 10:19 AM

Thanks, Davis. Could you let me know when that is done. I just looked and could not yet see that version in Direct-Trac... Thank you again, Anne >Hi Anne, > >Sorry about that. I have send download instructions for version 3.2.1.0 through the Direct-Trac system. This version will fix have the HTMLUIControl with the LinkClicked event. > >Regards, > >Davis

Davis Jebaraj [Syncfusion]
Replied On April 27, 2005 03:10 PM

Hi Anne, I created a incident for your and pasted the link and the information needed to unlock it in that incident. Please check your support incidents in Direct-Trac. Thanks, Davis

Anne Thorne
Replied On April 28, 2005 12:31 PM

Thanks Davis - I got that example you sent working. Is there any way to have the link open in a new form instead of replacing the current htmlui document. In html this is done with a rel='nofollow' href="filename.html" target="_blank" Please let me know at your earliest convenience and thank you very much. Anne >Hi Anne, > >I created a incident for your and pasted the link and the information needed to unlock it in that incident. > >Please check your support incidents in Direct-Trac. > >Thanks, > >Davis

Davis Jebaraj [Syncfusion]
Replied On April 29, 2005 10:10 AM

Hi Anne, Since HTMLUI is a control and not a standalone form like window, it does not have the capability to display a new window on its own. However, you can handle the LinkClicked event and display the window in a new form. Please see the sample linked to below: http://www.syncfusion.com/support/user/uploads/18253htmluilinkclickedevent.zip The LinkClicked event does not send the A tag''s attributes at present. I will submit a feature request for this so that the target attribute can be checked for doing this. Thanks, Davis

Anne Thorne
Replied On April 29, 2005 12:20 PM

Thank you so much Davis! I am very pleased with your support on this issue. Thanks to your help we now have now built this component and have utilized your strategy for openning links in a new window (form). Anne >Hi Anne, > >Since HTMLUI is a control and not a standalone form like window, it does not have the capability to display a new window on its own. > >However, you can handle the LinkClicked event and display the window in a new form. Please see the sample linked to below: > >http://www.syncfusion.com/support/user/uploads/18253htmluilinkclickedevent.zip > >The LinkClicked event does not send the A tag''s attributes at present. I will submit a feature request for this so that the target attribute can be checked for doing this. > >Thanks, > >Davis >

Davis Jebaraj [Syncfusion]
Replied On May 2, 2005 10:39 AM

Hi Anne, Thanks for the feedback and cooperation. They help make HTMLUI a better product. Regards, Davis

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;