<telerik:RadScriptManager ID="rasmMain" runat="server" /> <telerik:RadAjaxManager ID="ramMain" runat="server" DefaultLoadingPanelID="rapMain"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="pTest"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="pTest" /> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings> </telerik:RadAjaxManager> <telerik:RadAjaxLoadingPanel ID="rapMain" runat="server" /> <telerik:RadAjaxPanel ID="rapResponseScripts" runat="server"></telerik:RadAjaxPanel> <asp:Panel ID="pTest" runat="server" ClientIDMode="Static"> <telerik:RadWizard ID="rwNuevoCliente" runat="server" OnNextButtonClick="rwNuevoCliente_NextButtonClick" OnFinishButtonClick="rwNuevoCliente_FinishButtonClick"> <WizardSteps> <telerik:RadWizardStep Title="Informacion General" CausesValidation="true" ValidationGroup="Step1" ImageUrl="../../images/png/store12.png" > </telerik:RadWizardStep> <telerik:RadWizardStep Title="Detalles de Contacto" CausesValidation="true" ValidationGroup="Step2" ImageUrl="../../images/png/call46.png"> </telerik:RadWizardStep> <telerik:RadWizardStep Title="Condiciones Comerciales" ImageUrl="../../images/png/commercial40.png"> </telerik:RadWizardStep> </WizardSteps> </telerik:RadWizard> </asp:Panel>
Hello,
When I load an image in the editor control and then click print the image is not printed in the top left corner fully. It seems there is a large margin on top and left. I have tried to look up how to change this and I do not see. Any suggestions?
Thanks,
Warren

Hello,
If i set Height for RadMenuItem, as soon as i move my cursor to that item it shows selected item different. Please find attached screen shot for your reference. AND one more question how to i set Height for whole RadMainMenu insted of 100%?
<telerik:RadMenu ID="RadMainMenu" GroupSettings-Height="100px" runat="server" EnableRoundedCorners="true" EnableShadows="true" Skin="WebBlue" Flow="Vertical" Height="100%" Width="200px"> <Items> <telerik:RadMenuItem Text="My Profile" Value="mnuProfile" Font-Size="Large" Height="35px"></telerik:RadMenuItem> <telerik:RadMenuItem IsSeparator="true"></telerik:RadMenuItem <telerik:RadMenuItem Text="My Referrals" Value="mnuReferrals" Font-Size="Large"></telerik:RadMenuItem> </Items> </telerik:RadMenu>

