Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
344 views
I have a rad toolbar inside commanditemtemplate, it wont show, am I missing on some property? 
Its with any control I place in there.

On the client side on which event can I access the commanditemtemplate?
Daniel
Telerik team
 answered on 29 Jul 2010
2 answers
215 views
Hi All

I need some advice on RAD Grid. I am using edit form template within Rad Grid and within Edit form template I have a panel and a check box. My requirement is I want to enable or disable the panel depending upon the checkbox change. I want to enable the panel when checkbox is selected and disable the panel when checkbox is not seletected.

This is what i am trying to do

    Protected Sub chkEnablePanel(ByVal sender As Object, ByVal e As System.EventArgs)
        Dim chkEnablePanel As CheckBox = CType(sender, CheckBox)
        Dim contactPanel As Panel = CType(RadGridAccContacts.FindControl("Panel1"), Panel)
        If chkEnablePanel.Checked = True Then
            contactPanel.Enabled = True
        Else
            contactPanel.Enabled = False
        End If
    End Sub

<asp:CheckBox ID="chkActivateContact" runat="server" Visible="False" Font-Bold="true"  AutoPostBack="true"
                                        ForeColor="Red" Text="Re-Activate Contact" OnCheckedChanged="chkEnablePanel"  />

Please advice how to find out the child control in edit form template of Rad Grid.

Thanks




Edward
Top achievements
Rank 1
 answered on 29 Jul 2010
3 answers
175 views
Hai,

Unable to edit the ID attribute of Telerik.Web.UI.RadTreeNode.

How can we distinguish between different nodes without setting the ID for individual nodes. I want to perform different set of actions on clicking each nodes.
Yana
Telerik team
 answered on 29 Jul 2010
1 answer
90 views
Hello,

I just had a question about the Rad Calendar Control.

I can successfully get a list of selected dates from the control, and insert them into my Database. 

But I would like to implement it so that when the page with the control is loaded, any currently

selected dates found  in the database will be automatically selected on the Rad Calendar.  

Currently i have the dates i would like selected in the Rad Calendar's Selected Dates property.

I have everything working except actually displaying the Dates in the Rad Calendar.  

Is there a specific way to do this?  


Thanks,

Steve
Daniel
Telerik team
 answered on 29 Jul 2010
1 answer
151 views
Hi,

I need to implement a RadGrid rebind upon a external event call back(LinkButton Click) as explained in this demo here.

I am able to Clear Groups, Clear Sorting but However i am not able to clear the columns that have been reordered. I have ReorderColumnsOnClient set to true.

Please advice.

Thanks.

Martin
Telerik team
 answered on 29 Jul 2010
2 answers
111 views
Hello,
I have a problem with the RadGrid´s Popup editform, it always shows at the bottom-right of the screen. I would like to show it centered.
Is it possible?

Thank you very much.
Borja
Top achievements
Rank 1
 answered on 29 Jul 2010
1 answer
194 views
 <telerik:RadComboBox ID="radComboCustomer" Skin="Sunset" runat="server" Width="50%"
  CssClass="ComboBox"   EnableLoadOnDemand="true"
   OnItemsRequested="radComboCustomer_ItemsRequested" ShowMoreResultsBox="true"
   EnableVirtualScrolling="true">
  </telerik:RadComboBox>



 protected void radComboCustomer_ItemsRequested(object sender, RadComboBoxItemsRequestedEventArgs e)
    {

 for (int i = 0; i < 10; i++)
        {           
            radComboCustomer.Items.Add(new RadComboBoxItem( "Repeat Text","11"));
        }
}


On combo focus first time it shows all 10 records with same text named as  " Repeat Text ".
Now when i am writing any letter like "S" then according to logic the all 10 same records should get display
but its showing empty records .And on lost focus combo gets close automatically and again when i am focusiing with 
exsisting letter s in combo then its showing 10 records .
So i think the record get added to combo but cant see so need to close and open combo for this .
So plese have some practical demo and let me know the problem.

Mine DDL versino is 2009.3.1503.35

Thanks






Kalina
Telerik team
 answered on 29 Jul 2010
3 answers
136 views
Hi,

I am trying to use a RadBinaryImage control inside a RadTooltip control so that I can display a bigger version of a picture but it doesn't work. Below is a snippet of code of what I am trying to do. I got this suggestion from one of the threads in the forum. It seemed simple enough to try, but it doesn't work for me; maybe I am missing something.

