Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
88 views
Hi

I am trying to match a panel bar to an existing site design. The Sitefinity skin is the nearest to
what is needed but I need to tweak the background color of the panel, and the size, color, family, of the font
at the group and child level.

I started off with this but it had no effect at all.
.RadPanelBar .rpRootGroup,     
.RadPanelBar .rpRootGroup .rpLink   
{     
     border: none !important;     
     background-color: #FFFFFF !important;
     font-family:Verdana !important;   
     text-decoration: none;   
     border-bottom-width: 0px !important;   
}   
.RadPanelBar .rpOut   
{   
    border-bottom-width: 0px !important;   
}

Maybe the naming convention is different for Q2 2010 version.

Please point me in the right direction!

Thanks

Clive
Yana
Telerik team
 answered on 20 Sep 2010
0 answers
92 views
Hi Telerik Team,

I have a editor with a Label tag as its content.
when i navigate from DESIGN view to HTML mode.
i can see the tag like this
<label class="CMS40FaqContentArea001" id="CMS40FaqContentArea001" style="padding-right: 5px;  padding-left: 20px; font-weight: bold; background: url(../images/widgets_sml/faqcontentarea.png) #cccccc no-repeat left center;   height: 20px; text-align: right;border: #000000 1px dotted;" runat="server" name="FaqContentArea">FAQ CONTROL</label>

but when i drag and drop the Label tag some where around the editor, then if i see the HTML mode i see Runat="server" attribute missing may i know what is this problem and how can i fix it....

<label style="padding-right: 5px;  padding-left: 20px; font-weight: bold; background: url(../images/widgets_sml/faqcontentarea.png) #cccccc no-repeat left center;   height: 20px; text-align: right;border: #000000 1px dotted;" class="CMS40FaqContentArea001" name="FaqContentArea" id="CMS40FaqContentArea001">FAQ CONTROL</label>



plzz replay aspd...

Thanks
K²
Ali Faraji
Top achievements
Rank 1
 asked on 20 Sep 2010
1 answer
285 views
Hi,

I am using multiple radcombo boxes on a user control. The problem I am facing is the list of items in the combo box for all the radcombo's show in one place....which is way away from the combo box it self.

Can you please help me to identify, why I am facing this issue and what can the suggested resolution..


Thank you,
Jay Mehta.
Yana
Telerik team
 answered on 20 Sep 2010
4 answers
396 views
Hi,

I am opening a user control (which has a close button in it) in radtooltipmanager.
 I want to execute some server side code on close button and at the same time i want to close the radtooltipmanager, how can I achieve this ?

Is there any way to Close the radtooltipmanager from code behind (on close button click)


Regards,
Svetlina Anati
Telerik team
 answered on 20 Sep 2010
2 answers
105 views
Im currently upgrading Telerik components from 2009.2.701.35 to 2010.2.826.35, and i got problem with window resizing.
If i set the property EnableEmbeddedBaseStylesheet="false" the window look like in the picture bellow.
if i dont set that property the window is not resizing on call. Could you tell me what could be the cause and if there are any other issues when upgrading Telerik components.
Deni
Top achievements
Rank 1
 answered on 20 Sep 2010
2 answers
44 views
I am in much need of that new Button control, our designer just threw me for a bit of a loop on his latest iteration where I need to build my own (or use the new telerik one).
sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 20 Sep 2010
2 answers
200 views
Hi,

I have the following lines in my page.

 //Gives Error

<telerik:GridNumericColumn Aggregate="Sum" DataField="SubDetails.Value" HeaderText="Mon" UniqueName="Mon" 

 

ItemStyle-HorizontalAlign="Right" FooterStyle-HorizontalAlign="Right" HeaderStyle-Wrap="true" />

//Working perfectly

 

 

 

<telerik:GridNumericColumn Aggregate="Sum" DataField="Units" HeaderText="Tue" UniqueName="Tue"  

 

 

ItemStyle-HorizontalAlign="Center" HeaderStyle-Wrap="true" />

