User Profile & Activity

Bernard Xiang Member
Page
of 52
Hi Stephe Faust,

I tried to deploy your project in the same environtment like yours (Windows Server 2003, IIS 6, .NET 4.0)  but unfortunately it doesn't show any error that you mentioned before (even when I look click on an event inside WebScheduler). You can delete this tag from web.config if you want to deploy so it won't look this assembly in you GAC:

<add assembly="ISNet.ActiveReports.Exporting, Version=5.0.7200.1, Culture=neutral, PublicKeyToken=B1F2A8511635667A"/>
<add assembly="ISNet, Version=3.0.5000.1, Culture=neutral, PublicKeyToken=B1F2A8511635667A"/>
<add assembly="ISNet.WebUI, Version=3.0.5000.1, Culture=neutral, PublicKeyToken=B1F2A8511635667A"/>
<add assembly="ISNet.WebUI.ISDataSource, Version=1.0.1500.1, Culture=neutral, PublicKeyToken=C4184EF0D326354B"/>
<add assembly="ISNet.WebUI.WebCombo.Editor, Version=6.0.7200.100, Culture=neutral, PublicKeyToken=C4184EF0D326354B"/>
<add assembly="ISNet.WebUI.WebControls.WebInputDesigner, Version=4.0.7200.130, Culture=neutral, PublicKeyToken=B1F2A8511635667A"/>
<add assembly="ISNet.WebUI.WebControls.WebInputWizard, Version=4.0.7200.130, Culture=neutral, PublicKeyToken=B1F2A8511635667A"/>
<add assembly="ISNet.WebUI.Design.ISDataSourceDesigner, Version=1.0.1500.1, Culture=neutral, PublicKeyToken=C4184EF0D326354B"/>
<add assembly="ISNet.WebUI.WebGrid.Editor, Version=8.0.7200.101, Culture=neutral, PublicKeyToken=86C0AC2B39CEA36A"/>

Is this error only happen when you click on an event inside WebScheduler? Look forward to hear any feedback from you so I can help you further.


Regards,
Bernard

Hi Stephe Faust,

I've tried to deploy your project here. But unfortuantely, I don't see any error in our local end. I wonder if there are steps to replicate this issue in our local end after we deployed the project? And also, please tell me which web browser that you used to replicate the issue on your local end.

Unfortunately, we couldn't see your issue in your screenshot. Your screenshot was truncated. Could you re-upload the image of error message? I also attach screenshot of our network. It seems there's no failure in your project to load all resources. Look forward to hear any feedback from you so I can help you further.


Regards,
Bernard

Posted: September 27, 2012 9:52 PM

HI John,

Sorry for not explain it more detail for you. We must delete the server-side method to remove the toolBar first. I can use that code in your sample and it works. Here's the modified sample. Could you check my sample and tell me if there's any misconfiguration on that sample?


Regards,
Bernard

Posted: September 27, 2012 3:26 AM

Hi John,

We will investigate this matter further. I'll contact you if I found workaround or fix regarding this issue.


Regards,
Bernard

Posted: September 26, 2012 10:08 PM
Hi John,

I can replicate your issue in our local end using your code from another topic. This problem might be happen because WebSpellChecker want to add ToolBar menu on Standard ToolBar. As you can see above v3da31.ClientToolBar[1] is Standard ToolBar that we have removed before. Javascript couldn't find the toolbar so it will throw error message like that. We couldn't do this in server side. And I suggest you to use Client-side event to do this. Here's the code:
function WebTextEditor1_OnInitialize()
{
    var WebTextEditor1 = ISGetObject("WebTextEditor");
    document.getElementById("WebTextEditor1_tbStandard_f").style.visibility = "hidden";
    return true;
}

You can hide the toolbar from client side by using that code. Is this possible to use this code in your scenario? Look forward to hear any feedback from you so I can help you further.


Regards,
Bernard

Posted: September 25, 2012 10:09 PM
Hi John,

In Minimal ToolBarMode, there are only 2 ToolCommands inside Standard ToolBar (cmdInsertFromWeb and cmdMediaGallery). However we couldn't remove the ToolCommands from ToolBar because ToolBar need at least 1 item. So for doing this, we can remove all the Standard ToolBar from WebTextEditorToolBar. Here's the code:
Dim tb As WebTextEditorToolBar
tb = e.GetToolBarByCategory(WebTextEditorToolBarCategory.Standard)
e.ToolBar.Remove(tb)

You can try that code and tell me if there's anything wrong in my code. Look forward to hear any feedback from you so I can help you further.


Regards,
Bernard

Posted: September 24, 2012 11:31 PM

Hi John,

You can remove the command from ToolBar in InitializeToolBar event. Here's the code:

protected void WebTextEditor1_InitializeToolBar1(object sender, WebTextEditorToolBarArgs e)
{
    WebTextEditorToolBar tb = e.GetToolBarByCategory(WebTextEditorToolBarCategory.Standard);
    WebTextEditorToolCommand cmdInsertFromWeb = tb.ToolCommands.GetNamedItem("cmdInsertFromWeb");
    WebTextEditorToolCommand cmdMediaGallery = tb.ToolCommands.GetNamedItem("cmdMediaGallery");
    tb.ToolCommands.RemoveAt(2);
    tb.ToolCommands.Remove(cmdInsertFromWeb);
    tb.ToolCommands.Remove(cmdMediaGallery);
}

Hope this helps.


Regards,
Bernard

Posted: September 24, 2012 8:59 PM
Hi James,

This problem happens if WebGrid want to take data in InitializePostBack event but WebGrid cannot find the database server. Also this problem occurs in Unbound mode when you use FlyPostBack response such as sorting, filter, delete and etc. This problem happen because Unbound mode is not designed for doing that event. Hope this helps.

Regards,
Bernard
Posted: September 23, 2012 11:57 AM

Hi John,

OK then. I'm sorry for my lack. The issue that appear in your scenario doesn't appear in my sample. Maybe if you need this scenario, I'll propose this matter as feature request. If you have any further question, please don't hesitate to ask me.


Regards,
Bernard

Hi Tom,

I tried to replicate your issue in our local end by using steps that you mentioned above. After I change some rows (some rows has '&' character), and click on Accept All Changes. These are the steps that I used to replicate this issue:
1. Bind WebGrid to datasource that have data using '&' character.
2. Allow BatchUpdate and Allow Editing.
3. Change some data and click Accept all changes.

But still, the error doesn't appear. Is there anything I missed in my steps? Or could you give me a simple sample that can reproduce this issue in our local end?

Regards,
Bernard
All times are GMT -5. The time now is 10:33 PM.
Previous Next