- Home
- Forum
- ASP.NET MVC
- Server side filter list
Server side filter list
Hi Donald,
Thanks for your interest in Syncfusion Products.
Query- 1 Enable OK Button If user enter the wrong entry in Filter Text Box
This is the default behavior. We are used Microsoft Excel behavior in our grid and we are unable to change this (" "OK" button is grayed out").
Query- 2 Pass Some Kind of Enumeration.
We are sorry for the inconvenience caused. We are unable to understand your requirement. Could you please give more information regarding your requirement? Such as what data you have passed to controller, what kind of enumeration you have passed to controller? So that we could able to analyze and provide you a better solution?
Please let us know if you need any further assistance.
Regards,
Satheeskumar S
We will not process with custom Filtering. We have set the values on the filters array in OnActionBegin, so the null values are passed FilterDescriptor on the post action. When we passing null FilterDescriptor on the GridAction it will display all the possible values in the filteringdialog on the grid. it will also work with custom filtering. Please refer the below code snippet.
[Index.cshtml]
<script type="text/javascript">
var temp;
function Begin(sender, args) {
if (args.requestType = "FilterChoiceRequest") {
temp = sender._filters;
sender._filters = [];
}
}
function Success(sender, args) {
if (args.RequestType = "FilterChoiceRequest") {
sender._filters = temp;
}
}
</script>
For your convenience, we have prepared a simple to demonstrate this and the same can be downloaded from the below link.
Sample: Filtering.zip
Please try the above sample, and if it does not meets your requirement, could you please provide more information on this so that we can provide a better solution quickly?.
Regards,
Maithiliy K
Hi Donald,
Thanks for your interest in Syncfusion Products.
Query- 1 Enable OK Button If user enter the wrong entry in Filter Text Box
This is the default behavior. We are used Microsoft Excel behavior in our grid and we are unable to change this (" "OK" button is grayed out").
Query- 2 Pass Some Kind of Enumeration.
We are sorry for the inconvenience caused. We are unable to understand your requirement. Could you please give more information regarding your requirement? Such as what data you have passed to controller, what kind of enumeration you have passed to controller? So that we could able to analyze and provide you a better solution?
Please let us know if you need any further assistance.
Regards,
Satheeskumar S
I want the example in angular js and mvc. Not able to upload a doc file edit it and save it again. Could u please help me out
- Do you want the sample in mvc classic?
- If so then please explain more about your requirement.
- Share the Syncfusion Essential Studio version details.
- You have mentioned about uploading and editing and saving a file which is about editing feature in grid?
- 5 Replies
- 5 Participants
-
DH Donald Hansen
- Sep 2, 2013 08:26 PM UTC
- Jan 10, 2018 12:41 PM UTC