I'm using a GridHTMLEditorColumn in the RadGrid to enable rich text editing.
It's all within a custom DNN (4.9) module with Ajax enabled.
I'm using ObjectDataSource to enable automatic Edit/Update for the grid, update works fine in IE, but passes OLD data when used in Firefox.
I narrowed it down to RadEditor problem by replacing GridHTMLEditorColumn with GridBoundColumn - worked just fine in both IE and Firefox.
Please help.
p.s. forgot to mention that the problem is with the "Update" being an ImageButton.
The root of the problem is covered in depth in this thread. To make it work, I had to use a "LinkButton" instead of the ImageButton.
It's all within a custom DNN (4.9) module with Ajax enabled.
I'm using ObjectDataSource to enable automatic Edit/Update for the grid, update works fine in IE, but passes OLD data when used in Firefox.
I narrowed it down to RadEditor problem by replacing GridHTMLEditorColumn with GridBoundColumn - worked just fine in both IE and Firefox.
Please help.
p.s. forgot to mention that the problem is with the "Update" being an ImageButton.
The root of the problem is covered in depth in this thread. To make it work, I had to use a "LinkButton" instead of the ImageButton.
8 Answers, 1 is accepted
0
chris
Top achievements
Rank 1
answered on 29 Jan 2009, 09:30 PM
WORKAROUND: Use LinkButton in the EditColumn.
<EditFormSettings>
<EditColumn ButtonType="LinkButton" UniqueName="EditCommandColumn1" >
</EditColumn>
</EditFormSettings>
<EditFormSettings>
<EditColumn ButtonType="LinkButton" UniqueName="EditCommandColumn1" >
</EditColumn>
</EditFormSettings>
0
Hello Chris,
If you defined appropriate update/insert commands for your ObjectDataSource instance, the new value entered by the end user should be passed to the DAL regardless whether you use IE or FireFox browser. Can you please check whether the examples presented here:
http://demos.telerik.com/aspnet-ajax/controls/examples/integration/grideditors/defaultcs.aspx?product=grid
http://www.telerik.com/community/code-library/submission/b311D-kemte.aspx
work as expected on your machine under both browsers? Is it possible that some custom javascript error that appears under FF only causes the erratic behavior? Any further details concerning your grid configuration can help us pinpoint the reason for the issue to eliminate it asap.
Best regards,
Sebastian
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
If you defined appropriate update/insert commands for your ObjectDataSource instance, the new value entered by the end user should be passed to the DAL regardless whether you use IE or FireFox browser. Can you please check whether the examples presented here:
http://demos.telerik.com/aspnet-ajax/controls/examples/integration/grideditors/defaultcs.aspx?product=grid
http://www.telerik.com/community/code-library/submission/b311D-kemte.aspx
work as expected on your machine under both browsers? Is it possible that some custom javascript error that appears under FF only causes the erratic behavior? Any further details concerning your grid configuration can help us pinpoint the reason for the issue to eliminate it asap.
Best regards,
Sebastian
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
chris
Top achievements
Rank 1
answered on 02 Feb 2009, 05:57 PM
Sebastian, thank you for the reply. Sorry to mislead you with my post, but both your examples use the LInkButton to update the row, my problem was a combination of an ImageButton and RadEditor.
I've edited the posts to reflect that.
Also, I've found the workaround to make if work for now - I hope you'll fix the problem in the later release.
Thank you.
I've edited the posts to reflect that.
Also, I've found the workaround to make if work for now - I hope you'll fix the problem in the later release.
Thank you.
0
Hi Chris,
Can you reproduce the issue with the update from image button by modifying the examples I pointed out? Simply send an updated version of the code from the demos attached to a formal support ticket in order to investigate the matter further since we are still not able to recreate the erroneous behavior. Thus we will do our best to advice you further.
Best regards,
Sebastian
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Can you reproduce the issue with the update from image button by modifying the examples I pointed out? Simply send an updated version of the code from the demos attached to a formal support ticket in order to investigate the matter further since we are still not able to recreate the erroneous behavior. Thus we will do our best to advice you further.
Best regards,
Sebastian
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Marcel Härry
Top achievements
Rank 1
answered on 29 Jan 2012, 07:11 PM
I have the same problem on ie 9. used controls: v.2011.3.1305.40
LinkButton works, ImageButton does not, so i made my LinkButtons to ImageButtons.
I'ts ugly but it works...
LinkButton works, ImageButton does not, so i made my LinkButtons to ImageButtons.
I'ts ugly but it works...
<EditFormSettings ColumnNumber="2" CaptionDataField="wer" CaptionFormatString="Eintrag {0} bearbeiten"> <EditColumn ButtonType="LinkButton" InsertText="<img src='images/ok.gif' border='none'/>"
UpdateText="<img src='images/ok.gif' border='none'/>"
UniqueName="EditCommandColumn1"
CancelText="<img src='images/cancel.gif' border='none'/>">
</EditColumn>
0
Hi,
Could you open a formal support ticket with description of the problem and attach a project which is replicating the issue, so we could test/debug it locally?
When we finish investigating the issue we will share our findings with you.
Greetings,
Andrey
the Telerik team
Could you open a formal support ticket with description of the problem and attach a project which is replicating the issue, so we could test/debug it locally?
When we finish investigating the issue we will share our findings with you.
Greetings,
Andrey
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
John
Top achievements
Rank 2
answered on 29 Apr 2013, 11:39 AM
We have exactly the same issue with IE 9 2013.1.220.35 build. ImageButton works fine with Chrome, not with IE9. Everything is fine after changing it to LinkButton. Is there a fix for this?
0
Hi John,
What error/exception do you get when using the ImageButton?
The first think that comes on my mind is that you are rebinding the Grid during Page_Load, which is causing recreation of the controls inside it. When the controls are recreated the ImageButton's old object does not exist and you will get HttpRequestValidationException. If this is the case you have to choose between using the LinkButtons and avoid rebinding the grid so early in the Page Lifecycle.
Another possible solution will be to use RadButton for ImageButton, it has overridden Control Page Validation to allow to make PostBack even when it is not anymore in the page.
All the best,
Vasil
the Telerik team
What error/exception do you get when using the ImageButton?
The first think that comes on my mind is that you are rebinding the Grid during Page_Load, which is causing recreation of the controls inside it. When the controls are recreated the ImageButton's old object does not exist and you will get HttpRequestValidationException. If this is the case you have to choose between using the LinkButtons and avoid rebinding the grid so early in the Page Lifecycle.
Another possible solution will be to use RadButton for ImageButton, it has overridden Control Page Validation to allow to make PostBack even when it is not anymore in the page.
All the best,
Vasil
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.