|
|
you can use ajax editor control comes with the ajaxcontroltoolkit.
FckEditor can be the another choice.
Search google get the download link and download the same.
hope you get what you want
|
|
|
|
|
You can use FCKEditor. But use version below 3.X, as it doesn't contain examples for ASP.
You can download it free. In the settings you just need to choose the connector for ASP.
There are some help files are also included in the source. So you can get configuration steps from the source it self.
Regards
|
|
|
|
|
|
Thanks for your reply...But i want one for ASP not ASP.Net
|
|
|
|
|
|
|
I have an ImageButton in my usercontrol that will save information to the database when clicked. This works, until I move my usercontrol inside a DIV tag that is handled with JQuery (to show as a dialog). I researched a bunch of information and tried to call the __postback function with the button's id, but whatever I do, the event-handler never gets called when the usercontrol resides in the JQuery's controlled DIV tag.
All the information I read up until now also seemed more like a hacking workaround than a genuine solution.
Did anyone ecounter this problem? What's the solution to this?
thanks.
[EDIT]-----------------------------------------------[/EDIT]
I found something like this:
function btn_save_Click() {
try {
$.ajax({
type: 'POST',
url: '~/TravelTicket.ascx/testMethod',
data: '{}',
contentType: 'application/json; charset=utf-8',
dataType: 'json',
success: function (result) {
alert(result);
}
});
}
catch (ex) {alert(ex);}
}
when I press the button the btn_save_Click function is called correctly, but the server side code is not fired. (my real function is an eventhandler and has parameters so I expect to have to fill in the data property) There is no exception thrown however when I add the property failed: alert("failed"); that does get called, how can I figure out the error ?I tried jumping in, but that didn't do any good.
Am I even looking in the right direction here?
V.
modified on Friday, June 17, 2011 7:28 AM
|
|
|
|
|
You are looking in the right direction. The problem is you are trying to call a method from a User control, which isn't supported. User controls don't go through the same processing as pages, they are meant to be used in a page. A common technique is to have one page, with no UI, to house the methods you need and make your calls to it.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Yup, just tried the same thing but changed it to the aspx page, it entered debug immediately.
thanks for the confirmation.
V.
|
|
|
|
|
What do you know: it works
V.
|
|
|
|
|
We are using Enterprise Library version 5 and maintaining the connectionstring in Web.Config.
I have used the below line in DAL and my application was working fine.
Database db = DatabaseFactory.CreateDatabase("USER-PC");
Now I have encrypted the connectionstring with Cryptography Application Blocks Symmetric Algorithm and the connection string will be like
<add name="USER-PC" connectionString="2D2F447DA70A2CF1E1A61F2475B3D7F67592A67ACF108FFE9E08CFCE3C6463B5C175B6E6A5" providerName="System.Data.SqlClient" />
After this change my application is not working because i don't know how to decrypt the connectionstring with the DatabaseFactory.CreateDatabase("USER-PC").
Please help me to get out of this issue...
|
|
|
|
|
check this link[^]
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
www.cacttus.com
|
|
|
|
|
Hi
It was really helpful and I have modified the code according to your link. Thanks.
Is it possible to use Cryptography Application Blocks symmetricCryptoProviders of securityCryptographyConfig section.
And also one stupid question, whether DAAB will work for distributed architecture because it refers from web.config file of the web application. If DAL is installed in the separate machine using WCF how it will refer the Web App's web.config file.
Thanks,
Ram
|
|
|
|
|
Does anybody know why ASP.NET (VB) will not delete a directory
using the following code:
Protected Sub removeDirByForceX(ByVal dirX As String, ByVal errorX As String)
' This deletes a directory, after copying a dummy file in it.
' Without at least 1 file in the directory it does NOT work!
' It is assumed that the calling program has ensured that dirX exists.
' The directory to be deleted is in the application folder.
' The routine is called from an ASP.NET application.
' Although the directory is deleted, all variables/sessions are lost
' and of course the screen freezes!
Dim dirX_FP As String = Server.MapPath(dirX)
FileCopy(aDummyFile, dirX_FP & "/000-Dummy-file.txt")
Try
Directory.Delete(dirX_FP, True)
Catch ex As Exception
errorX = "ERROR: " & ex.Message.ToString
Exit Sub
End Try
errorX = ""
End Sub
|
|
|
|
|
Hi There,
Please Help Regarding, How To Pass Parameter Value From Gridview Check-Box List Which Available In Modal Pop-Up, & Pass It Through Hash-Table To Crystal Report.
Important Note : Only Checked Rows Should Display.
Thank You For Consideration.
Neel.
|
|
|
|
|
And your actual problem is? Because you are now describing the whole process flow of your application. We can't really help with that
|
|
|
|
|
I want to parse/break json response sent by ajax.post into a class inside my business logic ? How do I do this with ASP.net 2.0 ?
|
|
|
|
|
with the help of these you can do
using System.Runtime.Serialization;
using System.Runtime.Serialization.Json;
Thanks
Atul Kumar
|
|
|
|
|
be cautious
System.Runtime.Serialization.Json;
requires .net framework 3.5 minimum
|
|
|
|
|
Thank you so much. I am using JSON.net for asp.net 2. Does using .net's own namespaces have any advantage in my scenario. Please advice.
|
|
|
|
|
Are there any controls or 3rd party tools allowing a user to build on-demand reports from asp.net during runtime? My client is looking to somehow bypass SQL Server Reporting, and instead allow them to use a wizard within the website that will help them build reports. The reports are not necessarily tabular...they could contain group by information, etc...
They would also like to save the reports and be able to launch them.
I tried telerik.com but there product doesn't have this feature.
I tend to think there isn't such a control out there that escapes the reporting designer that SSRS provides. The idea is to minimize the tight coupling of a report with the web application. If we decide to create reports #4, 5, and 6, (assume each report has their own parameters that they can accept), we wouldn't have to recompile the source code of the website.
Thanks
|
|
|
|
|
Have a look at Powerpivot[^]. This allows you to create reports and stuff in excel. It's works very well!
|
|
|
|
|
Can you please explain some that which type of report your client want.
Thanks
Atul Kumar
|
|
|
|
|
how do you deal with this? i'm getting validation errors when i try to add an email address as the recipient of an email using the mail message object
is there some kind of encoding i'm not aware of?
thnx
"mostly watching the human race is like watching dogs watch tv ... they see the pictures move but the meaning escapes them"
|
|
|
|