Click here to Skip to main content
16,016,623 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
C#
Im begginer in asp.net. 

In my previous project I used ckeditor asp.net control in  content page:

<asp:TextBox ID="CKEditor2" runat="server"  TextMode="multiline" name="Content">

It works well. By this way I could used ckeditor control in c#  and get set a value to this control:

CKEditor2.text="";

But this way doesnt has file browser for uploading images and etc.

In my new website.

I downloaded a file browser in asp.net:

http://www.mikesdotnetting.com/Article/212/A-CKEditor-File-Browser-For-ASP.NET-Web-Pages

This website uses a textarea for ckeditor like:

 <textarea id="CKEditor2" name="Content" ></textarea> 

My problem is that when I using :

<asp:TextBox ID="CKEditor2" runat="server"  TextMode="multiline" name="Content">

The file browser doesnt work and when I using:

 <textarea id="CKEditor2" name="Content" ></textarea> 

File browser works well but I cant access to CKEditor2 in c#.net .


What I have tried:

C#
My problem is that when I using :

<asp:TextBox ID="CKEditor2" runat="server"  TextMode="multiline" name="Content">

The file browser doesnt work and when I using:

 <textarea id="CKEditor2" name="Content" ></textarea> 

File browser works well but I cant access to CKEditor2 in c#.net .

Help me, please
Posted
Updated 10-Dec-16 20:13pm
v2
Comments
[no name] 10-Dec-16 17:29pm    
And your question/problem is.....?
Mehdi.ahm 10-Dec-16 19:43pm    
HiI can't access textarea in c#
1. Is there any solution for accessing
Or
2 How can I change textarea by asp.textbox in the project that introduced in my question
[no name] 10-Dec-16 21:31pm    
Well, why can't you? You access a textarea just like any other control.
Mehdi.ahm 11-Dec-16 1:26am    
textarea is a html control and I cant access it in c#.net
Afzaal Ahmad Zeeshan 11-Dec-16 6:20am    
Did you ask question under Mike's post? He does answer questions.

1 solution

Talk to the guy who created the control: he will know more than a random website will.
If you look at the url you provide, there is a comments are at the bottom which soul let you talk direct to him.

[edit]Autocorrect typo[/edit]
 
Share this answer
 
v2
Comments
Mehdi.ahm 11-Dec-16 2:39am    
Im student and practicing asp.net.
OriginalGriff 11-Dec-16 2:55am    
What difference does that make? If you buy a pair of shoes and the sole falls off when you get them home, do you take them back to the nearest shop, or the one you bought them from?
Mehdi.ahm 11-Dec-16 3:12am    
whats a problem?
dont continue , please

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900