I have a strange scenario :
I am using asp.net mvc and I have a form which has a combination of HTML input fields and Telerik RadEditor.
When validation fails on my form I have history.back to get the user back to the form. If RadEditor has some text and if validation fails then I am losing all the data in the fields that are right below the RadEditor control. Any idea what's going on?
IS the problem reproducible without RadEditor on the page?
Have you tried to set the ContentAreaMode property of RadEditor to DIV and test?
Related
I'm creating some pages with inputs that have to be validated. I'm using p:focus on this pages and works like charm. When some field is not validating correctly when I press the save button, the page focus on this field.
The problem comes when I try the same in a tabview page. The p:focus is not working correctly because is not focusing on the tab where the field failed validating.
Any idea how to do that?
Thanks.
I am using Kendo UI ASP.Net MVC framework and I have a kendo grid one of our pages. I am able do client side validation when the grid is in edit mode(using in-line editing). Any error messages are displayed next to the field, it is possible to get all these errors and display them as a list when the Update button is clicked on the row.
No, such validation summary is not supported, however you can customize where the messages are shown like explained here.
I am using Report Viewer control with the MVC3. When I create a report say Report2.rdlc , and there are 150 records , the pagination of the Report viewer is done. When I click on the page 2 button, a postback function is called , which throws an error as i am using MVC3. Is there any workaround to achieve the records in the page 2 to be displayed.
Or is it possible to display all the records in one page itself? I tried
1) Increasing the height of the Report VIewer and the Report.
2) Setting the ShowPageNavigation to false.
Please Help.
Thankyou in advance.
You have the ReportViewer control inside an MVC view? I have only seen a basic implementation work with hacks/workarounds, often advanced functionality is broken as ReportViewer relies on things from WebForms that aren't available in MVC.
You best approach would be to use an iframe and a WebForm page to get the full functionality or have you tried turning on/off async rendering?
I have a form generated by phplist. I succed to implement it in joomla with chronoforms component and I insert it in an article with choroforms plugin. The problem is that in source code the form tab appear twice and javascript show me an error.
Did you met this problem, what I did wrong?
Thank you
If I am understanding you correctly, it sounds like you copied the code from phplist and pasted it in the Chronoforms form HTML box. If so, you need to remove the form tags from that box. The form tags are generated by the extension when it displays a form. You will also need to put the URL in the "Submit URL" in the general tab of the form.
I want to save html markup in my database for a field from an ASP.Net MVC2 application. Upon reading I found that using the [ValidateInput(false)] attribute lets you do that. But it is not working for me. The data comes from the extjs htmleditor form element.
Anyone has any ideas? Is there something else I need to do? Any setting in web.config?
see ASP.NET Request Validation Exception Even When Validation Is Disabled