I have a problem in that when I have a RadGrid inside a RadWindow with Firefox. With FireFox I can't seem to resize the radgrid properly. The resizing works fine in IE.
For example, have a RadWindow that I open ("ClientSearch") Width=600 Height=450. In my example I am (for testing purposes) setting the RadGrid to Width=100 Height=100.
This screencap shows how it renders in IE.
This screencap shows how it renders in FireFox.
(I also attached files)
Could anyone tell me what I'm doing wrong? Is there another way to resize the radGrid?
Cutting to it, here is the Javascript I use to resize, the main page that defines the Window, and the code snipplet in the window that defines the grid. On the page that I define the grid I do <ClientEvents OnMasterTableViewCreated="SetGridSizeLocator"> .. this is what calls the Javascript.
function setGridSizeLocator() |
{ |
document.getElementById('ctl00_PrimaryContent_EntityGrid_GridData').style.width = 100; |
document.getElementById('ctl00_PrimaryContent_EntityGrid_GridData').style.height = 100; |
}; |
<telerik:RadWindowManager ID="RadWindowManager1" runat="server" ShowContentDuringLoad="false" VisibleStatusbar="false" ReloadOnShow="true" EnableEmbeddedSkins="false" Skin="Locator2009" Modal="true"> |
<Windows> |
<telerik:RadWindow runat="server" IconUrl="images/lookup.gif" Title="Client Search" ID="Window1" Width="600" Height="450" Behaviors="Close"></telerik:RadWindow> |
<telerik:RadWindow runat="server" IconUrl="images/toolbar/Tasksmall.gif" Title="Tasks" ID="WindowClientInbox" Width="635" Height="375" BackColor="White" Behaviors="Close,Move,Resize"></telerik:RadWindow> |
</Windows> |
<asp:UpdatePanel ID="UpdatePanel1" runat="server"> |
<ContentTemplate> |
<table width="100%"> |
<tr> |
<td align="left"> |
<telerik:RadGrid ID="EntityGrid" EnableEmbeddedBaseStylesheet="false" EnableEmbeddedSkins="false" runat="server" EnableLinqExpressions="true" GridLines="None" AllowSorting="True" AllowPaging="True" PageSize="13" Skin="Vista2009" ClientSettings-EnableRowHoverStyle="true" > |
<ClientSettings > |
<ClientEvents OnMasterTableViewCreated="setGridSizeLocator" /> |
<Selecting AllowRowSelect="True" /> |
<Scrolling AllowScroll="True" /> |
<ClientEvents OnRowDblClick="LocatorGridEntitySelect" OnRowSelected="LocatorGridEntityContext" /> |
</ClientSettings> |
<PagerStyle Mode="NumericPages" /> |
<MasterTableView ClientDataKeyNames="RecordID,DisplayText,UIDisplay,UIKey"> |
<EditFormSettings> |
<EditColumn InsertImageUrl="Update.gif" UpdateImageUrl="Update.gif" EditImageUrl="Edit.gif" CancelImageUrl="Cancel.gif"></EditColumn> |
</EditFormSettings> |
</MasterTableView> |
</telerik:RadGrid> |
</td> |
</tr> |
</table> |
</ContentTemplate> |
</asp:UpdatePanel> |
Hi All.
How do i download the demo of this, as i only have updated my Telerik, but i want to download the full demo that you have, as i have not downloaded any demos.
I use item.Display = false; in the RadGrid1_ItemCreated. This hides the item fine. Page count is 15 and only shows 10 because 5 are hidden.
Is there a way to show the 15 requested...
Thanks
hello all
i have tow question ?
i work on invoice web app
i add a gridview with sqldatasource
firstly
in this grid view i have a textbox to inter Qty and other column with in stock value i have to prevent user add qty value larger than in stock value so i want to add compare validation inside gridview (Qty most be less or equal instock value)
Secondly
i add a combox inside gridview with other sqldatasource , this combo box have three column i want textbox in other column to get one of this column vale when combobox selected chanched
im looking forward to here from you
regard
We are doing some work for a client who has a number of web applications which were initially built in .net 2.0 and which use Telerik 2009.1.402.20.
As part of some minor changes to the applications. We also upgraded to .net 4.0. This has caused a number of issues with the telerik controls and we are assuming that there are compatibility issues between this version and .net 4.0.
We tried to fix a number of issues by using the known _DestoryTree JS fix. However this doesn't seem to have worked for many of the issues.
Could someone please advise on the following:
1 - Is there anyway around the incompatibility?
2 - If not and an upgrade in Telerik is required will this in itself cause other issues with the migration from the old version to the new? Are there issues with backward compatibility.
Thanks for your help.
RadComboBox not rendered (Rendered as "") when within asp panel with initial visible= false.
The asp panel is set to visible= true when postback is triggered via client using ajaxManager.ajaxRequest('InitialPageLoad'
protected void Page_Load(object sender, EventArgs e)
{
// register ajax
Telerik.Web.UI.RadAjaxManager ajaxMgr_CCF = Telerik.Web.UI.RadAjaxManager.GetCurrent(Page);
ajaxMgr_CCF.AjaxRequest += new RadAjaxControl.AjaxRequestDelegate(AjaxRequestsForCCF);
}
protected void AjaxRequestsForCCF(object sender, AjaxRequestEventArgs e)
{
if (e.Argument == "InitialPageLoad")
{
pnlWithComboBox.Visible = true;
}
}
The panel has other server side control but they render fine.
If I set radComboBox1.visible = true then it works fine. But should it automatically render and no need for setting specificly
<
asp:Panel
ID
=
"pnlWithComboBox"
runat
=
"server"
visible
=
"false"
>
<
telerik:RadComboBox
ID
=
"radcombobox1"
runat
=
"server"
Width
=
"123px"
RenderMode
=
"Lightweight"
OnSelectedIndexChanged
=
"btnSavePlaybackForward_Click"
AutoPostBack
=
"true"
OnClientSelectedIndexChanged
=
"comboBoxContext"
>
<
Items
>
<
telerik:RadComboBoxItem
Text
=
"1"
Value
=
"1"
runat
=
"server"
/>
<
telerik:RadComboBoxItem
Text
=
"2"
Value
=
"2"
runat
=
"server"
/>
<
telerik:RadComboBoxItem
Text
=
"3"
Value
=
"3"
runat
=
"server"
/>
</
Items
>
</
telerik:RadComboBox
>
</
asp:Panel
>
function initializePage(sender, eventArgs) { var ajaxManager = $find('<%= RadAjaxManager.GetCurrent(this.Page).ClientID %>'); ajaxManager.ajaxRequest('InitialPageLoad');
}
<telerik:AjaxSetting AjaxControlID="radAjaxManager1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="pnlWithComboBox" />
</UpdatedControls>
</telerik:AjaxSetting>
Hello
I have an old version of Telerik Devcraft RadControls For Asp Net Ajax. (v 2013_3_1015)
I want to develop an asp.net web application with Xamarin Studio.
I have copy 2 dlls: Telerik.Web.UI and Telerik.Web.UI.Skins. I've fetch web.config file from a visual studio project.
The project compiles and run fine on an Apple computer !
But *.asp.designer.cs files are not been generating or update. I have to write thoses designer files by hand.
What should i do ?
Thanks