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

I am using a template manager and only want the user to select from existing templates.

How do i disable the upload and delete button in the template manager?

Thanks,
Phi
Rumen
Telerik team
 answered on 08 Oct 2009
5 answers
544 views
Is there a way to change / localize the message "Type the code from the image"?
Pero
Telerik team
 answered on 08 Oct 2009
5 answers
220 views
Hi,

In my implementation i have inserted a RadTreeview control inside RadCombobox which inturn is placed inside the RadGrid.
For one of my requirements i want that when user click on any node i want to attain handle of RadComboBox and do some operations on it.
But i am unable to find the parent conrol of Radtreeview.

Any ideas on how can this be done?

Regards,
Amit
Veselin Vasilev
Telerik team
 answered on 08 Oct 2009
1 answer
287 views
Hello Sir,

I am currently using telerik RadMenu in my project. In my project i want to create menu dynamically, and also i need templates for child items created dynamically.. i have gone through your forums.. and found out how to create menu dynamically as well as how to add templates dynamically.. but my requirement is that i need a menu item created dynamically along with its child items created dynamically using templates. And this template, contains DataList and other controls.... how can i do this...i need the child item loaded in a template format just as shown in the design mode in ur examples.........

Please help... 

regards,
jeby.
Yana
Telerik team
 answered on 08 Oct 2009
3 answers
142 views

Hi
In my rad schheduler i have enabledatepicker="true".But
In timelineview there is no records for current month the height of the scheduler is samll.At the time if i click the datepicker its not visible fully because the height of the scheduler is less than datepicker.

see this demo link change the numberofslot="1" in the above dropdown. and click the datepicker you can see the bottom of the datepicker not visible.
http://demos.telerik.com/aspnet-ajax/scheduler/examples/timelineview/defaultcs.aspx.


I want the datepicker visible fully

Regards
Vairamuthu
Peter
Telerik team
 answered on 08 Oct 2009
3 answers
1.2K+ views
Hi all, I have an ASP.NET repeater and inside it, some Telerik Web Controls (as shown below)
<asp:Repeater ID="rptAreeScopertura" runat="server"
                    <HeaderTemplate> 
                        <table class="Tabella"
                            <tr> 
                                <th class="CellaIntestazione" style="width: 40px;"
                                    <asp:Label ID="lblSelezionaTitolo" runat="server" /> 
                                </th> 
                                <th class="CellaIntestazione" style="width: 200px;"
                                    <asp:Label ID="lblAreaScoperturaTitolo" runat="server" /> 
                                </th> 
                                <th class="CellaIntestazione" style="width: 80px;"
                                    <asp:Label ID="lblTipoScoperturaTitolo" runat="server" /> 
                                </th> 
                                <th class="CellaIntestazione" style="width: 140px;"
                                    <asp:Label ID="lblTipoServizioInclusoTitolo" runat="server" /> 
                                </th> 
                                <th class="CellaIntestazione" style="width: 350px;"
                                    <asp:Label ID="lblTipoPeriodicitaOffertaTitolo" runat="server" /> 
                                </th> 
                            </tr> 
                    </HeaderTemplate> 
                    <ItemTemplate> 
                        <tr> 
                            <td style="text-align: center;"
                                <input type="checkbox" id="chkProva" value='<%# Eval("IDAreaScopertura") %>' runat="server" 
                                    onclick="toggleTB(this);" /> 
                            </td> 
                            <td> 
                                <asp:Label ID="lblAreaScopertura" runat="server" Text='<%# Eval("AreaScopertura") %>' /> 
                            </td> 
                            <td> 
                                <telerik:RadComboBox ID="rRadComboBoxTipoScopertura" runat="server" /> 
                            </td> 
                            <td> 
                                <telerik:RadComboBox ID="rRadComboBoxTipoServizioIncluso" runat="server" /> 
                            </td> 
                            <td style="text-align: center;"
                                <telerik:RadComboBox ID="rRadComboBoxTipoPeriodicitaOfferta" runat="server" /> 
                                <asp:Label ID="lblOppure" runat="server" /> 
                                <telerik:RadTextBox ID="rRadTextBoxTipoPeriodicitaPersonalizzata" runat="server" /> 
                            </td> 
                        </tr> 
                    </ItemTemplate> 
                    <FooterTemplate> 
                        </table> 
                    </FooterTemplate> 
                </asp:Repeater> 
