or

<asp:TextBox ID="TextBoxDe" runat="server" Width="70px"></asp:TextBox><ajax:CalendarExtender ID="CalendarExtender2" runat="server" FirstDayOfWeek="Sunday" Format="dd/MM/yyyy" TargetControlID="TextBoxDe"></ajax:CalendarExtender><ajax:MaskedEditExtender ID="MaskedEditExtenderDe" runat="server" AcceptNegative="None" ClearMaskOnLostFocus="true" CultureName="pt-BR" DisplayMoney="None" Mask="99/99/9999" MaskType="Date" MessageValidatorTip="true" OnFocusCssClass="MaskedEditFocus" OnInvalidCssClass="MaskedEditError" TargetControlID="TextBoxDe"></ajax:MaskedEditExtender><telerik:RadToolBar ID="radBotoes" runat="server"> <Items> <telerik:RadToolBarButton runat="server" Text="Test 1"> </telerik:RadToolBarButton> <telerik:RadToolBarButton runat="server" Text="Test 2"> </telerik:RadToolBarButton> </Items></telerik:RadToolBar><tr> <td> <div id="RestrictionZone" class="module" style="margin-top: 4px; height: 300px; width: 400px;"> <telerik:RadWindowManager ID="RadWindowManager1" runat="server" style="z-index:7001"> <Windows> <telerik:RadWindow runat="server" ID="RadWindow1" ReloadOnShow="true" ShowContentDuringLoad="true" Modal="true" Height="560px" Width="620px" NavigateUrl="ManagePurchaseOrder.aspx" Animation="Fade" /> </Windows> </telerik:RadWindowManager> </div> </td> </tr>function ChangeStatus(OrderID) { var EntityID =document.getElementById("ctl00_ContentPlaceHolder1_HiddenField_EntityID").value; //
window.showModalDialog('ManageStatusChange.aspx?EntityID=' + EntityID +
'&EntityType=PurchaseOrder&EntityKeyID='+OrderID , this,
"status:no;help:no;overflow:auto;center:yes;dialogWidth:775px;dialogHeight:675px"); var
PopupWindow=radopen('ManageStatusChange.aspx?EntityID=' + EntityID +
'&EntityType=PurchaseOrder&EntityKeyID='+OrderID ,
"RadWindow1"); PopupWindow.Center(); }function refreshParent(arg) { //Get reference to RadAjaxManager on page if (radManager == null) var radManager = $find('<%= RadAjaxManager.GetCurrent(this).ClientID %>'); //Fire ajax request (optionally pass an event arg value) radManager.ajaxRequest(arg); }#region RadAjax CodeBlock RadAjaxManager rjxManager = RadAjaxManager.GetCurrent(this); //Create a new delegate to handle the AjaxRequest event rjxManager.AjaxRequest += new RadAjaxControl.AjaxRequestDelegate(rjxManagerPurchaseOrder_AjaxRequest); rjxManager.AjaxSettings.AddAjaxSetting(rjxManager, rjxPanel_PurchaseOrder); #endregion#region Rad Ajax Event protected void rjxManagerPurchaseOrder_AjaxRequest(object sender, AjaxRequestEventArgs e) { if (e.Argument == "Rebind") { Session["currentObject"] = null; RadGrid_Orders.Rebind(); } } #endregion<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server"><script type="text/javascript"> function GetRadWindow() { var oWindow = null; if (window.radWindow) oWindow = window.radWindow; //Will work in Moz in all cases, including clasic dialog else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow;//IE (and Moz as well) return oWindow; }function closeRadWindow() { GetRadWindow().Close(); } function CloseAndRebind(args) { GetRadWindow().Close(); GetRadWindow().BrowserWindow.refreshParent(args); }</script> </telerik:RadCodeBlock>objSearchResultsDO =
new SearchResultsDO();
objSearchResultsDO = Pfizer.Clink.Business.Factory.
BusinessFactory.GetRequestTrackerService().GetAllRequestTracker(objSearchDO, ref _objPfizerClinkException);
grdSearch.DataSource = objSearchResultsDO.ResultsDO; // Contains 4 rows.
on Need_Datasource I am calling Load Grid function.
Thanks In Advance
Value
="CommandAddAppointment") the page just refreshes and no form appears.
//Telerik File Browser Dialog this.DialogOpener1 = new RadDialogOpener(); this.DialogOpener1.HandlerUrl = "~/Telerik.Web.UI.DialogHandler.axd"; this.DialogOpener1.Window.Title = Utility.GetLanguageResource("ImagePicker_DisplayName"); /* * * ATTENTION: FileBrowser Dialog doesn't support IE6!!! - The URL isn't stored after selection! * */ //Get the folders to display in the dialog SPListCollection listsOfTyp = this.Web.GetListsOfType(SPBaseType.DocumentLibrary); listsOfTyp.ListsForCurrentUser = true; listsOfTyp.IncludeRootFolder = true; ArrayList list = new ArrayList(); foreach (SPList list2 in listsOfTyp) { if (SharepointTelerikCustomProvider.IsNotSystemFolder(list2.RootFolder) && !list2.Hidden) { list.Add(list2.RootFolder.ServerRelativeUrl); } } ImageManagerDialogParameters imdp = new ImageManagerDialogParameters(); imdp.ViewPaths = (string[])list.ToArray(typeof(string)); imdp.UploadPaths = (string[])list.ToArray(typeof(string)); imdp.DeletePaths = (string[])list.ToArray(typeof(string)); imdp.MaxUploadFileSize = 5000000; imdp.FileBrowserContentProviderTypeName = typeof(SharepointTelerikCustomProvider).AssemblyQualifiedName; DialogDefinition imageManager = new DialogDefinition(typeof(ImageManagerDialog), imdp); imageManager.ClientCallbackFunction = txtUrlNew.ClientID + "ImageManagerFunctionPU"; imageManager.Width = Unit.Pixel(649); imageManager.Height = Unit.Pixel(300); DialogOpener1.DialogDefinitions.Add("ImageManager", imageManager); FileManagerDialogParameters imdp2 = new FileManagerDialogParameters(); imdp2.ViewPaths = (string[])list.ToArray(typeof(string)); imdp2.UploadPaths = (string[])list.ToArray(typeof(string)); imdp2.DeletePaths = (string[])list.ToArray(typeof(string)); imdp2.MaxUploadFileSize = 5000000; imdp2.FileBrowserContentProviderTypeName = typeof(SharepointTelerikCustomProvider).AssemblyQualifiedName; DialogDefinition imageEditor = new DialogDefinition(typeof(ImageEditorDialog), imdp2); imageEditor.Width = Unit.Pixel(649); imageEditor.Height = Unit.Pixel(300); DialogOpener1.DialogDefinitions.Add("ImageEditor", imageEditor); this.Controls.Add(DialogOpener1); Button browseButton = new Button(); browseButton = new Button(); browseButton.Text = "Browse"; browseButton.CssClass = "ms-ButtonHeightWidth"; //var o = window.document.body.getElementsByClassName('ms-dlgFrameContainer')[0].style; browseButton.OnClientClick = "$find('" + DialogOpener1.ClientID + @"').open('ImageManager', {Colors: [], CssClasses: []});return false;";
I would like to add a scrollbar to the dialog. The following works not:
DialogOpener1.Style["overflow"] = "scroll";
Please help, I know it can not be hard but i can't figure out how to do it.
Thank you.
Anna