Greetings,
I have an web app in VB.net 2005 with the ASP.NET AJAX Q2 2010.
I am using RadAjaxManager to configure the call for the page – there are no Update Panels etc…
The partial postback thing working fine on (Localhost) However when I publish it out
to the test server I lose all AJAXfication and I get a full post back.
When the user clicks the ASP:Button I add a set of GUI elements programmatically to the page:
Dim rmtb As RadMaskedTextBox = New RadMaskedTextBox()
With rmtb
.Mask = "###.###.###.###"
.PromptChar = ""
.Width = "120"
.SelectionOnFocus = SelectionOnFocus.CaretToBeginning
.ID = "rtbIPAddress_2"
End With
daPlaceHolder.Controls.Add(rmtb)
And we get a partial post back – localhost
On the server we get a full postback – resetting other input fields in GUI.
Is there an issue with inserting the controls into PlaceHolder and not a ASP Panel (or Div).
Is ASP: PlaceHolder a bad thing here.. – I read something about to this effect at Telerik.com
Has anyone else experinced this issue and how did they debugg and or solve it?
Thanks!
David Gilden MCSD / Web Developer
function TemplateSelected2() {
if (window.opener != null && window.opener.StartNewLineItem != null) {
// Call the parent window function to create a new line item
if (templateID != "") {
window.opener.StartNewLineItem(templateID);
}
window.close();
}
}
Back on the main form, StartNewLineItem is meant to invoke the insert mode of the RadGrid
function StartNewLineItem(templateID) {
alert("start new line item");
alert(templateID);
// Start a new line item
var tableView = $find("<%= RadGrid1.ClientID %>").get_masterTableView();
tableView.IsItemInserted = true;
tableView.rebind();
// Copy values from the selected template into the new line item
// <TODO>
alert("after insert mode");
}
The code runs without error, but does not put the RadGrid in Insert mode.
Is there a particular setting needed besides setting IsItemInserted=true and calling rebind() ?
Thanks.
<asp:ImageButton ID="btnPrintAll" runat="server" ImageUrl = "~/Images/NewDesign/btn-print-selected-dasr.png" CssClass="top" OnClientClick="MyPrint(); return false;" />
<telerik:ReportViewer ID="ReportViewer1" runat="server" style="display
:none">
</telerik:ReportViewer
>
http://www.telerik.com/help/reporting/faq-print-client.html