I have a date time picker which I've ajaxified using RadAjaxManager (and have tried using a RadAjaxPanel instead) but when ajaxified, the min/max dates don't update when set from code behind. In my form, I have some dropdowns and based on what's selected I need to change what date range would be considered valid. When I set the min/max date from the server side, it doesn't actually apply it (if you inspect the page you can still see the old min/max dates set). If I remove the RadAjaxManager (or RadAjaxPanel) then it works fine.
[code - Markup]
<div class='col-md-1 text-right pull-left'>
<asp:Label ID='lblPersonal_DoB' runat='server' Text='DoB' CssClass="label-middle-vertical" AssociatedControlID="dtPersonal_DoB" />
<asp:Label ID='lblPersonal_Age' runat='server' Text='' CssClass="label-middle-vertical" />
</div>
<div class='col-md-2'>
<telerik:RadDatePicker ID="dtPersonal_DoB" runat="server" CssClass='form-control' placeholder='DoB' Skin='Metro' aria-describedby='lblPersonal_DoB' AutoCompleteType="Disabled" DateInput-AutoCompleteType="Disabled" DateInput-CssClass="border-hide" OnSelectedDateChanged="dtPersonal_DoB_SelectedDateChanged" ClientEvents-OnDateSelected="dtPersonal_DoB_SelectedDateChanged" AutoPostBack="True" />
<asp:RequiredFieldValidator ID="valPersonal_DoB" runat="server" ControlToValidate="dtPersonal_DoB" Display="Dynamic" ForeColor="Red" Text="* Required" ErrorMessage="Date of birth is required" ValidationGroup="PersonalInfo" Enabled="false" />
</div>
[/code]
[code - Ajaxification]
<telerik:RadAjaxManagerProxy runat="server" ID="ajaxManager_PersonalDetails">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="dtPersonal_DoB">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="lblPersonal_Age" />
<telerik:AjaxUpdatedControl ControlID="valPersonal_SSN" />
<telerik:AjaxUpdatedControl ControlID="txtPersonal_SSN" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManagerProxy>
[/code]
[code - Server side]
if (value)
{
//If enabling SSN requirement then require being an adult
dtPersonal_DoB.MinDate = (new DateTime(1901, 1, 1, 0, 0, 0));
dtPersonal_DoB.MaxDate = DateTime.Now.Date.AddYears(-18);
}
else
{
//If disabling SSN requirement, then prevent entering an age of 21+
dtPersonal_DoB.MinDate = DateTime.Now.Date.AddYears(-20);
dtPersonal_DoB.MaxDate = DateTime.Now.Date;
}
[/code]
Any ideas?
<telerik:RadGrid runat="server" ID="_grid" OnItemCreated="_grid_Created" AutoGenerateColumns="true" OnNeedDataSource="_grid_Need"><br> <MasterTableView TableLayout="Auto"><br> </MasterTableView><br> </telerik:RadGrid> protected void _grid_Need(object sender, GridNeedDataSourceEventArgs e)
{
List<Wraps> d = new List<Wraps>();
for (int i = 0; i < 10; i++)
{
d.Add(new Wraps
{
ID = i,
Address = "SOme thing//////.....",
Name = string.Format("SOME NAME {0}", i),
Zip = (i + 1000).ToString()
});
}
_grid.DataSource = d;
}
protected void _grid_Created(object sender, GridItemEventArgs e)
{
foreach (GridColumn column in e.Item.OwnerTableView.RenderColumns)
{
column.HeaderStyle.Width = Unit.Pixel(50);
column.ItemStyle.Width = Unit.Pixel(50);
}
}
Nothing happens . Kindly help me so that i be able to set different widths for diffrent columns ????
Thanks & Regards,
Francis P. Hi
This is my code to bind data to a RadComboBox:
With ddlFutureCode
.Items.Clear()
.Items.Add(New RadComboBoxItem("", 0))
.DataSource = l_ds.Tables(1)
.DataTextField = "Name"
.DataValueField = "Value"
.DataBind()
End With
It works fine, and places a blank row at the top if no selection is to be made. However:
With this code )setting a default tot blank row disappears so if the default value isn't required ist not possible to select a blank row.
With ddlFutureCode
.Items.Clear()
.Items.Add(New RadComboBoxItem("", 0))
.DataSource = l_ds.Tables(1)
.DataTextField = "Name"
.DataValueField = "Value"
.DataBind()
End With
ddlFutureCode.SelectedItem.Text = FutureCode
Andy
We are using near-latest version of the product. In our web site we have to display dynamically generated (via javascript) context menus. We cannot generate them on the back-end because we don't know how many or what options there will be until the user takes certain actions. However, each menu item will come from the master menu-bar that is created on the back-end for the overall site.
When the user takes action, we use javascript to determine which menu items from the master menu-bar are needed within the context menu. For each item, we create a new item and add it to the context menu (ps - the context menu is declaratively created on our master page's html, albeit with no menu items):
var newItem = new Telerik.Web.UI.RadMenuItem();popMenu.get_items().add(newItem);
The problem is, when the navigate url is rendered, it is total mangled.
Here is an example link from the 'main' menu bar (which works perfectly):
<a class="rmLink" style="width: 268px;" href="javascript:goDnetPage('attrition_total_exempt','4829','functions/reports/front_ends/pages/HRMetrics.aspx','Report=attrition_total_exempt') "><span class="rmText">Total Attrition</span></a>
The 'value' of the href attribute, when assigned into the 'newItem' object is correct - we have console.logged it (via newItem.get_navigateUrl) and it is accurate. However, when the menu item is rendered by the menu code, it comes out as:
<a class="rmLink" href="javascript:goDnetPage(" '="" hrmetrics.aspx','report="attrition_total_exempt')" pages="" front_ends="" reports="" attrition_total_exempt','4829','functions=""><span class="rmText">Total Attrition</span></a>
Something, I presume within the Telerik js, is totally munging up the href value, creating additional attributes for the 'a' element as it sees fit. I have tried replacing/escaping single ticks and slashes, but cannot seem to get it to come out right.
Any advice would be appreciated. Thank you.