I would chkProva checkbox to enable/disable all controls inside repeater item.
How can I get it client-side? Is it possible?

I've tried with the following javascript code in the HEAD tags
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server"
 
        <script type="text/javascript"
 
            function toggleTB(what) { 
                var RadComboBox = $find("<%= rRadComboBoxTipoScopertura.ClientID %>"); 
                RadComboBox.enabled = what.checked; 
            } 
 
        </script> 
 
    </telerik:RadCodeBlock> 

but I get the following errore message at runtime:
Name 'rRadComboBoxTipoScopertura' not declared. 
 
Error in the following code source (Row 11): 
 
Row 9:   
Row 10:             function toggleTB(what) { 
Row 11:                 var RadComboBox = $find("<%= rRadComboBoxTipoScopertura.ClientID %>"); 
Row 12:                 RadComboBox.disable(); 
Row 13:             } 

because (I suppose) it can't find the rRadComboBoxTipoScopertura control inside repeater...

In alternative it could be done server-side with an Ajax Panel solution... but how?

Thanks to all!

Giulio
Princy
Top achievements
Rank 2
 answered on 08 Oct 2009
2 answers
53 views
Like the title says, when using the client side method MasterTableView.editItems(index) there is a full page postback.  Is this the expected behavior of the method or is there a way to show the edit form without hitting the server so there is not a full page post back?

Thanks.
Thomas Salt
Top achievements
Rank 1
 answered on 08 Oct 2009
1 answer
95 views
I have a RadMenu that is loaded via a Linq to SQL class in div "RadMenu1".  In div2 I want a Title field (a label) and a AspImage to be loaded when a user selects a link from the RadMenu.

My Table currently looks like this:
idProject
projLink
projTitle
projImage

Example:
<div id="RadMenu1">
Link1  (id=idProject, Text=projLink)
Link2  (id=idProject, Text=projLink)
Link3  (id=idProject, Text=projLink)
</div>

<div id="div2">
Title  (id=idProject, Text=ProjTitle)
Image  (id=idProject, ImageUrl=projImage)
</div>


I am currently loading my RadMenu like this:
ClassesDataContext db = new ClassesDataContext();
                var prod = from p in db.ProjectImages
                           select p;

                RadMenu1.DataSource = prod;
                RadMenu1.DataFieldID = "idProjects";
                RadMenu1.DataTextField = "projLink";
                RadMenu1.DataValueField = "idProjects";
                RadMenu1.DataBind();

This is where I am stuck. How do I load the corresponding Label and ASPImage on click of one of the RadMenu Items?
Vesko
Top achievements
Rank 2
 answered on 08 Oct 2009
2 answers
62 views
We've run into an issue where users running IE8 have fonts on the page in other divs and drop down lists are being made larger when users interact with the Combo Box.

Telerik.Web.UI version: 2008.2.826.35
Brian Adle
Top achievements
Rank 1
 answered on 08 Oct 2009
1 answer
122 views

This is my problem.
I have this RadGrid with an EditFormTemplate (UserControl). With a button called "AddNew" we create a new row in the grid.
On the EditFormTemplate we want to have 3 buttons:
- Update
- Cancel
- Update and Insert New

The first two buttons was easy. Button with CommandName="Update" and CommandName="Cancel". These events are bubbled to the RadGrid and handled. The last button i'm lost on how this must be accumplished.
I've created a normal button and in the eventhandler i wrote: 

 

 

 

this.RaiseBubbleEvent(sender, new CommandEventArgs("Update", null));

 

this.RaiseBubbleEvent(sender, new CommandEventArgs("InitInsert", null));

This first event is handled by the RadGrid, but the second one isn't.
How can i create a button the updates the current edited row, and inserts a new one...?

 

 

 

 

 

Princy
Top achievements
Rank 2
 answered on 08 Oct 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?