or
<telerik:GridAttachmentColumn FileName="NuevoLogoFN" FilterControlAltText="Filter Nuevo Logo column" HeaderText="Nuevo Logotipo" Text="Nuevo Logotipo" UniqueName="NuevoLogo"></telerik:GridAttachmentColumn>if (e.CommandName == RadGrid.UpdateCommandName) { //GridDataItem item = (GridDataItem)e.Item; GridEditFormItem item = (GridEditFormItem)e.Item; Hashtable newValues = new Hashtable(); item.ExtractValues(newValues); //I need the code here string id = item.OwnerTableView.DataKeyValues[e.Item.ItemIndex]["ID_Reg"].ToString();<
telerik:RadAutoCompleteBox runat="server" ID="radtxtKeywordSearch" InputType="Token"
AllowCustomToken="true" Height="200px" Width="500px" DropDownWidth="500px" DropDownHeight="200px"
BorderColor="Gray" BorderWidth="1px" BorderStyle="Solid" CssClass="radsearch"
BackColor="#F0F8FF">
</telerik:RadAutoCompleteBox>
| <telerik:RadScheduler runat="server" ID="RadScheduler1" Skin="Office2007" |
| Height="551px" ShowFooter="false" ReadOnly="false" Localization-AdvancedCalendarToday="I dag" Localization-AdvancedCalendarCancel="Avbryt" |
| Localization-AdvancedDescription="Beskrivelse" Localization-AdvancedDone="Fullfør" Localization-AdvancedSubject="Emne" |
| TimeZoneOffset="00:00:00" WeekView-HeaderDateFormat="dd.MM.yyyy" |
| DayStartTime="07:00:00" DayEndTime="21:00:00" Culture="nb-NO" |
| FirstDayOfWeek="Monday" LastDayOfWeek="Friday" |
| EnableDescriptionField="true" Localization-Show24Hours="Vi 24 timer" Localization-ShowBusinessHours="Vis arbeidstid" HoursPanelTimeFormat="HH.mm" |
| DataSourceID="sqlAppointments" DataRecurrenceField="RecurrenceRule" DataDescriptionField="Description" |
| DataEndField="EndTime" DataKeyField="ID" DataRecurrenceParentKeyField="RecurrenceParentID" DataStartField="StartTime" |
| DataSubjectField="Subject" OnFormCreated="RadScheduler1_FormCreated" OnClientFormCreated="schedulerFormCreated" |
| OnNavigationComplete="RadScheduler1_NavigationComplete" |
| OnAppointmentDataBound="RadScheduler1_AppointmentDataBound" |
| OnAppointmentDelete="RadScheduler1_AppointmentDelete" |
| OnAppointmentUpdate="RadScheduler1_AppointmentUpdate" |
| OnAppointmentInsert="RadScheduler1_AppointmentInsert"> |
| <AdvancedForm Modal="true" /> |
| <TimelineView UserSelectable="false" /> |
| <AdvancedForm Modal="true" /> |
| <AppointmentTemplate> |
| <div class="rsAptSubject"> |
| <%# Eval("Subject") %> |
| </div> |
| <%# Eval("Description") %> |
| </AppointmentTemplate> |
| <AdvancedEditTemplate> |
| <scheduler:AdvancedForm runat="server" ID="AdvancedEditForm1" Mode="Edit" |
| Subject='<%# Bind("Subject") %>' |
| Description='<%# Bind("Description") %>' |
| EventID='<%# Bind("ID") %>' |
| Start='<%# Bind("Start") %>' |
| End='<%# Bind("End") %>' |
| RecurrenceRuleText='<%# Bind("RecurrenceRule") %>' |
| UserID='<%# getUserID() %>' |
| PartnerID='<%# getPartnerID() %>' /> |
| </AdvancedEditTemplate> |
| <AdvancedInsertTemplate> |
| <scheduler:AdvancedForm runat="server" ID="AdvancedInsertForm1" Mode="Insert" |
| Subject='<%# Bind("Subject") %>' |
| Start='<%# Bind("Start") %>' |
| End='<%# Bind("End") %>' |
| Description='<%# Bind("Description") %>' |
| RecurrenceRuleText='<%# Bind("RecurrenceRule") %>' |
| UserID='<%# getUserID() %>' |
| PartnerID='<%# getPartnerID() %>' /> |
| </AdvancedInsertTemplate> |
| <TimeSlotContextMenuSettings EnableDefault="true" /> |
| <AppointmentContextMenuSettings EnableDefault="true" /> |
| </telerik:RadScheduler> |
| <asp:SqlDataSource ID="sqlAppointments" runat="server" ConnectionString='<%$ ConnectionStrings:ConnectionString %>' |
| SelectCommand="SELECT * FROM Appointments WHERE UserID = (SELECT TOP 1 UserID FROM User WHERE UserID_guid = @UserID) AND StartTime < EndTime" |
| InsertCommand="INSERT INTO [Appointments] ([Subject], [Start], [End], [UserID], [RecurrenceRule], [RecurrenceParentID], [Description]) VALUES (@Subject, @Start, @End, @UserID, @RecurrenceRule, @RecurrenceParentID, @Description)" |
| > |
| <SelectParameters> |
| <asp:Parameter Name="UserID" /> |
| </SelectParameters> |
| <InsertParameters> |
| <asp:Parameter Name="Subject" Type="String" /> |
| <asp:Parameter Name="Start" Type="DateTime" /> |
| <asp:Parameter Name="End" Type="DateTime" /> |
| <asp:Parameter Name="UserID" Type="Int32" /> |
| <asp:Parameter Name="RecurrenceRule" Type="String" /> |
| <asp:Parameter Name="RecurrenceParentID" Type="Int32" /> |
| <asp:Parameter Name="Description" Type="String" /> |
| </InsertParameters> |
| </asp:SqlDataSource> |
protected void Page_Load(object sender, System.EventArgs e){ string[] sImagePath = new string[] {"/_Global/" + ModuleProperties.SiteID + "/img/content"}; radEdtContent.ImageManager.ViewPaths = sImagePath; radEdtContent.ImageManager.UploadPaths = sImagePath; radEdtContent.ImageManager.ContentProviderTypeName = typeof(myprovider).AssemblyQualifiedName; }public class myprovider : Telerik.Web.UI.Widgets.FileSystemContentProvider { public myprovider(HttpContext context, string[] searchPatterns, string[] viewPaths, string[] uploadPaths, string[] deletePaths, string selectedUrl, string selectedItemTag) : base(context, searchPatterns, viewPaths, uploadPaths, deletePaths, selectedUrl, selectedItemTag) { } public override string StoreFile(UploadedFile file, string path, string name, params string[] arguments) { //StoreFile method handles renaming of files if exists. string fileExtention = name.Substring(name.LastIndexOf(".")); string fileNameWithoutExtension = name.Substring(0, name.IndexOf(".")); string newFileName = fileNameWithoutExtension + DateTime.UtcNow.Ticks + fileExtention; string result = base.StoreFile(file, path, newFileName, arguments); return result; } An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
|


RadSchedulerThere are 4000 patients. The DropDown does not allow text based searches. Users must scroll through thousands of patients to find the one they are looking for.
Is there a control, such as autocompletefield, which better fits my needs?