hi all,
can anyone tell me how can use obout editer in asp.net 3.5 and which field of MsSql 2005 database we can use for this data bcz this editer can contain text and image together.
kindly dont refer me this link
http://www.obout.com/editor_new/sample_counters.aspx
bcz here is .exe for download but i need .dll for import in website.
Thanks.
Loading

Blocked AccountRank #403 · 6.2K reputationPosted Jul 5, 2011, 9:17 PM EDT
Download the oboutSuite.exe and run. It will install obout Suite in your machine, from where you can run samples or import dll in your web application. dll are inside the bin folder. You can use text field in database for storing the content of obout Editor, For image you have to give some physical location to store. Best part is that this editor will contain the SRC of your image.
So the idea is that Store images in any location and content in the database.
I think this will help you.
waqas memon141 reputationPosted Jul 7, 2011, 3:55 AM EDT
and i want to ask u that how can we show just limited toolbar button like image bold etc kindly reply me.
Blocked AccountRank #403 · 6.2K reputationPosted Jul 7, 2011, 4:28 AM EDT
you can customize buttons like that
<obout:Editor ID="Editor" Submit="false" runat="server" InsideOboutWindow="false" InitialCleanUp="true" Show="true" ShowQuickFormat="false" FixedToolBar="false">
<TopToolbar Appearance="Custom">
<AddButtons>
<obout:FontName ID="FontName1" runat="server" />
<obout:FontSize ID="FontSize1" runat="server" />
<obout:HorizontalSeparator />
<obout:BackColorGroup ID="BackColorGroup1" runat="server" />
<obout:ForeColor ID="ForeColor1" runat="server" />
<obout:Bold ID="Bold1" runat="server" />
<obout:Italic ID="Italic1" runat="server" />
<obout:Underline ID="Underline1" runat="server" />
<obout:HorizontalSeparator />
<obout:HorizontalSeparator />
<obout:JustifyLeft ID="JustifyLeft1" runat="server" />
<obout:JustifyCenter ID="JustifyCenter1" runat="server" />
<obout:JustifyRight ID="JustifyRight1" runat="server" />
<obout:JustifyFull ID="JustifyFull1" runat="server" />
<obout:HorizontalSeparator />
<obout:OrderedList ID="OrderedList1" runat="server" />
<obout:BulletedList ID="BulletedList1" runat="server" />
<obout:DecreaseIndent ID="DecreaseIndent1" runat="server" />
<obout:IncreaseIndent ID="IncreaseIndent1" runat="server" />
<obout:InsertIcon ID="InsertIcon1" runat="server" />
<obout:HorizontalSeparator />
<obout:InsertTable ID="InsertTable1" runat="server" />
<obout:InsertDiv ID="InsertDiv1" runat="server" />
<obout:InsertLink ID="InsertLink1" runat="server" />
<obout:PreviewMode ID="PreviewMode1" runat="server" />
AddButtons>
TopToolbar>
obout:Editor>
waqas memon141 reputationPosted Jul 7, 2011, 9:30 AM EDT
hope u will fine i insert more one line
but its not appearing in browser it just appearing on design mode side any sugesstion?
waqas memon141 reputationPosted Jul 7, 2011, 2:54 PM EDT
Appearing problem have been resolved and i want to override "ok" button click event bcz at this time i want to save image at my website folder from client location.
and i am also getting problem when i click browse button so its appear error
Server Error in '/CodesandJobs' Application.
Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.Exception Details: System.Web.HttpException: Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that
Source Error:
Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\codesandjobs\c6a2b5a5\bfa913c0\App_Web_btrc6q4i.0.cs Line: 0
Stack Trace:
[HttpException (0x80004005): Unable to validate data.] System.Web.Configuration.MachineKeySection.GetDecodedData(Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Int32& dataLength) +2657984 System.Web.UI.ObjectStateFormatter.Deserialize(String inputString) +203 [ViewStateException: Invalid viewstate. Client IP: 127.0.0.1 Port: User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022) ViewState: /wEPDwUBMGRk Referer: http://localhost:2361/CodesandJobs/Foruser/testobout.aspx Path: /CodesandJobs/Foruser/testobout.aspx] [HttpException (0x80004005): Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.] System.Web.UI.ViewStateException.ThrowError(Exception inner, String persistedState, String errorPageMessage, Boolean macValidationError) +267 System.Web.UI.ObjectStateFormatter.Deserialize(String inputString) +282 System.Web.UI.ObjectStateFormatter.System.Web.UI.IStateFormatter.Deserialize(String serializedState) +4 System.Web.UI.Util.DeserializeWithAssert(IStateFormatter formatter, String serializedState) +37 System.Web.UI.HiddenFieldPageStatePersister.Load() +198 System.Web.UI.Page.LoadPageStateFromPersistenceMedium() +83 System.Web.UI.Page.LoadAllState() +35 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +7350 System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +213 System.Web.UI.Page.ProcessRequest() +86 System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +18 System.Web.UI.Page.ProcessRequest(HttpContext context) +49 ASP.foruser_testobout_aspx.ProcessRequest(HttpContext context) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\codesandjobs\c6a2b5a5\bfa913c0\App_Web_btrc6q4i.0.cs:0 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +358 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
i searched out and put this line in web.config
but error remaining
Thanks in advance
Blocked AccountRank #403 · 6.2K reputationPosted Jul 7, 2011, 7:44 PM EDT
This is not for saving image in particular location in your server, Images inserted through this only contains the full path and don't store in server. For storing image in server location use this
<obout:Editor ID="Editor" Submit="false" runat="server" InsideOboutWindow="false" InitialCleanUp="true" Show="true" ShowQuickFormat="false" FixedToolBar="false">
<TopToolbar Appearance="Custom">
<AddButtons>
AddButtons>
TopToolbar>
obout:Editor>
and set the directory path in page load like that.
ImmediateImageInsert1.UploadFolder = ("~/Images/");
waqas memon141 reputationPosted Jul 7, 2011, 11:40 PM EDT
i implement ur suggestion but when i upload two time same name pic so it replace first one with second for example if i upload two Error.jpg pic i was try to implement any custom function on databound who check exsisting and change pic name but this line in aspx not working
and appearing error
...
and otherwise when i simple try to post data in database through button click event so i m facing error.
Server Error in '/CodesandJobs' Application.
Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.Exception Details: System.Web.HttpException: Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that
Source Error:
Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\codesandjobs\c6a2b5a5\bfa913c0\App_Web_illmqtcy.2.cs Line: 0
Stack Trace:
[HttpException (0x80004005): Unable to validate data.] System.Web.Configuration.MachineKeySection.GetDecodedData(Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Int32& dataLength) +2657984 System.Web.UI.ObjectStateFormatter.Deserialize(String inputString) +203 [ViewStateException: Invalid viewstate. Client IP: 127.0.0.1 Port: User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022) ViewState: /wEPDwUBMGRk Referer: http://localhost:2361/CodesandJobs/Foruser/testobout.aspx Path: /CodesandJobs/Foruser/testobout.aspx] [HttpException (0x80004005): Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.] System.Web.UI.ViewStateException.ThrowError(Exception inner, String persistedState, String errorPageMessage, Boolean macValidationError) +267 System.Web.UI.ObjectStateFormatter.Deserialize(String inputString) +282 System.Web.UI.ObjectStateFormatter.System.Web.UI.IStateFormatter.Deserialize(String serializedState) +4 System.Web.UI.Util.DeserializeWithAssert(IStateFormatter formatter, String serializedState) +37 System.Web.UI.HiddenFieldPageStatePersister.Load() +198 System.Web.UI.Page.LoadPageStateFromPersistenceMedium() +83 System.Web.UI.Page.LoadAllState() +35 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +7350 System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +213 System.Web.UI.Page.ProcessRequest() +86 System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +18 System.Web.UI.Page.ProcessRequest(HttpContext context) +49 ASP.foruser_testobout_aspx.ProcessRequest(HttpContext context) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\codesandjobs\c6a2b5a5\bfa913c0\App_Web_illmqtcy.2.cs:0 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +358 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
waqas memon141 reputationPosted Jul 9, 2011, 12:31 AM EDT
Blocked AccountRank #403 · 6.2K reputationPosted Jul 10, 2011, 8:53 PM EDT
can you upload your code here. it would be fine to solve your problem.
Thanks
waqas memon141 reputationPosted Jul 15, 2011, 6:48 AM EDT
so my question is how can we handle this problem.
Mahesh ChandRank #1 · 393.3K reputationPosted Jul 15, 2011, 10:26 AM EDT
waqas memon141 reputationPosted Jul 15, 2011, 9:33 PM EDT