Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
185 views
Please i have this on my page

add assembly="Telerik.Web.Design, Version=2012.1.215.35, Culture=neutral, PublicKeyToken=121FAE78165BA3D4"/>

the work is runnind fine on my system but when i build the aplication and install it on another laptop, the page will not be the same; the muilti page will split with part of its data many pixels down the page and the controls will be in different locations and will not be working, textbox with distorted width and not working.
I have also made sure my css file is working but the problem i have occurs only with the RadControls.

Please i will appreciate if you help me find an answer to this.
Thanks so much

Francis
Rumen
Telerik team
 answered on 30 Mar 2012
1 answer
127 views
Hi,

We use the RadSplitter to manage our two RadPanes.
Now, the RadSplitbar button position depends on the height of the panes.

Is there a way to define the position of the button ? (for example, I want to display the button at 50px from the top of the splitbar).

Thank you.
Best regards,
Jérôme
Princy
Top achievements
Rank 2
 answered on 30 Mar 2012
1 answer
105 views
All,

I have 2 rad list boxes working in tandem (boxA, boxB)... and I have some list items that are mandatory selections that must always remain in boxB and never be removed.

On the server side I populate boxA and then automatically add mandatory list items in boxB.

Next, I prevent users from transfering a mandatory item from boxB back to boxA via client side code.
I have devised a way to enforce this functionality (using OnClientTransferring ) for a single transfer from boxB to boxA, but I am not sure how to approach enforcing this for a "Transfer All" / "All to Left" transfer.  Please see attached.

If someone could provide some direction here it would be appreciated.

Thanks,
Jai


Peter Filipov
Telerik team
 answered on 30 Mar 2012
3 answers
147 views
Is there a way using OData binding to sort the results or to limit the columns to only the data value and data text fields?

<telerik:RadComboBox ID="cmbApplication" runat="server" EnableLoadOnDemand="true">
    <WebServiceSettings Path="http://localhost:26022/DataService.svc/">
            <ODataSettings ResponseType="JSONP">
                    <Entities>
                            <telerik:ODataEntityType Name="Application" DataValueField="ApplicationID" DataTextField="AppName" />
                     </Entities>
                      <EntityContainer>
                              <telerik:ODataEntitySet EntityType="Application" Name="Application" />
                      </EntityContainer>
               </ODataSettings>
     </WebServiceSettings>
</telerik:RadComboBox>
Dimitar Terziev
Telerik team
 answered on 30 Mar 2012
3 answers
439 views
Hi My RadGrids column width's are not being constrained.
It doesn't matter if i set the header-item-width or the whole radgrid's with or item-width or put div tags around it and constrain the size of the div, - the RadGrid will grow as much as needed to fit all of it's data it will grow to way off the screen, it will not wrap the column's data either.

I've attached a screenshot to illustrate the issue.

And here is the aspx code--- do you see any reason why the column is going off the page like crazy?

    <div style="width:1000px">
    <telerik:RadGrid ID="rgLCSLog" runat="server" AutoGenerateColumns="False" 
        CellSpacing="0" GridLines="None" AutoGenerateDeleteColumn="True" 
        onneeddatasource="rgLCSLog_NeedDataSource" AutoGenerateEditColumn="True" 
        oninsertcommand="rgLCSLog_InsertCommand" 
        ondeletecommand="rgLCSLog_DeleteCommand" 
        onupdatecommand="rgLCSLog_UpdateCommand" Width="1000px">
             
            <MasterTableView CommandItemDisplay="Top" EditMode="EditForms" DataKeyNames="id" >
                <CommandItemSettings AddNewRecordText="Add LCS Log" 
                    />
                
                <Columns>
                    <telerik:GridBoundColumn DataField="time_off" 
                        FilterControlAltText="Filter column column" HeaderText="Time Off" 
                        UniqueName="column">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="time_on" 
                        FilterControlAltText="Filter column1 column" HeaderText="Time On" 
                        UniqueName="column1" DataType="System.DateTime">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="equipment_area" 
                        FilterControlAltText="Filter column2 column" HeaderText="Equip/Area" 
                        UniqueName="column2">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="affected_customers" 
                        FilterControlAltText="Filter column3 column" HeaderText="Affected Customers" 
                        UniqueName="column3" HeaderStyle-Width="100px">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Account_Representative" 
                        FilterControlAltText="Filter column4 column" HeaderText="Acct Rep" 
                        UniqueName="column4">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="last_updated" 
                        FilterControlAltText="Filter column5 column" HeaderText="Last Updated" 
                        UniqueName="column5">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="last_updated_by" 
                        FilterControlAltText="Filter column6 column" HeaderText="Last Updated By" 
                        UniqueName="column6">
                    </telerik:GridBoundColumn>
                </Columns>
                <EditFormSettings UserControlName="~/ReportControls/AddEditGridControls/AddEditLCSLog.ascx" EditFormType="WebUserControl">
                    <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                    </EditColumn>
                </EditFormSettings>
            </MasterTableView>                
    </telerik:RadGrid>
  
</div>
Shinu
Top achievements
Rank 2
 answered on 30 Mar 2012
1 answer
129 views
Greetings,

I have an issue with the RadToolTip in Google Chrome 17.0.963.83 m (it works fine in IE and Firefox), it's displaying far from the target control. Check attached image.

