RTE control unexpecting clears after switching to another tab Web Forms - webforms

I am using the Syncfusion RichTextEditor on my Web Forms project and have trouble with unexpected clearing the data.
I initialize RTE control and other Web Forms controls in Page_Load method using the condition if (IsPostBack = true).
After I switch to another tab and IsPostBack = false the default Web Forms controls are initialized and have the values but Syncfusion RTE is empty.
The question is why the RTE doesn't save the data as another Web Froms Controls and what would be the solution?
Initializing:
Switching between pages (RTE is in the TableComments):

We have validated your reported problem in EJ RTE control in Web Forms project. But we were unable to reproduce your reported problem in our end, the value of RTE maintained properly when switching the Tab. We have recorded video for your convenience, which can be downloaded from the below link.
https://www.syncfusion.com/downloads/support/directtrac/305022/ze/RTE_Value-1627060724
We have also attached the sample for your convenience, please refer to the below link for sample application.
https://www.syncfusion.com/downloads/support/directtrac/305022/ze/RTE_Tab-226725218
Please check the above sample, if the issue still persists in your application. Please share some additional details it will be help us to provide you the prompt solution.
Share us the RTE rendering code block.
If you face any script error in console window of the browser, then please share us those error screenshots.
Share us the issue replicating sample or else replicate your reported issue in the shared sample.
Share us the screen recorded video with issue replicating steps.
We can also raise query in Syncfusion forums.
https://www.syncfusion.com/forums
Regards,
Muthukrishnan K

Related

Outlook VSTO ribbon add-in tab not showing on load

I’ve created an add-in that consist of a ribbon and three tabs.
Background to build:
The ribbon is built using designer and not xml. The primary use of these is to allow quick opening of various email templates.
Tab0 adds a couple buttons to the built in TabMail
Tab1 is a new custom tab with various buttons that do various things.
Tab2 is a reduced version of Tab1 for use by users of our subsidiary company but pointing to alternatively branded templates.
In the coding, Tab1 and Tab2’s visibility is set based on user AD group membership on ribbon load event. This has been tested and works.
Tab0 always is merged with the built in Home tab shows as expected.
Developers and template admins like me should see all tabs. This also works using same methods.
Current issue:
Recently and I think after a certain office 365 update (but not 100% which), Tab1 no longer shows for anyone that should see it on load. However the tab has loaded somewhere. The reason I know this is because to fix this bug all I have to do is minimise the ribbon the re-maximise. Both additional tabs are instantly visible.
Please note, I do not have to disable and the re-enable the actual add-in.
I can also confirm that the Ribbon Type is set correctly (Microsoft.Outlook.Explorer) so please, no reply along those lines either.
I have trawled the web and cannot seem to find an explanation or fix for this behaviour. I'm hoping someone has seen this before and might point me in the right direction.
To replicate, I've seen it happen by just creating a new simple ribbon project and creating a new custom tab. Then create a second tab by copying the first, giving it a diff ID.
e.g.
Ribbon on App Launch/Load - Tab01 Missing
Ribbon on minimise - Tab01 Appears
Ribbon on maximised- Tab01 still visible
Still have no idea why this happens but i have found a work around for those that have experiences the same issue.
The issue seems to affect the first custom tab only. So if you add a new blank custom tab and set its visibility to false, this inherits this bug allowing the other to function properly.
Its a bit of a dirty fix but work well.
Would still be interested in an actual fix if anyone knows one though.
This happens because you had added control to your ribbon perhaps a property to the Control which you should not.
An example is when you add a Ribbon Gallery control to your Ribbon and change its "PositionType" property from Default to another value.
This results in the Ribbon not showing.
Or perhaps you should check the last code you added to your project

The control Type is hidden - Coded Ui

