Before I can continue with my problem I would like to say that I have gone through all the posts discussing on this issue but it seems I have a different probelm.
I am currently using licenced version of CuteEditor 6 for .NET
I downloaded the demo copy from the CuteSoft web site and changed the licence file and move the whole set to my working folder as mentioned below:
D:\MyDocuments\Visual Studio 2005\Projects\eMR\UI\WebClient\CuteEditor
When I see the directory structure, I see following files & direcotires:
23/04/2008 11:16 AM <DIR> .
23/04/2008 11:16 AM <DIR> ..
09/04/2007 10:54 AM 8,482 AdvancedTopics.htm
09/04/2007 07:54 PM 5,956 Ajax-Web.config
23/04/2008 09:29 AM <DIR> bin
18/12/2006 11:58 AM 20,479 CommonTasks.htm
25/04/2007 04:12 AM 5,948 Competitive_Upgrade.htm
23/04/2008 09:29 AM <DIR> cs
23/04/2008 09:29 AM <DIR> CuteSoft_Client
09/04/2007 09:50 AM 30,372 default.htm
12/03/2007 12:32 PM 5,529 Deployment.htm
28/02/2005 04:14 AM 24 empty.css
09/04/2007 06:22 AM 1,808 example.css
09/04/2007 05:09 AM 24,062 Feature-Comparison-Chart.htm
23/04/2008 09:29 AM <DIR> HowTo
23/04/2008 09:29 AM <DIR> sampleimage
23/04/2008 09:29 AM <DIR> Templates
23/04/2008 09:29 AM <DIR> Uploads
23/04/2008 09:29 AM <DIR> vb
Now, I already have a virtual directory configured for my project that is pointing to following folder:
D:\MyDocuments\Visual Studio 2005\Projects\eMR\UI\WebClient
Virtual Path name: eMR
Apart from this I created a new virtual folder that pointing to new folder too:
D:\MyDocuments\Visual Studio 2005\Projects\eMR\UI\WebClient\CuteEditor
Virtual Path name: CuteEditor2
I did this to test the functionality of the CuteEditor through the project (which uses web.config) and out side project (without web.config)
Now, I opened a word document and typed some sample text with different font and size. The requirement is that when I copy paste this to editor, it should be excately same as its in word.
Here is the sample text that is in word:
------Sample Start-------
DIAGNOSES:
1. ROAD TRAFFIC ACCIDENT, PEDESTRIAN
2. FRACTURE OF PELVIS, OPEN LOOK
3. DISLOCATION AT SACROILIAC JOINT
4. FRACTURE OF BOTH PUBIC RAMI
5. OPEN INJURY IN LEFT HAND
6. CONTUSION IN RIGHT THIGH AND KNEE
7. SEVER HYPOVOLEMIC SHOCK
PROCEDURES: STATUS POST LAPAROTOMY, ABDOMINAL AND RECTAL PACKING AND COLOSTOMY
HISTORY: This unknown patient, male, was involved in road traffic accident, brought to trauma room by EMS with sever hypovolemic shock state, took as urgent surgery to OR due to the above mentioed pathology, underwent for laparotomy and abdominal and rectal packing with colostomy.
------Sample End-------
------HTML Code Start-------
<span style="FONT-SIZE: 12pt">
<p><strong><span>DIAGNOSES: </span></strong></p>
<p> </p>
<p> </p>
<p><strong><span>1. ROAD TRAFFIC ACCIDENT, PEDESTRIAN</span></strong></p>
<p><strong><span>2. FRACTURE OF PELVIS, OPEN LOOK</span></strong></p>
<p><strong><span>3. DISLOCATION AT SACROILIAC JOINT</span></strong></p>
<p><strong><span>4. FRACTURE OF BOTH PUBIC RAMI</span></strong></p>
<p><strong><span>5. OPEN INJURY IN LEFT HAND</span></strong></p>
<p><strong><span>6. CONTUSION IN RIGHT THIGH AND KNEE</span></strong></p>
<p><strong><span>7. SEVER HYPOVOLEMIC SHOCK </span></strong></p>
<p> </p>
<p><strong><span>PROCEDURES: STATUS POST LAPAROTOMY, ABDOMINAL AND RECTAL PACKING AND COLOSTOMY </span></strong></p>
<p> </p>
<p><span> </span></p>
<p><strong><span>HISTORY:</span></strong><span> This unknown patient, male, was involved in road traffic accident, brought to trauma room by EMS with sever hypovolemic shock state, took as urgent surgery to OR due to the above mentioed pathology, underwent for laparotomy and abdominal and rectal packing with colostomy.</span></p>
<br />
<br />
</span>
------HTML Code End------
-----HTML Start-----
<p><strong><span style="font-size: 12pt; font-family: 'Arial','sans-serif'">DIAGNOSES: </span></strong></p>
<p><strong><span style="font-size: 12pt; font-family: 'Times New Roman','serif'">1. ROAD TRAFFIC ACCIDENT, PEDESTRIAN</span></strong></p>
<p><strong><span style="font-size: 12pt; font-family: 'Times New Roman','serif'">2. FRACTURE OF PELVIS, OPEN LOOK</span></strong></p>
<p><strong><span style="font-size: 12pt; font-family: 'Arial','sans-serif'">3. DISLOCATION AT SACROILIAC JOINT</span></strong></p>
<p><strong><span style="font-size: 12pt; font-family: 'Verdana','sans-serif'">4. FRACTURE OF BOTH PUBIC RAMI</span></strong></p>
<p><strong><span style="font-size: 12pt; font-family: 'Verdana','sans-serif'">5. OPEN INJURY IN LEFT HAND</span></strong></p>
<p><strong><span style="font-size: 14pt; font-family: 'Arial','sans-serif'">6. CONTUSION IN RIGHT THIGH AND KNEE</span></strong></p>
<p><strong><span style="font-size: 14pt; font-family: 'Arial','sans-serif'">7. SEVER HYPOVOLEMIC SHOCK </span></strong></p>
<p><strong><span style="font-size: 12pt; font-family: 'Arial','sans-serif'">PROCEDURES: STATUS POST LAPAROTOMY, ABDOMINAL AND RECTAL PACKING AND COLOSTOMY </span></strong></p>
<p><span style="font-size: 12pt; font-family: 'Arial','sans-serif'"> </span></p>
<p><strong><span style="font-size: 12pt; font-family: 'Arial','sans-serif'">HISTORY:</span></strong><span style="font-size: 12pt; font-family: 'Arial','sans-serif'"> This unknown patient, male, was involved in road traffic accident, brought to trauma room by EMS with sever hypovolemic shock state, took as urgent surgery to OR due to the above mentioed pathology, underwent for laparotomy and abdominal and rectal packing with colostomy.</span></p>
-----HTML End------
You will see the difference in <span> tags in both version.
Here is what I have in default.aspx
<
CE:Editor id="Editor1" EditorWysiwygModeCss="../example.css" runat="server" ></CE:Editor>
My Question:
1. How do I get excate output on my Editor as what I have in Word Document
2. Do I need to add something in web.config for this to happen
Amjad Khan