Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
87 views
I create a simple page...  add a bunch of objects including a window and a menu.

Set properties on the window:
modal = True
VisibleOnPageLoad = True

I run the project and the entire page is in modal state except for the RadMenu which I can still click on to nagivate the project.

Is this a bug?  An expected behavior? Something I need to program around?

Please advise.

R
Robert
Top achievements
Rank 1
 answered on 27 Aug 2009
1 answer
119 views
Is it possible to show radtooltip inside Itemtemplate in a radgrid in a MVC framework ? When I put radtooltip inside GridTemplateColumn in radgrid, I get an erro " Script controls may not be registered after PreRender". Please help.
Thanks 
Anil 
Svetlina Anati
Telerik team
 answered on 27 Aug 2009
1 answer
93 views
Hi,

I have two questions regarding the RadEditor. I am using RadControls 2009 Q2 within MOSS 2007, and I use the RadEditor in my custom webparts.

1) the default font size and font-family are set to Verdana with a size:3. I wish to change this setting, but could not find which css class defines this. Please advise.

2) I have Image Manager enabled in my RadEditors. For some reason the upload button in the Image Dialog suddenly stopped working, and I do set the values to ViewImagePath and UploadImagePath.

Thanks,
Vincent
Stanimir
Telerik team
 answered on 27 Aug 2009
1 answer
123 views
Hi,

We use the telerik Q 2009 with llblgen pro as #1 O/R mapper and data-access tier generator for .NET.
I create a simple grid directly connected on the entity object via a asp:objectdatasource.

The method select and insert works fine.
But i have a problem with the update method and delete.

For the update and delete method i have the following :
49|error|500|The field 'Id' is read-only and can't be changed.|
If I enable the column Id i don't have any error but the item is not update but created.

I try also to use UpdateCommand Event and UpdateParameters but i received the same error.
Any experience with LLBLgen and Telerik ?

Thanks is advance for your help.

Edwin.


Bellow my code for the Grid :

<telerik:RadGrid ID="GridBranche" runat="server"  
    AutoGenerateColumns="false"  
    PageSize="20"  
    GridLines="None" 
    AllowPaging="true"  
    AllowAutomaticInserts="true"  
    AllowAutomaticUpdates="true"  
    AllowAutomaticDeletes="true" 
    DataSourceID="_objDataSource"  
    PagerStyle-AlwaysVisible="True" OnItemDeleted="GridBranche_OnItemDeleted"> 
    <PagerStyle Mode="Slider" /> 
    <MasterTableView EditMode="InPlace" CommandItemDisplay="Top" HorizontalAlign="NotSet" AutoGenerateColumns="false"  
    DataKeyNames="Id"> 
        <Columns> 
            <telerik:GridBoundColumn HeaderText="Id" DataField="Id" DataType="System.Int32"  
            SortExpression="Id" UniqueName="BrancheId" ReadOnly="true" /> 
            <telerik:GridBoundColumn HeaderText="Naam" DataField="Name" /> 
            <telerik:GridDropDownColumn HeaderText="Taal" DataField="LanguageId" DataSourceID="_objLanguageSource"  
            DataType="System.Int32" ListValueField="Id" ListTextField="Name" SortExpression="Id" UniqueName="Languages">             
            </telerik:GridDropDownColumn> 
            <telerik:GridDropDownColumn HeaderText="Land" DataField="CountryId" DataSourceID="_objCountrySource"  
            DataType="System.Int32" ListValueField="Id" ListTextField="Name" SortExpression="Id" UniqueName="Country"> 
            </telerik:GridDropDownColumn>             
            <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn" HeaderText="Bewerken" /> 
            <telerik:GridButtonColumn ConfirmText="Delete this branche?" ConfirmDialogType="RadWindow" 
                        ConfirmTitle="Delete" ButtonType="ImageButton" CommandName="Delete" Text="Delete" 
                        UniqueName="DeleteColumn" HeaderText="Wissen" /> 
        </Columns> 
        <EditFormSettings ColumnNumber="3" CaptionDataField="Name" CaptionFormatString="Aanpassen branche: {0}"> 
            <FormTableItemStyle Wrap="false" /> 
            <FormMainTableStyle GridLines="None" CellPadding="3" BackColor="White" Width="100%" /> 
            <FormTableStyle CellSpacing="0" CellPadding="2" Height="110px" BackColor="White" /> 
            <FormTableAlternatingItemStyle Wrap="False"></FormTableAlternatingItemStyle> 
            <EditColumn ButtonType="ImageButton"  
                InsertText="Insert banner type" UpdateText="Update banner type" UniqueName="EditCommandColumn1" CancelText="Cancel edit"> 
            </EditColumn> 
        </EditFormSettings> 
    </MasterTableView> 