While trying to automate an web application using Coded UI, I faced the following issue :-
"Failed to perform Action on hidden control exception: Cannot perform 'Set property of text with value "Muj*****" on the hidden control'.
Version used:-
Microsoft Visual Studio Ultimate 2012//
Version:11.0.50727.1
Microsoft .NET Framework
Version:4.5.50709
IE Version used:11.0
This is a internet banking application. Once I launch the browser with the application URL, I will be able to view the page in two languages. One in Arabic (default) and there is a Hyperlink to change the preferred language to English. So once I click on the hyper link and try to pass the Username and password to the respective fields, I get the above mentioned error. But without changing the language to English, the credentials are passed successfully. Again once I enter into the next page, I face the above mentioned issue to control the objects.
I assume that once we navigate from one page to the other, we face this issue.
Got to know this could be due to One Security update in IE (KB2870699). But this security update is not installed in my PC. Instead (KB3003057) is installed. I am not sure if this could be a reason for this issue. Just mentioning this here.
Kindly provide me a solution on how can I proceed.

Why can't I add a webresource to form in Dynamics CRM?

I am working with an on-premise instance of Dynamics CRM 2015. I have added web resources by creating them through the "Customize the System" window as well as by uploading them.
When I go to a form or dashboard to add these, it never works. I click Web Resource, find the web resource, fill out the form and submit and it just goes back to the Form edit screen and nothing happens!
No error is being shown or anything and it is driving me nuts! What am I doing wrong?
What browser do you use? Try to use IE because FF and Chrome have issues exactly with customization of forms.
I agree on using Internet Explorer. Or use debug tools marking the update always from server box, as it is a cache problem.

XGantt ActiveX issue on Dynamics AX (2012)

I’m facing some issues with the Netronic XGantt ActiveX. My problem is that my ActiveX in the Form doesn’t seem to find the table I specified in the config panel.
I can't post a screenshot here since I'm new (I don't have 10 points) so this is a link to it.Configuration panel screenshot
I tried with a CSV file storing the nodes information, it works well.
Is the name SAG_GANTT_SOURCE_MODEL used properly? Knowing that I already created a table with this name and those fields in the screen capture.
Is there any further configuration elements I need to consider?
I can do as I wish following the classes some Dynamics AX projects (Gantt) uses but it seems to me that it’s too much work for implementing a simple component, isn’t it?
Since I can’t find any documentation/article/tutorial to use the XGantt ActiveX properly (except this one which I already saw http://community.dynamics.com/product/ax/axtechnical/b/axfortechies/archive/2010/05/28/activex-gantt-chart-control-in-dynamics-ax.aspx)
I’m wondering if you have any document, a link or a contact to help me with my issue.
Thanks for your attention.
Have you tried Netronic. I think they can generate a license file which you can import and this would enable the disgner of the control. Also they probably still have some pdf documents on thier website.

IE8 strange crash: cache?

I've built a JAVA survey web application with 70 questions. All the questions have some html radio buttons to choose the answer. Those questions and answers are dynamically generated to adapt themselves to the user choices path.
After the user click on a radio-button my web application re-generates some HTML dynamically. It seems incredible to me, but when the user click for the 23rd time/item the browser causes IE8 to crash a tab and do a recovery.
I reduced the amount of generated html and this made the user reach a higher item: 40 (and of course a higher number of time my app can generate HTML code without crashing).
This error is absent on other browsers.
The best guess I made is that, after generating a certain amount of HTML, IE8 reach some sort of cache-size-limit and is unable to handle the page.
On my computer, where I have IE8 latest release and IE-web-development tools I get no errors.
Using Visual studio 2005 we found this (Sorry I translated It from my mother tongue) :
mshtml.dll
UnHandled Excpetion 0x3fdf1b8a on iexplore.exe: 0xC0000005:
Access violation reading on the path 0x00000000.
IE8 version is 8.0.6001.18702
Ho can I debug It?
Can I use JavaScript to reset the cache?
If yes, could you provide me a snippet of code to do this?
FOUND!
It's due to the SmartScreen filter. My code manipulate the DOM adding text by the innerHTML property. Under certain situations It fires the SmartScreen filter for phishing and malware protection.
This says that a lot of users have the same issue.
I will document any progress I have in the next week. I plan to avoid using innerHTML under IE8 going by the DOM appendChild properties.

Resources