The actual image content comes from a linq datasource.

 

<telerik:GridTemplateColumn AllowFiltering="false" HeaderText="Image" ReadOnly="True">

 

 

<ItemTemplate>

 

 

<telerik:RadBinaryImage runat="server" ID="RadBinaryImage1" DataValue='<%# Eval("ImageContent") %>'

 

 

AutoAdjustImageControlSize="false" Width="40" Height="40" ToolTip='<%#Eval("ImageDescription", "{0}") %>'

 

 

AlternateText='<%#Eval("ImageDescription", "{0}") %>' />

 

 

<telerik:RadToolTip runat="server" ID="RadToolTip1" TargetControlID="radBinaryImage1"

 

 

Position="Center">

 

 

<telerik:RadBinaryImage runat="server" ID="radBinaryImage2" DataValue='<%#Eval("ImageContent") %>'

 

 

AutoAdjustImageControlSize="false" Width="200" Height="200" ToolTip='<%#Eval("ImageDescription", "{0}") %>'

 

 

AlternateText='<%#Eval("ImageDescription", "{0}") %>' />

 

 

</telerik:RadToolTip>

 

 

</ItemTemplate>

 

 

<HeaderStyle HorizontalAlign="Center" />

 

 

<ItemStyle HorizontalAlign="Center" />

 

 

</telerik:GridTemplateColumn>

 



I thank you fo any help I can get.

Marlon.
Petio Petkov
Telerik team
 answered on 29 Jul 2010
4 answers
148 views
Hello Telerik Team,

Please help, i am struggling to find the click event fired on any of the menus. No matter what i do the event is not fired.
The menus are inside the tab. tried creating the object and using "FinditembyText"  but not working....

Please look for below code.  and
if at all someone can give me solution for this
*********************
Start Aspx Code
**********************
<form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server" />
    <telerik:RadTabStrip ID="RadTabStrip1" runat="server" Skin="Office2007">   
            <Tabs>  
                 <telerik:RadTab runat="server" Text="Root RadTab2">   
                     <Tabs>  
                         <telerik:RadTab runat="server" Text="Child RadTab 1">   
                         <TabTemplate>  
                            <telerik:RadMenu ID="RadMenu2" runat="server" Skin="Office2007" OnItemClick="RadMenu1_ItemClick" OnItemDataBound="RadMenu1_ItemDataBound">
                                <CollapseAnimation Duration="200" Type="OutQuint" />  
                                 <Items>  
                                     <telerik:RadMenuItem Text="SomeMenuTest" >   
                                         <Items>  
                                             <telerik:RadMenuItem Text="Test1" NavigateUrl="http://www.google.com" />  
                                             <telerik:RadMenuItem Text="Test2" NavigateUrl="http://www.yahoo.com"/>  
                                             <telerik:RadMenuItem Text="Test3"  NavigateUrl="http://www.dbs.com"/>  
                                             <telerik:RadMenuItem Text="Test4"  NavigateUrl="http://www.asia1.com"/>  
                                         </Items>  
                                     </telerik:RadMenuItem>  
                                 </Items>  
                             </telerik:RadMenu>  
                         </TabTemplate>  
                         </telerik:RadTab>  
                         <telerik:RadTab runat="server" Text="Child RadTab 2">   
                         </telerik:RadTab>  
                     </Tabs>  
                 </telerik:RadTab>  
                   
             </Tabs>  
         </telerik:RadTabStrip>  
    </form>
*********************
End Aspx Code
**********************
  
*********************
Codebehind
*********************
  
protected void RadMenu1_ItemClick(object sender, Telerik.Web.UI.RadMenuEventArgs e)
    {
        Response.Redirect(e.Item.Attributes["NavigateUrl"].ToString());
    }
  
   protected void RadMenu1_ItemDataBound(object sender, RadMenuEventArgs e)
   {
       e.Item.Attributes["NavigateUrl"] = e.Item.NavigateUrl;
       e.Item.NavigateUrl = "";
   }
sudhakar
Top achievements
Rank 1
 answered on 29 Jul 2010
1 answer
146 views
Hi,

How to check the recurrence checkbox by default in recurrence editor (loading) (Q2 2010).
for radschedular , applied style

 

#RadScheduler1_Form_RecurrencePanel

{

display:inline !important;

}

kind regards
Arockiasamy

Peter
Telerik team
 answered on 29 Jul 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
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
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
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
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?