| <table> |
| <tr> |
| <asp:Repeater ID="Repeater1" runat="server" DataSourceID="FeatureSource"> |
| <ItemTemplate> |
| <td> |
| <telerik:RadMenu ID="RadMenu1" runat="server"> |
| <Items> |
| <telerik:RadMenuItem runat="server" Text="map" NavigateUrl='<%#Eval("FeatureMapUrl")%>'> |
| </telerik:RadMenuItem> |
| <telerik:RadMenuItem runat="server" Text="what goes on" NavigateUrl='<%#Eval("FeatureListUrl")%>'> |
| </telerik:RadMenuItem> |
| <telerik:RadMenuItem runat="server" Text="diary" NavigateUrl='<%#Eval("FeatureDiaryUrl")%>'> |
| </telerik:RadMenuItem> |
| </Items> |
| </telerik:RadMenu> |
| </td> |
| </ItemTemplate> |
| </asp:Repeater> |
| </tr> |
| </table> |
Hi,
I want to scroll the columns inside a rad grid when i click on Next/Previous buttons provided on the page. Can anybody help, how to do this in client side without using horizontal scrollbar?
Thanks & Regards,
siv.

Hello,
we upgraded the RadEditor for MOSS from version 5.2.2.0 to 5.5.0.0,
In the previous version we personalized the document manager by setting the 'ExternalDialogsPath' to 'EditorDialogs\documentManager.ascx',
and in this file we modified the 'DocumentTargetCombo' to open documents in new window by default.
but in the latest version (5.5.0.0) the 'documentManager.ascx' file doesn't have the 'DocumentTargetCombo'
is there a solution or workaround to do this?
protected override void OnInit(EventArgs e)
{
base.OnInit(e);
Page.ClientScript.RegisterStartupScript(
typeof(ParentChildGrid), this.ID, "_spOriginalFormAction = document.forms[0].action;_spSuppressFormOnSubmitWrapper=true;", true);
if (this.Page.Form != null)
{
string formOnSubmitAtt = this.Page.Form.Attributes["onsubmit"];
if (!string.IsNullOrEmpty(formOnSubmitAtt) && formOnSubmitAtt == "return _spFormOnSubmitWrapper();")
{
this.Page.Form.Attributes["onsubmit"] = "_spFormOnSubmitWrapper();";
}
}
ScriptManager scriptManager = ScriptManager.GetCurrent(this.Page);
if (scriptManager == null)
{
scriptManager =
new RadScriptManager();
this.Page.Form.Controls.AddAt(0, scriptManager);
}
}
protected override void OnLoad(EventArgs e)
{
if (!_error)
{
try
{
base.OnLoad(e);
this.EnsureChildControls();
base.OnLoad(e);
if (_ParentList != null)
{
if (_ParentList != "")
{
RadAjaxPanel panel = new RadAjaxPanel();
panel.ID =
"Panel1";
this.Controls.Add(panel);
oGrid =
new RadGrid();
DefineComplexGrid();
//DefineSimpleMasterDetail();
cmdExport.Click +=
new EventHandler(cmdExport_Click);
cmdExport.Text =
"Export";
panel.Controls.Add(oGrid);
RadAjaxManager ajaxManager = RadAjaxManager.GetCurrent(this.Page);
if (ajaxManager == null)
{
ajaxManager =
new RadAjaxManager();
ajaxManager.ID =
"RadAjaxManager1";
Controls.Add(ajaxManager);
this.Page.Items.Add(typeof(RadAjaxManager), ajaxManager);
}
ajaxManager.AjaxSettings.AddAjaxSetting(oGrid, panel);
this.Controls.Add(cmdExport);
}
}
}
catch (Exception ex)
{
HandleException(ex);
}
}
}
void cmdExport_Click(object sender, EventArgs e)
{
oGrid.ExportSettings.ExportOnlyData =
true;
oGrid.ExportSettings.IgnorePaging =
true;
foreach (GridItem item in oGrid.MasterTableView.Items)
item.Expanded =
true;
oGrid.MasterTableView.ExportToExcel();
}
Any help you can give would be a big help, I am behind on a deadline.
Thanks,
John