It gives me the following error

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NotSupportedException: Average is not supported for type "System.Object" at Telerik.Web.UI.GridBoundColumn.GetAggregateByType[T](IQueryable queryable, String fieldName, GridAggregateFunction func)

public Class Details1
{
        public int Value { get; set }
}

public Class Details2
{
        public int ID{ get; set }
        public Details1 SubDetails { get; set }
}


Kindly guide me to solve this problem.

Thanks
Katte

 

 

Veli
Telerik team
 answered on 20 Sep 2010
1 answer
246 views

Hi,


I'm trying to use a grid to bind to an object data source that receives tis data from EF4.

I run into problems when I try to edit a column that is an associated entity.


I have the following two entities:

Register_App and

App

Register_App is associated to App. Thus Register_App has a property App which in turn has an ID.


I would like to display a dropdown combo so I can select the appropriate App and this infpo is persisted to the


object data source.


I made the following grid column:



<telerik:GridDropDownColumn ListTextField="Name" ListValueField="Id" DataSourceID="odsApps" 
HeaderText="App" DataField="App.ID"
 DropDownControlType="RadComboBox"></telerik:GridDropDownColumn>




It works fine in display mode. The App is bound based on the DataField App.ID, and the correct Name is displayed.

When I turn to edit mode, all is wel again. A combobox is displayed with all the Apps and the correct one is


displayed. When I try to save the data I get the following error:



System.InvalidOperationException: Could not find a property named 'App.ID' on the type specified by the
DataObjectTypeName property in ObjectDataSource 'odsRegApps'. at
System.Web.UI.WebControls.ObjectDataSourceView.BuildDataObject(Type dataObjectType, IDictionary inputParameters) at
System.Web.UI.WebControls.ObjectDataSourceView.ExecuteUpdate(IDictionary keys, IDictionary values, IDictionary
oldValues) at System.Web.UI.DataSourceView.Update(IDictionary keys, IDictionary values, IDictionary oldValues,
DataSourceViewOperationCallback callback) at Telerik.Web.UI.GridTableView.PerformUpdate(GridEditableItem
editedItem, Boolean suppressRebind) at Telerik.Web.UI.GridCommandEventArgs.ExecuteCommand(Object source)

I am surprised that the property App.ID is resolved in Display mode and Edit mode but not during save. Do you know


what I'm doing wrong?


Any help is greatly appreciated,

best regards,

Chris Vrolijk



P.S. Below I included my entire control:


<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="AdminApps.ascx.cs"
 
Inherits="ActuIT.Futurama.ManagementSite.RegisterAdminAppsControl" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<asp:ObjectDataSource ID="odsRegApps" runat="server"
 
DataObjectTypeName="ActuIT.Futurama_Vision.EFDataLayer.Register_App"
    SelectMethod="GetRegisterApps" TypeName="ActuIT.Futurama_Vision.Business.Register" UpdateMethod="UpdateApp"
    DeleteMethod="DeleteApp" InsertMethod="InsertApp" >
    </asp:ObjectDataSource>
<asp:ObjectDataSource ID="odsPAs" runat="server"
 
DataObjectTypeName="ActuIT.Futurama_Vision.EFDataLayer.Register_PA"
    SelectMethod="GetPAs" TypeName="ActuIT.Futurama_Vision.Business.Register" ></asp:ObjectDataSource>
<asp:ObjectDataSource ID="odsPUVs" runat="server"
 
DataObjectTypeName="ActuIT.Futurama_Vision.EFDataLayer.Register_PUV"
    SelectMethod="GetPUVs" TypeName="ActuIT.Futurama_Vision.Business.Register"></asp:ObjectDataSource>
<asp:ObjectDataSource ID="odsApps" runat="server" DataObjectTypeName="ActuIT.Futurama_Vision.EFDataLayer.App"
    SelectMethod="GetApps" TypeName="ActuIT.Futurama_Vision.Business.Vision" ></asp:ObjectDataSource>
