Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
113 views
Hi

I have a RadComboBox that is populated on demand using the OnItemsRequested  call back, with the following ItemTemplate:

<ItemTemplate> 
            <asp:Label ID="uxLabel_SearchItem" runat="server" CssClass='<%# Eval("CssClass") %>' 
                Text='<%# Eval("Text") %>' ToolTip='<%# Eval("ToolTip") %>' 
                onmouseover="swapLiStyle(this, 'hoverLi')" onmouseout="swapLiStyle(this, 'regularLi')"></asp:Label> 
        </ItemTemplate> 
        <Items> 
            <telerik:RadComboBoxItem></telerik:RadComboBoxItem> 
        </Items> 

The only problem is that while the RadCombo is loading, the loading message is not completely shown.  The heighth of the results pane is not tall enough to show the loading message.  Vertical up and down scroll arrows appear and pressing down will allow you to see the loading message.  On first glance though, it is hard to see that the loading message is being displayed.

Is there anyway to make it so the whole loading message item is visible?  Also, I'm using the default loading text, nothing custom.

Thanks for any help
Simon
Telerik team
 answered on 11 Mar 2009
2 answers
119 views
Hi,
 I am using Rad Editor in my application and i want to export the content of editor (that includes images as well as text) to the doc file at server. Also the formating remains unchange in the Doc file.
Please suggest how i can implement this.

Thanks
Vikram
Rumen
Telerik team
 answered on 11 Mar 2009
6 answers
178 views
Dear Telerik team,

I have a problem.
I have 

AllowCustomText

 

="True"

 


However when I am trying to get ComboBox1.Text it's always EMPTy.
I have used this control before and did not have this problem. There is something special about this page.

I am populating all the controls on the fly. However, all the other controls (not telerik) DO keep their values between the postbacks.
This is the only one that looses it.

Is there any way to retrieve the value entered by a user?

Thank you.

Thank you.
debett
Top achievements
Rank 1
 answered on 11 Mar 2009
2 answers
178 views
Is there a way to get Upload to work with Scheduler?

I would like to be able to add appointment to Scheduler with the ability to upload a file to it.
The file uploaded to the appointment is then viewerable on clicking a link/button.
I am programming in VB.NET.

Any help would be gratefully received.
Genady Sergeev
Telerik team
 answered on 11 Mar 2009
1 answer
76 views
I'm trying to create a wrapped version of the RadGrid where I have properties provide my default values for certain properties.  This is to reduce need to adjust the properties on each and every page that utilizes the control. 

The issue I'm running into is that the values for AutoGenerateColumns, AllowSorting, and AllowPaging do not take effect when the control is rendered.  In other words, even though I have AutoGenerateColumns set to false, all columns are rendered. 

At what point in the Control LifeCycle can I specify values and not have them overridden?

public class RadGrid : Telerik.Web.UI.RadGrid 
    { 
        protected override void OnPreRender(EventArgs e) 
        { 
            base.OnPreRender(e); 
 
                AutoGenerateColumns = false
                AllowSorting = true
                AllowPaging = true
                EnableEmbeddedSkins = false
                Skin = "Cymetrix"
        }         
    } 

Dimo
Telerik team
 answered on 11 Mar 2009
1 answer
76 views
Hi,

I'm trying to use the RADScheduler in a MOSS Webpart. I want to use customized resource files and embed them in the webpart assembly.

http://www.telerik.com/help/aspnet-ajax/schedule_localizationtranslatingstrings.html (Section 2) describes a way to add customized resource files to a RADScheduler in the App_GolobalsResources folder. That works perfectly. But how do I use embedded resources (BuildAction = EmbeddedRessouce) ?

I was able to load the resources with the ResourceManager. But how do I assign them to the RADScheduler Webcontrol?

Thanks,

Tobias
Atanas Korchev
Telerik team
 answered on 11 Mar 2009
3 answers
129 views
I have a RadGrid with a nested table, as outlined below:

<telerik:RadGrid ID="grid1" Skin="Default" runat="server" Visible="False" AutoGenerateColumns="False" 
    ShowHeader="False" Width="400px" OnItemDataBound="grid1_ItemDataBound" AllowMultiRowSelection="True" 
    OnRowDrop="grid1_RowDrop" OnDeleteCommand="grid1_DeleteCommand" OnPreRender="grid1_PreRender"
    <MasterTableView DataKeyNames="AnswerID"
    <DetailTables>  
        <telerik:GridTableView Name="grid2">         
            <Columns> 
            <telerik:GridBoundColumn AllowFiltering="False" AllowSorting="False" DataField="AnswerLabel" 
                ReadOnly="True" Reorderable="False" Resizable="False" ShowSortIcon="False" UniqueName="colAnswerLabel"
            </telerik:GridBoundColumn> 
            <telerik:GridBoundColumn DataField="QuestionID" UniqueName="colQuestionID" Visible="False"
            </telerik:GridBoundColumn> 
            <telerik:GridBoundColumn DataField="AnswerID" UniqueName="colAnswerID" Visible="False"
            </telerik:GridBoundColumn> 
            </Columns> 
            <RowIndicatorColumn> 
            <HeaderStyle Width="20px" /> 
            </RowIndicatorColumn> 
            <ExpandCollapseColumn> 
            <HeaderStyle Width="20px" /> 
            </ExpandCollapseColumn> 
        </telerik:GridTableView>  
    </DetailTables> 
    <Columns> 
        <telerik:GridBoundColumn AllowFiltering="False" AllowSorting="False" DataField="AnswerLabel" 
        ReadOnly="True" Reorderable="False" Resizable="False" ShowSortIcon="False" UniqueName="colAnswerLabel"
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="QuestionID" UniqueName="colQuestionID" Visible="False"
        </telerik:GridBoundColumn> 
        <telerik:GridBoundColumn DataField="AnswerID" UniqueName="colAnswerID" Visible="False"
        </telerik:GridBoundColumn> 
    </Columns> 
    <RowIndicatorColumn> 
        <HeaderStyle Width="20px" /> 
    </RowIndicatorColumn> 
    <ExpandCollapseColumn> 
        <HeaderStyle Width="20px" /> 
    </ExpandCollapseColumn> 
    </MasterTableView> 
    <ClientSettings AllowRowsDragDrop="True"
    <Selecting AllowRowSelect="True" /> 
    </ClientSettings> 
</telerik:RadGrid> 

Is there a way to access the colAnswerID column of the parent row from within grid1_RowDrop(object sender, GridDragDropEventArgs e)

For example, if I'm dragging "222" between "111" and "333" I'd want the colAnswerID for "ABC".

 +ABC 
 |- 111 
 |- 333 
 |- 444 
 +DEF 
 |- 555 
 GHI 
 222 

Thanks.
- Paul Ott
Paul
Top achievements
Rank 1
 answered on 11 Mar 2009
5 answers
668 views

Current setup

I have a master page which contains a user control, which has a raddropdown and a listview control.

When the user selects a user in the dropdown, the selected user is placed in the list view (selected users). This then raises an event that an Item has been added to selected users control.

There are properties on the master page which return a list(of x) for the selected users.

The RadScheduler is to display appointments for each of the user selected.

This currently is done by adding the following code

        Dim a As List(Of Safe.CRM.DAL.BusinessObjects.Contact_Name)
        a = CType(Page.Master, ISession).SelectedConsultants
        Dim rt As New Telerik.Web.UI.ResourceType()
        rt.DataSource = a
        rt.KeyField = "ContactID"
        rt.TextField = "ContactName"
        rt.Name = "Contacts"
        rt.ForeignKeyField = "Contact"
        RadScheduler1.ResourceTypes.Clear()
        RadScheduler1.ResourceTypes.Add(rt)
        RadScheduler1.GroupBy = "Contacts"

This all works fine so far. BUT...

When I add a new user to the list, and reload the control (all ajaxy) type posts. The RadScheduler does not render. If I click on week display and then back to daily the updated users do display.

Is there any way of forcing the re-render/update of the RadScheduler, I’ve removed it from the page and re-added with no luck.

 

Julian

 

Atanas Korchev
Telerik team
 answered on 11 Mar 2009
6 answers
175 views
I'm trying to get a filter into my grid, but it doesn't work.

We create the Grid with vb.net and put it then into the paceholder:


g = instance of Grid

 

With g   
 .AllowFilteringByColumn = True     
 
...  
...  
 
End With 
 
boundColumn = New GridBoundColumn   
boundColumn.DataField = "Field"   
boundColumn.HeaderText = fieldNames(4).ToString  
boundColumn.ShowSortIcon = True   
boundColumn.Groupable = True   
boundColumn.AllowFiltering = True   
g.MasterTableView.Columns.Add(boundColumn)  
 

 

 

 We doesn't I see the filter. where is the error?

Christian
Top achievements
Rank 1
 answered on 11 Mar 2009
1 answer
61 views
Hallo,

I have to selected a date in JS. But the selected date isn't displayed and after postback the date is not available.

If I selected the date by selected date on datepicker via UI, it works fine.

Here my test code:

var

 

todaysDate = new Date();

 

 

var todaysDate2 = [todaysDate.getFullYear(), todaysDate.getMonth(), todaysDate.getDate()];

 

$find(controlId).get_calendar().selectDate(todaysDate2,

true);

 

$find(controlId).get_dateInput().set_value(todaysDate2);



Thanks for help
lemon
Top achievements
Rank 1
 answered on 11 Mar 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?