Hi,
I have a radtabstrip which has sercontrols in it's pageview.
On the usercontrol I have a radiobuttonlist and I want to update a textbox on selection of a radiobutton. Howevere, the code is performing a full postback.
Below is my code.
ASCX:
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ucElection.ascx.cs" Inherits="enrollment_ucElection" %><telerik:RadAjaxManagerProxy ID="RadAJAXManagerProxy1" runat="server"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="_ElectionsOptions"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="Panel1" /> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings></telerik:RadAjaxManagerProxy><asp:ScriptManagerProxy ID="ScriptManagerProxy1" runat="server"></asp:ScriptManagerProxy><table > <tr> <td> <asp:RadioButtonList ID="_ElectionsOptions" runat="server" RepeatDirection="Vertical" AutoPostBack="true" OnSelectedIndexChanged="_ElectionsOptions_SelectedIndexChanged" RepeatLayout="Flow" /> <asp:Panel ID="Panel1" runat="server" > <telerik:RadNumericTextBox ID="txtBuyUpPercent" Type="Percent" runat="server"> <NumberFormat DecimalDigits="0" /> </telerik:RadNumericTextBox> (max 10%). </asp:Panel> </td> </tr></table>.CS:
protected void _ElectionsOptions_SelectedIndexChanged(object sender, EventArgs e)
{
if (_deferralElectionsOptions.SelectedIndex == 0)
{
txtBuyUpPercent.ReadOnly = true;
txtBuyUpPercent.Text = "";
}
else
{
txtBuyUpPercent.ReadOnly = false;
}
}
Content ASPX page:
<%@ Page Language="C#" MasterPageFile="~/enrollment/enrollmentWizard.master" AutoEventWireup="true" CodeFile="ELIP.aspx.cs" Inherits="enrollment" Title="Enrollment" %><%@ Register TagPrefix="iSys" TagName="insuranceApplication" Src="~/enrollment/ucInsuranceApplication.ascx" %><%@ Register TagPrefix="iSys" TagName="deferralElections" Src="~/enrollment/ucElection.ascx" %><asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" runat="Server"> <div> <telerik:RadTabStrip ID="rtsEnrollment" runat="server" MultiPageID="rmpEnrollment" OnTabClick="rtsEnrollment_TabClick" SelectedIndex="0" CausesValidation="true" AutoPostBack="true"> <Tabs> <telerik:RadTab Text="Deferral Election" PageViewID="ElectionsTab"></telerik:RadTab> <telerik:RadTab Text="Insurance Application" PageViewID="insuranceApplicationTab"></telerik:RadTab> </Tabs> </telerik:RadTabStrip> <telerik:RadMultiPage ID="rmpEnrollment" runat="server" OnPreRender="rmpEnrollment_PreRender" RenderSelectedPageOnly="true"> <telerik:RadPageView runat="server" ID="ElectionTab" Selected="true"> <iSys:deferralElections ID="ucElection" runat="server" /> </telerik:RadPageView> <telerik:RadPageView runat="server" ID="insuranceApplicationTab"> <iSys:insuranceApplication ID="ucInsuranceApplication" runat="server" /> </telerik:RadPageView> </telerik:RadMultiPage> </div></asp:Content>RADAjaxManager is declared on the master Page file.
Please suggest what am I doing wrong.