Editor and saving data to a SQL DB I Need more info please.

Last post 10-14-2008, 11:32 AM by figuerres. 3 replies.
Sort Posts: Previous Next
  •  10-09-2008, 4:59 PM 44750

    Editor and saving data to a SQL DB I Need more info please.

     
     
    I am trying out the editor to see if it will work for a project.  I think I am 90% there and I just need some info to finish the code I need.
     
    I found and downloaded the Storage to SQL example but I did not find any kind of documentation with that sample and I have not yet found any good help in the help files on a few things about the sample:
     
    1) the sample saves the "linked Binary files" but not the html as far as I can tell. is that right?
    2) it saves the data on the "save" button on the client , can I have the same client event cuase the whole editor document be saved at one time ?
    3) if I want to add a MIME TYPE to each saved file does the interface / sql sample have a place to hook into for this?
    this is so that the response content type can be correct when the data is pulled from the db later.
    4) Where are the interfaces documented ? is there any documentation that helps explain them?
    5) from what I have seen so far you have chm files with only basic info, not much in the way of documentation... is this going to be improved on any time soon??
    for example:  add a description to the start of each class, what does it do? why would I user it. what interfaces it impliments and other notes.
     
     
     
  •  10-10-2008, 4:09 AM 44768 in reply to 44750

    Re: Editor and saving data to a SQL DB I Need more info please.

    This example shows you how to save Images files into database instead of HTML code.

    If you want to save the HTML code into your database, please check this example: http://cutesoft.net/example/database-example.aspx
     
    The source code of this example can be found in the download package.
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  10-10-2008, 11:52 AM 44787 in reply to 44768

    Re: Editor and saving data to a SQL DB I Need more info please.

    Yes I have that sample and I am trying to customise it to worj the the app I am building.
     
    One ofthe things I am trying to work out is how I can relate the images to a given html document.
    I see this in the sameple code for the editor page:

    Editor1.SetSecurityGalleryPath("/");

    and in the SQL db I see items that seem to be foldernames / path.
     
    can I use a GUID in both places to make the link?
     
    say I have two different HTML docuements that users are editing that want to use the name "Banner.jpg" I need to be able to store each as a different binary in the db and get the right one for the right user document.
    so can I make the "Parent folder" of each document use a string based on a GUID ??
     
    does this make sense so far ??
     
     
    I am looking at the sameples and the docs biut they have very little in the way of real information.
     
    I think I have say 75% of it figured out. just trying to understand the storegae interface and how it relates to the editor methods and propertys.
     
     
     
  •  10-14-2008, 11:32 AM 44879 in reply to 44787

    Re: Editor and saving data to a SQL DB I Need more info please.

    Bump.
     
    any info?
View as RSS news feed in XML