<telerik:RadGrid ID="gridApps" runat="server"
    AllowAutomaticDeletes="True"
    AllowPaging="True"
    AutoGenerateColumns="True"
    AllowAutomaticUpdates ="true"
    AllowAutomaticInserts = "true"
    DataSourceID="odsRegApps"
   >
    <MasterTableView CommandItemDisplay="Top" AutoGenerateColumns="False" DataKeyNames="Id"
 
DataSourceID="odsRegApps">
        <RowIndicatorColumn>
            <HeaderStyle Width="20px" />
        </RowIndicatorColumn>
        <ExpandCollapseColumn>
            <HeaderStyle Width="20px" />
        </ExpandCollapseColumn>
        <Columns>
            <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn"
 
HeaderText="Edit" >
            </telerik:GridEditCommandColumn>
            <telerik:GridButtonColumn ButtonType="ImageButton" CommandName="Delete" UniqueName="DeleteColumn"
 
ConfirmText="Are you sure you want to delete this application?" ConfirmTitle="Confirm Delete"
 
ConfirmDialogType="Classic" HeaderText="Delete">
            </telerik:GridButtonColumn>
            <telerik:GridBoundColumn DataField="Id" UniqueName="Id" HeaderText="Register ID" Visible="true"
 
ReadOnly="true">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="Name" UniqueName="Name" HeaderText="Naam">
            </telerik:GridBoundColumn>
            <telerik:GridCheckBoxColumn UniqueName="UseXMLData" DataField="UseXMLData"
            HeaderText="UseXMLData"  />
            <telerik:GridBoundColumn  ColumnEditorID="txtDocument" DataField="Document" UniqueName="Document"
 
HeaderText="Document">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="Folder" UniqueName="Folder" HeaderText="Folder">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="WebService" UniqueName="WebService" HeaderText="WebService">
            </telerik:GridBoundColumn>
            <telerik:GridDropDownColumn ListTextField="Name" ListValueField="Id" DataSourceID="odsApps" 
 
HeaderText="App" DataField="App.ID"
 DropDownControlType="RadComboBox"></telerik:GridDropDownColumn>
            <telerik:GridDropDownColumn ListTextField="Code" ListValueField="Id" DataSourceID="odsPAs" 
 
HeaderText="PA" DataField="Register_PA.Id"
 DropDownControlType="RadComboBox"></telerik:GridDropDownColumn>
            <telerik:GridDropDownColumn ListTextField="Code" ListValueField="Id" DataSourceID="odsPUVs" 
 
HeaderText="PUV" DataField="Register_PUV.Id"
 DropDownControlType="RadComboBox"></telerik:GridDropDownColumn>
 
        </Columns>
         <EditFormSettings ColumnNumber="2" CaptionDataField="Name" InsertCaption="Voeg register applicatie toe"
 
EditFormType="AutoGenerated">
            <EditColumn InsertText="Insert" EditText="Edit application id #:" EditFormColumnIndex="0"
 
UpdateText="Application updated" UniqueName="InsertCommandColumn1" CancelText="Cancel"
 
ButtonType="ImageButton"></EditColumn>
        </EditFormSettings>
            </MasterTableView>
</telerik:RadGrid>




Veli
Telerik team
 answered on 20 Sep 2010
1 answer
143 views
I'm trying to use the standard edit form for a particular grid.  One of the columns in the edit form is a radcombobox.  What I want to do is to find the combo box and place a linkbutton next to it which will say something like "add new site".  When the click the linkbutton, I'll show a small window which will basically take just a text value.  When they save this info, it will make a new site, and the new site's id and name will show up in the combobox.  Can anyone help me?  Thanks.
Princy
Top achievements
Rank 2
 answered on 20 Sep 2010
0 answers
49 views
Hello,

I want to develop a asp.net website but don't want to use view state of any controls. Controls view state property will be disabled. Specially Rad Grid control and tree view which take lots of time to display page on browser.

So any one can suggest. Is it better decision to make all controls view state property false. And can any one suggest what type of functionality will not work if i make rad grid controls view state property false or tree view view state property false.

Please Suggest.


Thanks in Advance,
Reyaz


Reyaz Ahmad
Top achievements
Rank 1
 asked on 20 Sep 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?