I'm using Rad Controls for ASP.NET 2011.1.315.35

Here is the declaration of the ToolTip:
<div id="P2apptext1" class="apptext" >               
                    <p>Para ser usuario del servicio Enfirme se deben cumplir las siguientes condiciones:</p>
                    <ol>
                        <li>Tener cuenta bancaria</li>
                        <li>Ser una persona mayor de edad y plenamente capaz <a id="RadToolTipP21" href="#"><img src="/Formulario/icons/help.png" width="20" height="20" alt="Ayuda" border="0" style="vertical-align: middle;"/></a> </li>
                        <li>Residir en Colombia</li>
                        <li>Si es empleado público, no debe administrar recursos públicos</li>
                        <li>Disponer de una cuenta de correo, donde recibirá toda la información asociada al servicio</li>
                        <li>El propósito de la relación comercial será para la compra y venta de acciones, y la posibilidad de invertir en el Fondo Acciones BYR y Fondo Liquidez BYR</li>
                        <telerik:RadToolTip
                            ID="RadToolTipP21a"
                            runat="server"
                            Height="100px"
                            Width="250px"
                            AutoCloseDelay="30000"
                            IsClientID="true"
                            TargetControlID="RadToolTipP21"
                            Position="TopCenter"
                            RelativeTo="Element"
                            EnableShadow="true"
                            Text="La Capacidad jurídica es la aptitud para ser titular de derechos y obligaciones; de reclamar los primeros y contraer los segundos en forma personal y comparecer a juicio por propio derecho." />
                    </ol>
                    <p>En caso de requerir otros productos como Renta Fija, Derivados, Divisas, Simultáneas, etc. por favor <a id="linkP2" href="../utilidades/contactenos.aspx" >contáctenos</a>.</p>
                </div>

Thanks in advance.
Marin Bratanov
Telerik team
 answered on 30 Mar 2012
1 answer
109 views
GridFooterItem:

How can I change the culture and format of Grid footer item?
Iana Tsolova
Telerik team
 answered on 30 Mar 2012
1 answer
168 views
Hello,

We're developing web parts in SharePoint using RadControls.  We're allowing our customers to select which skin they'd like to apply from the list of available embedded skins, and just recently we encountered a problem with IE and it's 31-stylesheet limit.  If we have more than 2 or 3 components on the page, the styling is not properly applied.  So we're tyring to make use of the RadStyleSheetManager to combine the skin styles to reduce the number of files on the page.

This is what I have so far, in PageLoad, the following code is called:

CWGrid.Skin = skinName;
CWGrid.EnableEmbeddedBaseStylesheet = false;
CWGrid.EnableEmbeddedSkins = false;
RadAjaxLoadingPanel1.Skin = skinName;
RadAjaxLoadingPanel1.EnableEmbeddedBaseStylesheet = false;
RadAjaxLoadingPanel1.EnableEmbeddedSkins = false;
//context menu
cm.Skin = skinName;
cm.EnableEmbeddedBaseStylesheet = false;
cm.EnableEmbeddedSkins = false;
gcm.Skin = skinName;
gcm.EnableEmbeddedBaseStylesheet = false;
gcm.EnableEmbeddedSkins = false;
//radWindow
cwPrintWindow.Skin = skinName;
cwPrintWindow.EnableEmbeddedBaseStylesheet = false;
cwPrintWindow.EnableEmbeddedSkins = false;
 
string telerikAssembly = typeof(RadGrid).Assembly.FullName;
//string telerikAssembly = "";
string telerikSkinsAssembly = typeof(Telerik.Web.UI.Skins.RadGrid).Assembly.FullName;
//string telerikSkinsAssembly = "";
string[] components = { "ToolBar", "Input", "Grid", "Menu", "ComboBox", "Calendar", "Menu", "Window" };
if (RadStyleSheetManager.GetCurrent(wp.Page) != null) cssManager = RadStyleSheetManager.GetCurrent(wp.Page);
 
for (int i = 0; i < components.Length; i++)
{
    cssManager.StyleSheets.Add(new StyleSheetReference("Telerik.Web.UI.Skins." + skinName + "." + components[i] + "." + skinName + ".css", telerikSkinsAssembly));
    cssManager.StyleSheets.Add(new StyleSheetReference("Telerik.Web.UI.Skins.Default." + components[i] + ".Default.css", telerikAssembly));
    cssManager.StyleSheets.Add(new StyleSheetReference("Telerik.Web.UI.Skins." + components[i] + ".css", telerikAssembly));
}


But for some reason the combined css file is rendered empty, and nothing is styled.  What am I missing?
Tsvetina
Telerik team
 answered on 30 Mar 2012
2 answers
136 views
when using open access entities with wcf endpoints service how do I pass the value from the selected row to the object datasource for load on demand of the detail table, it is not the entityid it is a secondary id I am trying to pass, the one supporting the parent/child relationship of the master/detail tables.  I think I have to use the search with searchparameters but I do not know the syntax to pass in the search parameters.  Acutal Code snips are appreciated.  
Iana Tsolova
Telerik team
 answered on 30 Mar 2012
2 answers
135 views
Hello,
In telerik calendar control it only showing 30 days in December 2099. Is there is any reason for this? :)
Milena
Telerik team
 answered on 30 Mar 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?