Hi,
I have a page with 3 different RadComboBoxes. 1 is load on demand. 1 is loaded with treeview. 1 is multi-columns. Also in the page, I have 2 buttons. 1 button is used to do a ASP AJAX call. Another button is used to make a page postback to generate a report and display a window popup for download. This report is either in PDF or Excel format. However, once I clicked on the postback button. All 3 comboboxes doesn't work anymore. I just used a simple Page.Response.Write to write out the file. Does anyone has experience this problem?
Chris
4 Answers, 1 is accepted
0
Hello Chris,
This problem is resolved in our latest official build 2008.1.619. Please download it from your account and try it.
If this does not helps you,please open a support ticket and send us sample running project to test it locally.
Regards,
Rosi
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
This problem is resolved in our latest official build 2008.1.619. Please download it from your account and try it.
If this does not helps you,please open a support ticket and send us sample running project to test it locally.
Regards,
Rosi
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Chris
Top achievements
Rank 1
answered on 01 Jul 2008, 03:57 PM
Hi Rosi,
Thanks for the solution. It works in the latest dll. However, I need sometimes to do regression test in our environment. Meanwhile, are there any work around for this issue? such as how can I refresh the page or redirect the page to resolve the unopen combobox?
Chris
Thanks for the solution. It works in the latest dll. However, I need sometimes to do regression test in our environment. Meanwhile, are there any work around for this issue? such as how can I refresh the page or redirect the page to resolve the unopen combobox?
Chris
0
Hi Chris,
If you use version earlier than 2008.1.515 you can use the following workaround:
1.Modify the definition of the buttons which export files and attach them to OnClientClick event like this:
2.Move the code exporting files from the button's click event handler to the page_load event handler :
If you use version 2008.1.515 you can use the first workaround on the following:
1.Add a script reference to the ScriptManager
2.Override setIsInPostBack method of RadComboBox in the following way:
InitScript.js
Hope this helps.
Regards,
Rosi
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
If you use version earlier than 2008.1.515 you can use the following workaround:
1.Modify the definition of the buttons which export files and attach them to OnClientClick event like this:
<asp:ImageButton ID="ImgExportToExcel" runat="server" OnClick="ImgExportToExcel_Click" |
Style="margin-left: 6px; margin-right: 3px;" ImageUrl="~/Global/Images/icons/icon_excel_16.gif" |
ImageAlign="AbsMiddle" meta:resourcekey="ImgExportToExcel" OnClientClick="javascript:return Test();" /> |
<script type="text/javascript"> |
function Test() |
{ |
document.location.href="ReviewContactNames.aspx?stream=ImgExportToExcel_Click"; |
return false; |
} |
</script> |
2.Move the code exporting files from the button's click event handler to the page_load event handler :
Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs) |
If Request.QueryString("stream") = "ImgExportToExcel_Click" Then |
GridOccupancies.ExportSettings.ExportOnlyData = True GridOccupancies.MasterTableView.ExportToExcel() |
End If |
End Sub |
If you use version 2008.1.515 you can use the first workaround on the following:
1.Add a script reference to the ScriptManager
<asp:ScriptManager ID="ScriptManager1" runat="server"> |
<Scripts> |
<asp:ScriptReference Path="InitScript.js" /> |
</Scripts> |
</asp:ScriptManager> |
2.Override setIsInPostBack method of RadComboBox in the following way:
InitScript.js
// Hook up Application event handlers. |
var app = Sys.Application; |
app.add_init(ApplicationInit); |
function ApplicationInit(sender) { |
Telerik.Web.UI.RadComboBox.prototype.setIsInPostBack = function(isInPostBack) |
{ |
} |
} |
Hope this helps.
Regards,
Rosi
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Chris
Top achievements
Rank 1
answered on 02 Jul 2008, 01:45 PM
Hi Rosi,
Thanks for the details workaround. It seems to be working. Appreciate it.
Chris
Thanks for the details workaround. It seems to be working. Appreciate it.
Chris