or
boundColumn.SortExpression = "Quality_Sort";<telerik:RadSearchBox ID="rsbSearch" runat="server" ></telerik:RadSearchBox>
I get a 'message from webpage' error saying 'Datasource not set' for every character. When I get past this I get the search string in the .Search event.
What am I doing wrong?
Andy
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="RadScheduler1"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="calendarPopup" /> </UpdatedControls> </telerik:AjaxSetting> <telerik:AjaxSetting AjaxControlID="btnOk"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="RadScheduler1" /> </UpdatedControls> </telerik:AjaxSetting> <telerik:AjaxSetting AjaxControlID="btnCancel"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="RadScheduler1" /> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings> </telerik:RadAjaxManager><telerik:RadWindow ID="calendarPopup" runat="server" Skin="Windows7" AutoSize="True" Animation="Fade" EnableShadow="True" Modal="True" Opacity="100"> <Localization Maximize="<%$ Resources:RadWindow, Maximize %>" Minimize="<%$ Resources:RadWindow, Minimize %>" Close="<%$ Resources:RadWindow, Close %>" PinOff="<%$ Resources:RadWindow, PinOff %>" PinOn="<%$ Resources:RadWindow, PinOn %>" Reload="<%$ Resources:RadWindow,Reload %>" Restore="<%$ Resources:RadWindow, Restore%>" Cancel="<%$ Resources:RadWindow, Cancel %>" /> <ContentTemplate> <table width="100%"> <tr> <td> <asp:Literal ID="lblAppointmentName" runat="server" Text="Nome del Calendario"></asp:Literal> </td> </tr> <tr> <td> <asp:TextBox ID="txtAppointmentName" runat="server" Width="250px"></asp:TextBox> </td> </tr> <tr> <td> <asp:Literal ID="lblAppointmentDescription" runat="server" Text="Descrizione Evento"></asp:Literal> </td> </tr> <tr> <td> <asp:TextBox ID="txtAppointmentDescription" runat="server" Width="250px" TextMode="MultiLine" Height="200"></asp:TextBox> </td> </tr> <tr> <td style="float: right;"> <br /> <telerik:RadButton ID="btnOk" runat="server" Text="Salva" OnClick="btnOk_Click" Skin="Windows7"> <Icon PrimaryIconCssClass="rbOk" PrimaryIconLeft="4" PrimaryIconTop="4" /> </telerik:RadButton> <telerik:RadButton ID="btnCancel" runat="server" Text="Annulla" OnClick="btnCancel_Click" Skin="Windows7"> <Icon PrimaryIconCssClass="rbCancel" PrimaryIconLeft="4" PrimaryIconTop="4" /> </telerik:RadButton> </td> </tr> </table> </ContentTemplate> </telerik:RadWindow>protected void RadScheduler1_FormCreating(object sender, SchedulerFormCreatingEventArgs e) { e.Cancel = true; switch (e.Mode) { case SchedulerFormMode.AdvancedEdit: case SchedulerFormMode.Edit: { calendarPopup.Title = "Edit Appointment"; // Edit inizializing code here } break; case SchedulerFormMode.AdvancedInsert: case SchedulerFormMode.Insert: { calendarPopup.Title = "Create Appointment"; txtAppointmentName.Text = String.Empty; txtAppointmentDescription.Text = String.Empty; } break; } //This will open the popup! string script = "function f(){$find(\"" + calendarPopup.ClientID + "\").show(); Sys.Application.remove_load(f);}Sys.Application.add_load(f);"; ScriptManager.RegisterStartupScript(Page, Page.GetType(), "key", script, true); }protected void btnCancel_Click(object sender, EventArgs e) { //This will close the popup! string script = "function f(){$find(\"" + calendarPopup.ClientID + "\").hide(); Sys.Application.remove_load(f);}Sys.Application.add_load(f);"; ScriptManager.RegisterStartupScript(Page, Page.GetType(), "key", script, true); } protected void btnOk_Click(object sender, EventArgs e) { //This will close the popup! string script = "function f(){$find(\"" + calendarPopup.ClientID + "\").hide(); Sys.Application.remove_load(f);}Sys.Application.add_load(f);"; ScriptManager.RegisterStartupScript(Page, Page.GetType(), "key", script, true); //Creating or Saving appointment here }