or
How to show only current month days in the MonthView and NOT show the last/next few days of the previous/next month.
Regards
Shashi

<telerik:GridBoundColumn DataField="FullName" UniqueName="FullNameColumn" HeaderText="Имя" ReadOnly="true" CurrentFilterFunction="Contains" AllowFiltering="true" ShowFilterIcon="false" FilterControlWidth="200px"> <FilterTemplate> <telerik:RadTextBox runat="server" AutoPostBack="true" ID="NameRadTextBox" ClientIDMode="Static" EmptyMessage="Введите ФИО" ClientEvents-OnKeyPress="btnClick"/> <telerik:RadCodeBlock ID="rcb1" runat="server"> <script type="text/javascript"> function btnClick(sender, e) { if (e.get_keyCode() == 13) { $find("<%= RadAjaxManager.ClientID %>").ajaxRequest(); } } </script> </telerik:RadCodeBlock> </FilterTemplate> </telerik:GridBoundColumn><telerik:RadAjaxManager ID="RadAjaxManager" runat="server" OnAjaxRequest="RadAjaxManager_AjaxRequest">.....protected void RadAjaxManager_AjaxRequest(object sender, AjaxRequestEventArgs e) { var results = new List<CompanyUser>(); var searchStr = e.Argument; var users = _userProvider.SearchByName(searchStr); UsersList.DataSource = users; UsersList.DataBind(); }But nothing happens. Grid is still empty. I checked recieved data from database and it's ok. What is missed or what i'm doing wrong?
public static void updatePanel(RadAjaxPanel sender, RadAjaxPanel target) { sender.ResponseScripts.Add(String.Format("$find('{0}').ajaxRequest();", target.ClientID)); }
|
|
|