Hi,
I am using Telerik radgrid with HeaderStyle-Width as percentages for grid columns. If the zoom the browser zoom level to more than 100%, header text is being truncated. Grid width is set to 100%.
Grid has following client settings.
1. UseStaticHeaders = true
2. AllowScroll = True
How can I overcome the issue of truncated header text.
Thanks
Hello!
I've downloaded source code for AJAX Controls (Telerik.Web.UI_2010_3_1317_Source.zip). Then I opened it in the VS 2010, switch project target framework to .NET 4 and tried to build solution. But there was an error in file CSDialog.cs:
Error 3 The type or namespace name 'BasicClient' could not be found (are you missing a using directive or an assembly reference?) D:\3rd party\Telerik\dev\Telerik.Web.UI\Editor\DialogControls\CSDialog.cs 160 18 Telerik.Web.UI
How to fix it and build DLL for .NET 4.0?

<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