RadMultiPage multiPage = (RadMultiPage)Page.FindControl("RadMultiPage1");
multiPage is null. The control RadMultiPage is not found but it exists into the Page. do you know why ? Do you think I forgot something ?
Thanks,
-------------------------------- c# code
//Get the GridEditableItem of the RadGrid
GridEditableItem editedItem = e.Item as GridEditableItem;
//Get the primary key value using the DataKeyValue.
string CustomerID = editedItem.OwnerTableView.DataKeyValues[editedItem.ItemIndex]["CustomerID"].ToString();
//Access the textbox from the edit form template and store the values in string variables.
string CompanyName= (editedItem.FindControl("txtCompanyName") as TextBox).Text;
--------------------------------
'Get the GridEditFormInsertItem of the RadGrid
Dim insertedItem As GridEditFormInsertItem = DirectCast(e.Item, GridEditFormInsertItem)
'Access the textbox from the insert form template and store the values in string variables.
Dim CustomerID As String = TryCast(insertedItem.FindControl("txtCustomerID"), TextBox).Text
Dim CompanyName As String = TryCast(insertedItem.FindControl("txtCompanyName"), TextBox).Text
In version 1125, in both IE and FireFox - if you change the size of the image, then open the image properties window and click ok, the image dimensions reset to their original size. To reproduce:
Thanks,
John Brownell
Pyron Technologies

| <head id="header" runat="server"> |
| <title>FocusOnRisk - DetailForm β</title> |
| <link href="Styles/FocusOnRisk.css" rel="stylesheet" type="text/css" /> |
| </head> |
| <body> |
| <form id="form1" runat="server"> |
| <div> |
| <script type="text/javascript"> |
| function OnResponseEndHandler(sender, arguments) |
| { |
| <%= toolBar.ClientID %>.attachEvent("OnClientClick","click_handler"); |
| } |
| </script> |
| <radA:RadAjaxManager ID="ajaxMngr" runat="server" ClientEvents-OnResponseEnd="OnResponseEndHandler"> |
| ... |
| </radA:RadAjaxManager> |
| <asp:Panel ID="menuPanel" runat="server"></asp:Panel> |
| <div style="text-align: right"> |
| <asp:Panel ID="toolBarPanel" runat="server"> |
| <radTlb:RadToolbar ID="toolBar" runat="server" UseFadeEffect="True" Skin="mac" ButtonHeight="24px" |
| ButtonWidth="24px" AutoPostBack="true" CatalogIconImageUrl="" SkinsPath="~/RadControls/Toolbar/Skins" |
| ImagesDir="~/Imagenes/" OnOnClick="toolBar_OnClick" OnPreRender="toolBar_PreRender" |
| ValidationGroup="GV1"> |
| </radTlb:RadToolbar> |
| <script type="text/javascript"> |
| <!-- |
| <%= toolBar.ClientID %>.attachEvent("OnClientClick","click_handler"); |
| function click_handler(sender, e) |
| { |
| if (sender.CommandName=='DELETE') { |
| return confirm('<%= MissatgeDinamic("Del1") %>'); |
| } |
| } |
| --> |
| </script> |
| </asp:Panel> |
| </div> |
| <asp:Panel ID="detailsPanel" runat="server"> |
| </asp:Panel> |
| <br /> |
| <radG:RadGrid ID="listGrid" runat="server" PageSize="6" Skin="Glassy" OnNeedDataSource="listGrid_NeedDataSource" |
| OnItemCreated="listGrid_ItemCreated" OnSelectedIndexChanged="listGrid_SelectedIndexChanged" |
| AllowPaging="True" AllowAutomaticDeletes="false" AllowAutomaticInserts="false" |
| AllowAutomaticUpdates="false"> |
| ... |
| </radG:RadGrid> |
| </div> |
| </form> |
| </body> |
| <script type="text/javascript"> |
| function cambiarFecha() |
| { |
| var input1 = <%=fechaini.ClientID %>; |
| var input2 = <%=fechafin.ClientID %>; |
| var today = input1.GetDate(); |
| var thisYear = today.getYear(); |
| var thisMonth = today.getMonth(); |
| var thisDay = today.getDate(); |
| var maxDate; |
| if (thisDay <= 15) { |
| maxDate = new Date(thisYear, thisMonth, 15); |
| } |
| else |
| { |
| maxDate = new Date(thisYear, thisMonth+1, 0); |
| } |
| input2.SetDate(maxDate); |
| input2.SetMaxDate(maxDate); |
| input2.SetMinDate(input1.GetDate()); |
| } |
| </script> |
| <table id="Table1"> |
| <tr> |
| <td><asp:Label ID="lbl_fechaini" runat="server" /></td> |
| <td><radCln:RadDatePicker ID="fechaini" runat="server" Width="150" DateInput-ReadOnly="true" |
| DateInput-OnClientDateChanged="cambiarFecha" /> |
| </td> |
| </tr> |
| <tr> |
| <td><asp:Label ID="lbl_fechafin" runat="server" /></td> |
| <td> |
| <radCln:RadDatePicker ID="fechafin" runat="server" Width="150" DateInput-ReadOnly="true" /> |
| </td> |
| </tr> |
| </table> |
| foreach (Control aux in ctrlAux) |
| { |
| Controls.AddAt(ctrlAuxPos[idx], aux); |
| idx++; |
| } |