![]() |
|
|||||||
| Windows Forms Discussion related to Winforms application development |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
Would using WebBrowser control with AllowNavigation property set to False be something?
__________________
See this thread about how to use forum markup codes for code blocks etc (present the problem/post properly )Some useful links: Learning videoes, WMI Code Creator, MSDN, The Code Project, WindowsClient.net, ASP.net, W3 Schools, Regular-Expressions.info, GDI+ FAQ DR. WEIR: Download it to a non-networked, firewalled computer. TECHNICIAN: Yes, ma'am. |
|
||||
|
It looks that way. I was hoping to avoid some of the overhead the control uses. But in the end, i found i could DataBind the "DocumentText" property and i disable all the "browsing" features which seems to work well enough so far. it just is a rather in-depth component for such a simplistic use. *shrug*
Thanks |
|
||||
|
Well, that didn't seem to work either.
Basically, my Database has the "Body" of the email in HTML format. I want the WebBrowser (or comparable component) to have it's source input bound to the Body Element of my dataTable. I tried: Code:
Me.BodyBrowser.DataBindings.Add(New System.Windows.Forms.Binding("DocumentText", Me.bind_MailBox, "Body", True))
(I really don't want to have to listen to each time the user changes records and manually set the Browser.) <edit> I did just that though. When My Primary Binding Source Changes Position, I have to profligate through all the other binding sources and such so everything is on the same page. Instead of using the DataBindings as above, I put in the line: Code:
BodyBrowser.DocumentText = bind_MailBox(bind_MailBox.Position)("Body")
thanks Last edited by JaedenRuiner; 10-08-2008 at 1:25 PM. |
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|