or


| public class BladderInstillation : BaseIdentifier |
| { |
| public DateTime Date { get; set; } |
| public decimal Dosage { get; set; } |
| public Agent Agent { get; set; } |
| } |
| public class Agent : BaseIdentifier |
| { |
| public string Name { get; set; } |
| public string AtcCode { get; set; } |
| } |
| <telerik:GridBoundColumn HeaderText="Agent" UniqueName="Agent" DataField="Agent.Name" /> |
| $.ajax({ |
| type: "POST", |
| url: "MyPage.aspx/Save", |
| data: "{'instillation' : " + Sys.Serialization.JavaScriptSerializer.serialize(instillation) + "}", |
| contentType: "application/json; charset=utf-8", |
| dataType: "json", |
| success: function(data) { |
| for (var i = 0; i < data.d.length; i++) { |
| data.d[i].Date = jsonParseDate(data.d[i].Date).format("dd.MM.yyyy"); |
| } |
| var tableView = $find("<%= radGrid.ClientID %>").get_masterTableView(); |
| tableView.set_dataSource(data.d); |
| tableView.dataBind(); |
| var grid = $find("<%= radGrid.ClientID %>"); |
| grid.repaint(); |
| } |
| }); |
| Private Sub radPanelBar1_ItemClick(ByVal sender As Object, ByVal e As Telerik.Web.UI.RadPanelBarEventArgs) Handles radPanelBar1.ItemClick |
| If e.Item.Expanded = False Then |
| e.Item.BackColor = System.Drawing.ColorTranslator.FromHtml("#eeeeee") |
| End If |
| End Sub |
| <telerik:RadPanelBar ID="radPanelBar1" runat="server" Width="100%" ExpandMode="SingleExpandedItem" AllowCollapseAllItems="true"> |
| <Items> |
| <telerik:RadPanelItem Text="Primary Subscriber's Provider Details" CssClass="gridLabelText" |
| Font-Bold="true" Font-Underline="false" BackColor="#eeeeee" ForeColor="#996699"> |
| <Items> |
| <telerik:RadPanelItem> |
| <ItemTemplate> |
| selectConditon = "([IMP_MATCHINGFELD_WERT] = 'NGEE010041')" |
| m_G1.MasterTableView.FilterExpression = selectConditon |
| m_G1.MasterTableView.DataBind() |
| <telerik:RadEditor ID="reEditor" Width="965px" Height="225px" |
| EditModes="Design, Html" ToolsFile="~/BasicTools.xml" ToolbarMode="ShowOnFocus" ToolsWidth="450px" |
| EnableResize="False" OnClientLoad="OnClientLoad2" EnableViewState="False" runat="server" > |
| <ImageManager ViewPaths="~/pictures/" /> |
| </telerik:RadEditor> |
| <telerik:RadEditor ID="reDeveloper" Width="965px" Height="175px" |
| EditModes="Preview" ToolbarMode="ShowOnFocus" EnableResize="False" EnableViewState="False" |
| OnClientLoad="OnClientLoad" runat="server" ToolsWidth="10px"> |
| </telerik:RadEditor> |
| <script type="text/javascript" > |
| <!-- |
| function OnClientLoad(editor, args) { |
| editor.get_toolContainer().style.display = 'none'; // Hide ToolBar |
| } |
| function OnClientLoad2(editor, args) { |
| var style = editor.get_contentArea().style; |
| style.fontFamily = 'Verdana'; |
| style.fontSize = 13 + 'px'; |
| } |
| --> |
| </script> |
| <telerik:RadWindow runat="server" Width="700px" Height="560px" VisibleStatusbar="false" |
| NavigateUrl="Explorer.aspx" ID="ExplorerWindow" Modal="true" Behaviors="Close,Move" > |
| </telerik:RadWindow> |
| function OpenFileExplorerDialog() |
| { |
| var wnd = $find("<%= ExplorerWindow.ClientID %>"); |
| wnd.show(); |
| } |
| <asp:TextBox ID="fileName" runat="server" Width="250px"></asp:TextBox> |