</telerik:RadGrid> 
 
<asp:ObjectDataSource ID="_objDataSource" runat="server" 
    InsertMethod="SaveBranche"  
    SelectMethod="GetBranchesForOverview"  
    UpdateMethod="SaveBranche"  
    DeleteMethod="DeleteBranche" 
    TypeName="Adver.Service.Domain.BranchesService"  
    DataObjectTypeName="Adver.Business.EntityClasses.BranchesEntity">    
</asp:ObjectDataSource> 
 
<asp:ObjectDataSource ID="_objLanguageSource" runat="server" SelectMethod="GetLanguages"  
TypeName="Adver.Service.Domain.LanguageService"> 
</asp:ObjectDataSource> 
 
 
<asp:ObjectDataSource ID="_objCountrySource" runat="server" SelectMethod="GetCountries"  
TypeName="Adver.Service.Domain.CountryService"> 
</asp:ObjectDataSource> 


code for the service layer

public bool  SaveBranche(BranchesEntity entity) 
        { 
            if(entity.Id > 0) 
            { 
                entity.IsNew = true; 
            } 
            return repository.SaveBranche(entity); 
        } 
 
        public bool UpdateBranche(BranchesEntity entity, int id) 
        { 
            entity.Fields[(int)BranchesFieldIndex.Id].ForcedCurrentValueWrite(id); 
            entity.IsNew = false; 
            return repository.SaveBranche(entity); 
        } 




Rosen
Telerik team
 answered on 27 Aug 2009
2 answers
123 views
Hi,

I'm using RadGrid with Filtercolumns on most of then. My problem is that I want to change the dropdown Filter option (NotLike, Contains,...etc) to another language rather than English.
Can you tell me if it is possible?

Best Regards
Eduardo Barbosa
Madrinha
Top achievements
Rank 1
 answered on 27 Aug 2009
2 answers
62 views
I have IE7 version 7.0.5730.13 and the dialogs on the demos page all popup as blank white windows.  They show the loading animation but then just display a blank white window.  This is happening in our live applications as well.  Is anyone else having this issue?

Firefox and Chrome are working fine.

http://demos.telerik.com/aspnet-ajax/editor/examples/default/defaultcs.aspx
Rumen
Telerik team
 answered on 27 Aug 2009
2 answers
106 views
Hi,i need a control which will copy an image from word to the control directly which i want to use in MOSS 2007
when a user will create a new item on a list he should be able to copy from images,charts from office application to the control.
 I tried Rad editor it is not working for me.
Can any one suggest a control or if i am doing some thing wrong in using the rad editor?
sirisha gadde
Top achievements
Rank 1
 answered on 27 Aug 2009
4 answers
178 views
I am using the application scenario Load On Demand example for the tab strip, and I was wondering how I could pass a variable to the user control. I will have a numeric value (UnitNumber) between 1 and 4, for each number I will need to create a tab. So if the number is three, I need to create 3 tabs. I am going to use the same ascx page, and I want it to know which tab it is: 1, 2, or 3 for example.

I created unit.ascx, and it contains the following:
    private string _unitNumber;  
      
    public string UnitNumber  
    {  
        get{return _unitNumber; }  
        set{ _unitNumber = value; }  
    }  
 
the aspx page looks like your example:
        protected void RadMultiPage1_PageViewCreated(object sender, RadMultiPageEventArgs e)  
        {  
            string userControlName = e.PageView.ID.Replace(" ", "") + ".ascx";  
 
            Control userControl = Page.LoadControl(userControlName);  
 
            userControl.ID = e.PageView.ID + "_userControl";  
            e.PageView.Controls.Add(userControl);  
        }  
 
so, in the code above, how do I add something like: userControl.UnitNumber = 2
kachy
Top achievements
Rank 1
 answered on 27 Aug 2009
1 answer
47 views
Hi team,
I have gone through some of the threads related to radupload in medium trust and did get that it is possible to use radupload in medium trust. So I applied my custompolicy and it worked. But now the problem is I am having progress bar on my page. So when i run the application with medium trust, it gives secutity exception. But if i use only radupload on the page then it works fine. It means radprogress is not working under medium trust. My website is shared hosting so i can't use full trust.

So can I use radprogress under Medium trust?

Raman Verma
Team Lead | Acclipse
Paul
Telerik team
 answered on 27 Aug 2009
1 answer
84 views
Hi,

I am using RadUpload control in my web application running under full trust. I need to host the application on shared servers which allow for medium trust.

Can I use RadUpload control in the medium trust?


Regards,
Raman
Team Lead | Acclipse
Paul
Telerik team
 answered on 27 Aug 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?