-
Notifications
You must be signed in to change notification settings - Fork 640
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
footable on nested repeater adds comma in textbox #64
Comments
Please can you post an example of this issue on codepen of jsfilddle |
Thanks bradvin for taking some time out for the issue. This is what I entered when foo table is applied. This is what it becomes after hitting save button: This is a sample project I created for you. it is telerik based asp.net project , you will need visual studio 2010 to run it , I don't know if you can manage to run it or not. but I don;t know how to use fiddler for asp.net and telerik. http://wikisend.com/download/118354/Test.rar link will expire in 7 days. |
Thanks for posting the project - I got it running and saw what the issue is. When the footable creates the detail row, it duplicates the contents of the cells. So in your example it duplicates the inputs. Your asp.net site works off unique names for each control, so the values gets passed back to the form as a comma separated list (because there are 2 controls with the same name) and a comma is inserted. You either need to handle the ajax call manually and not rely on the asp.net postback system via the telerik ajax handler, or you need to intercept when footable is creating the detail row. I will add some code to raise an event when the detail row is created. I will comment here once I have done that |
Thanks , your help will be highly appreciated. |
there is now a new event raised when creating or updating the detail row : b35da00 You will still need to be quite clever how you do this to get it working. I was thinking perhaps appending "_hidden" to the name and id of the inputs when they are created in the detail row, and removing the "_hidden" when the breakpoint is not hit and then appending _hidden to the inputs in the detail row |
I have a repeater inside a repeater (that is nested repeater) and applied foo table on it. problem is , when foo table is applied on the repeater (that is , when it is in tablet or cell phone format) a comma is added in textbox. eg: if I enter "empty" in textbox it shows as ",empty" . if i remove ",empty" and add "empty1" then it will show ",empty1,emtpy" in textbox. when i open the page in desktop or laptop view no commas are inserted , even if they are inserted in tablet and cell phone view on resizing them to desktop commas disappear. It is because of footable . tried a lot but didnot find the solution. Any idea?
The text was updated successfully, but these errors were encountered: