Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
186 views

Hi,

Do we have Checkbox control in Teleric where by we can set the skins. We need to implement a checkbox where by we can show checkedimage on checkbox checked.
Kindly provide the code snippet for the same.

Thanks,
Pramod Singh

Stuart Hemming
Top achievements
Rank 2
 answered on 22 May 2008
9 answers
465 views
Why am I having difficulty finding the upgrade instructions?  They don't seem to be posted anywhere obvious.  Please don't tell me where to find them...add a link.  I see other threads where you tell someone where to find upgrade instructions but then still cannot find these elusive instructions!  Trying to go from Q3 2007 to Q1 2008 AJAX.  Also, your left navigation menu is not wide enough...or you need to condense your type or think of shorter wording.  You cannot read the full name of the menu iem in your Browse Forum section.
Paul
Telerik team
 answered on 22 May 2008
2 answers
190 views
Is it possible to have more than one ShowEvent, such as OnClick and OnMouseOver for a single tooltip?

Thanks,
Susan
Svetlina Anati
Telerik team
 answered on 22 May 2008
5 answers
215 views

Hi

I have a three level hierarchal grid on a MasterPage

Mentor - master

- Relationship - datail[0]

- - RelationshipSurvey -detail[1]

The Insert happens by RadWindow.

For the ‘ – Ralationship’ I pass a QueryString to RadWindow as

RadGridMentor_ItemCreated

((GridItem)(e.Item.OwnerTableView.ParentItem)).ItemIndex.ToString();

On and then return back on

protected override void RaisePostBackEvent (IPostBackEventHandler sourceControl, string eventArgument)

{
    if (sourceControl is RadAjaxManager)
      {
GridTableView nestedTableViewRel = (RadGridMentor.MasterTableView.Items[Int32.Parse(eventArgument)] as GridDataItem).ChildItem.NestedTableViews[0];
                nestedTableViewRel.Rebind();
      }
}

How can I Identify a third level detail table ‘ - - RelationshipSurvey’ from which expand command fired.

And rebind it on protected override void RaisePostBackEvent

Like:

 GridTableView nestedTableViewSurvey = ((RadGridMentor.MasterTableView.Items[Int32.Parse(eventArgument)] as GridDataItem).ChildItem.NestedTableViews[0]).Items[1].ChildItem.NestedTableViews[1];
nestedTableViewSurvey.Rebind();

Thank you
//Stas

Nikita Gourme
Top achievements
Rank 1
 answered on 22 May 2008
1 answer
184 views
Hi, after updating to the lasted revision (Q1 2008 SP1), my splitter bar stop fonctionning correctly. I have a splitter bar in the master page and the content page ar in  one of the RadPane. The content change in height with ajax call (clik on item in a grid update a panel with description and images). All work good before updating to SP1. Any suggestion?

Here ma master page:
<%@ Master Language="VB" CodeFile="Site.master.vb" Inherits="Site_Site" %> 
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
 
<html xmlns="http://www.w3.org/1999/xhtml">  
<head runat="server" style="height:100%;margin:0px">  
    <title>Baultar Inc.</title> 
    <asp:ContentPlaceHolder id="head" runat="server">  
    </asp:ContentPlaceHolder> 
      
    <link href="/CSS/Gen.css" rel="stylesheet" type="text/css" /> 
    <link href="/CSS/Master/Master.css" rel="stylesheet" type="text/css" /> 
    <link href="/CSS/MenuMain/Menu.Baultar.css" rel="stylesheet" type="text/css" /> 
    <link href="/CSS/Menu2/Menu.BOffice2007.css" rel="stylesheet" type="text/css" /> 
</head> 
<body style="height:100%;margin:0px">  
    <form id="form1" runat="server">  
    <telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">  
    <script type="text/javascript">  
              
            function OnClientItemClickedHandler(sender, eventArgs)  
            {  
                if(eventArgs.get_item().get_value() == "Connecter")  
                {  
                    var oWindow = radopen (null, "SeConnecter");  
                }     
                  
                if(eventArgs.get_item().get_value()  == "Deconnecter")  
                {  
                    Sys.Services.AuthenticationService.set_defaultLogoutCompletedCallback(OnLogoutCompleted);  
                    Sys.Services.AuthenticationService.set_defaultFailedCallback(OnFailed);  
                    Sys.Services.AuthenticationService.logout(null, null, null, null);   
                }  
                if(eventArgs.get_item().get_value() == "MonCompte")  
                {  
                    var oWindow2 = radopen (null, "MonCompte");  
                }  
                  
                if(eventArgs.get_item().get_value() == "ChangePassword")  
                {  
                    var oWindow3 = radopen (null, "ChangePassword");  
                }                                                                                        
                if(eventArgs.get_item().get_value() == "CreeCompte")  
                {  
                    var oWindow4 = radopen (null, "CreeCompte");  
                }                              
            }  
              
            function OnFailed(error, userContext, methodName)  
            {  
                //Pour le logout client side  
            }             
 
            function OnLogoutCompleted(result)   
            {  
                // Pour le logout client side  
            }    
              
            function WindCallBackFunction(radWindow, returnValue)  
            {  
                if(returnValue == "Perdu")  
                {  
                    var oWindow = radopen (null, "LostPassword");  
                }  
                if(returnValue == "Login")  
                {  
                    var oWindow2 = radopen (null, "SeConnecter");  
                }                  
                if(returnValue == "Logged")  
                {  
                    windowwindow.location.href=window.location.href;  
                }                                  
            }  
              
            function AutoSizePane()      
            {       
                var splitter = $find("<%= RadSplitter1.ClientID %>");   
                var pane = splitter.getPaneById("<%= RadPane2.ClientID %>");   
            }  
    </script>      
    </telerik:RadScriptBlock> 
      
      
    <div> 
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager> 
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"></telerik:RadAjaxManager> 
        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Height="75px" Width="75px">  
            <img alt="Loading..." src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading.gif") %>' style="border: 0px;" /> 
        </telerik:RadAjaxLoadingPanel> 
          
        <telerik:RadWindowManager ID="RadWindowManager1" ReloadOnShow="true" ClientCallBackFunction="WindCallBackFunction" runat="server">  
            <Windows> 
                <telerik:RadWindow ID="SeConnecter"                                
                Runat="server" 
                Top="50"              
                IconUrl="/Usagers/Images/Compte.gif" 
                Modal="true"   
                Behaviors="Close" 
                Height="300px" 
                Width="300px" 
                NavigateUrl="/Site/Usagers/Login.aspx">  
                </telerik:RadWindow> 
                  
                <telerik:RadWindow ID="LostPassword"                                
                Runat="server" 
                Top="50"              
                IconUrl="/Usagers/Images/Compte.gif" 
                Modal="true" 
                Behaviors="Close"   
                Height="190px" 
                Width="345px" 
                NavigateUrl="/Site/Usagers/LostPassword.aspx">  
                </telerik:RadWindow> 
                  
                <telerik:RadWindow ID="CreeCompte"                                
                Runat="server" 
                IconUrl="/Usagers/Images/Compte.gif" 
                Top="50" 
                Modal="true" 
                Behaviors="Close"   
                Height="620px" 
                Width="500px" 
                NavigateUrl="/Site/Usagers/NewUser.aspx">  
                </telerik:RadWindow> 
                  
               <telerik:RadWindow ID="MonCompte"                                
                Runat="server" 
                Top="50"              
                IconUrl="/Usagers/Images/Compte.gif" 
                Modal="true" 
                Behaviors="Close"   
                Height="590px" 
                Width="420px" 
                NavigateUrl="/Site/Usagers/MyAccount.aspx">  
                </telerik:RadWindow> 
                  
                <telerik:RadWindow ID="ChangePassword"                                
                Runat="server" 
                Top="50"              
                IconUrl="/Usagers/Images/Compte.gif" 
                Modal="true" 
                Behaviors="Close" 
                Height="200px" 
                Width="450px" 
                NavigateUrl="/Site/Usagers/ChangePassword.aspx">  
                </telerik:RadWindow>                  
            </Windows> 
        </telerik:RadWindowManager> 
      
 
            <table style="width: 100%" cellpadding="0px" cellspacing="0px">  
            <tr> 
                <td>&nbsp;</td> 
                <td style="width: 1000px">  
                  <table width="1000px"  border="0" cellpadding="0" cellspacing="0"  class="BG_MenuHeader">  
                    <tr> 
                      <td style="height:116px" align="left" valign="top">  
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">  
                          <tr> 
                            <td style="width:140px;height:59px;"  align="left" valign="top">&nbsp;</td> 
                            <td style="width:705px;height:59px;"  align="left" valign="top">&nbsp;</td> 
                            <td style="Width:111px" align="left" valign="top">  
                                <telerik:RadMenu ID="RadMenuDroite" Flow="Vertical" EnableEmbeddedSkins="false" Skin="Baultar" runat="server" CausesValidation="False">  
                                    <Items> 
                                        <telerik:RadMenuItem Height="23px" ImageUrl="Images/Menu/Francais.gif" HoveredImageUrl="Images/Menu/Francais_over.gif" ClickedImageUrl="Images/Menu/Francais_sel.gif" runat="server" /> 
                                        <telerik:RadMenuItem Height="23px" ImageUrl="Images/Menu/English.gif" HoveredImageUrl="Images/Menu/English_over.gif" ClickedImageUrl="Images/Menu/English_sel.gif" runat="server" /> 
                                        <telerik:RadMenuItem Height="23px" ImageUrl="Images/Menu/Bar2.gif" Enabled="False" runat="server"/>                                    
                                        <telerik:RadMenuItem ImageUrl="Images/Menu/ContactNous.gif" HoveredImageUrl="Images/Menu/ContactNous_over.gif" ClickedImageUrl="Images/Menu/ContactNous_sel.gif" runat="server" />                                    
                                    </Items> 
                                </telerik:RadMenu> 
                            </td> 
                            <td>&nbsp</td> 
                          </tr> 
 
                          <tr> 
                            <td style="height:33px">&nbsp;</td> 
                            <td style="height:33px" colspan="2" align="left" valign="top">  
                                </td> 
                          </tr> 
                          <tr> 
                            <td style="width:145px">&nbsp;</td> 
                            <td colspan="2">  
                                <telerik:RadMenu ID="RadMenuAccueil" OnClientItemClicked="OnClientItemClickedHandler" EnableEmbeddedSkins="false" skin="BOffice2007" runat="server" CausesValidation="False">  
                                    <Items> 
                                        <telerik:RadMenuItem Width="78px" ImageUrl="Images/Menu/Accueil.gif" HoveredImageUrl="Images/Menu/Accueil_over.gif" ClickedImageUrl="Images/Menu/Accueil_sel.gif" runat="server">  
                                            <GroupSettings OffsetX="1" /> 
                                        </telerik:RadMenuItem>                                          
                                    </Items> 
                                </telerik:RadMenu> 
                                <telerik:RadMenu ID="RadMenuEntreprise" OnClientItemClicked="OnClientItemClickedHandler" EnableEmbeddedSkins="false" skin="BOffice2007" runat="server" CausesValidation="False">  
                                    <Items> 
                                        <telerik:RadMenuItem Width="95px" ImageUrl="Images/Menu/Entreprise.gif" HoveredImageUrl="Images/Menu/Entreprise_over.gif" ClickedImageUrl="Images/Menu/Entreprise_sel.gif" runat="server">  
                                        </telerik:RadMenuItem>                                         
                                    </Items> 
                                </telerik:RadMenu>      
                                <telerik:RadMenu ID="RadMenuReaSol" OnClientItemClicked="OnClientItemClickedHandler" EnableEmbeddedSkins="false" skin="BOffice2007" runat="server" CausesValidation="False">  
                                    <Items> 
                                        <telerik:RadMenuItem Width="106px" ImageUrl="Images/Menu/Realisations.gif" HoveredImageUrl="Images/Menu/Realisations_over.gif" ClickedImageUrl="Images/Menu/Realisations_sel.gif" runat="server">  
                                        </telerik:RadMenuItem> 
                                        <telerik:RadMenuItem Width="91px" ImageUrl="Images/Menu/Solutions.gif" HoveredImageUrl="Images/Menu/Solutions_over.gif" ClickedImageUrl="Images/Menu/Solutions_sel.gif" runat="server">  
                                        </telerik:RadMenuItem> 
                                    </Items> 
                                </telerik:RadMenu>     
                                <telerik:RadMenu ID="RadMenuMain" OnClientItemClicked="OnClientItemClickedHandler" EnableEmbeddedSkins="false" skin="Baultar" runat="server" CausesValidation="False">  
                                    <Items> 
                                        <telerik:RadMenuItem Width="79px" ImageUrl="Images/Menu/Intranet.gif" HoveredImageUrl="Images/Menu/Intranet_over.gif" ClickedImageUrl="Images/Menu/Intranet_sel.gif" runat="server">  
                                        </telerik:RadMenuItem> 
                                        <telerik:RadMenuItem Width="256px" ImageUrl="Images/Menu/Bar.gif" runat="server">  
                                        </telerik:RadMenuItem> 
                                        <telerik:RadMenuItem Width="110px" ImageUrl="Images/Menu/Connecter.gif" HoveredImageUrl="Images/Menu/Connecter_over.gif" ClickedImageUrl="Images/Menu/Connecter_sel.gif" runat="server">  
                                        </telerik:RadMenuItem>   
                                    </Items> 
                                </telerik:RadMenu>                                     
                            </td> 
                          </tr> 
                        </table> 
                      </td> 
                    </tr>   
                  </table> 
                   
                        <telerik:RadSplitter ID="RadSplitter1" Skin="Web20" Height="100%" Width="960px" Orientation="Horizontal" OnClientLoaded="AutoSizePane" runat="server">  
                            <telerik:RadPane ID="RadPane1" runat="server" MinHeight="90" MaxHeight="90" Height="90px">  
                                Module  
                            </telerik:RadPane> 
                            <telerik:RadSplitBar ID="RadSplitBar1" CollapseMode="Forward" runat="server" /> 
                            <telerik:RadPane ID="RadPane2" Height="100%" runat="server">  
                                <asp:ContentPlaceHolder id="ContentPlaceHolder1" runat="server"></asp:ContentPlaceHolder> 
                            </telerik:RadPane> 
                        </telerik:RadSplitter> 
                </td>   
                <td>&nbsp;</td> 
            </tr> 
         </table> 
    </div> 
    </form> 
</body> 
</html> 
Svetlina Anati
Telerik team
 answered on 22 May 2008
1 answer
81 views
I received the error 'the telerik dialogs require a httphandler...' in moss when the handler is there.  The MOSS logs say that the Telerik.Web.UI.DialogHandler.aspx is not found. Strange!

I did get around this, though.

I added a page to my soultion in the layouts directory named Telerik.Web.UI.DialogHandler.aspx and only added the page directive:
<%@ Page Language="C#" Inherits="Telerik.Web.UI.DialogHandler" %> 

I also set the DialogHandlerUrl property in the page where I use the editor to ensure that it goes to the correct Url.

Deployed the solution, and it worked fine.

Wanted to bring this up so you guys know...

-Rich Finn
Rumen
Telerik team
 answered on 22 May 2008
4 answers
184 views
Hi!

Can anybody tell me how to set a field in the PopUp-Form to read-only only in edit-mode?

Example:

When inserting "Article-Number" and "Amount", i have to fill in both values.

But when editing, Article Number should be read-only, so that only the Amount can be modified.

Any ideas?

Please apologize my bad english. I tried my best...
Daniel
Top achievements
Rank 1
 answered on 22 May 2008
1 answer
86 views
I have chosen one of the standardskins for mig Panelbar, and when I try to add pictures to each item, nothing happens. any suggestions?

Best regards
Søren, Denmark.
Paul
Telerik team
 answered on 22 May 2008
1 answer
171 views
I'm getting a "Telerik is not defined" error on a new project page I just created.  The controls show up on the page, but don't do anything.

My web.config has these entries in the controls section:
        <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
                <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

IIS is set not to verify if a file exists for .adx extention.

What should I look for to fix this error?  Thanks in advance!

----------------
Update:  I had to add:

<add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2008.1.415.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4"

    validate="false" />

back to my web.config file.  I had moved it to the machine.config, but for some reason it wasn't seeing it, and thus giving me the error above.  In testing why, I made sure to remove "   <remove path="*.asmx" verb="*" />", so I know that didn't affect it.

Any reason why it wouldn't work with the path in the machine.config?
Steve
Telerik team
 answered on 22 May 2008
2 answers
122 views
Hi

First of all I should point out that I am not knocking your documentation in any way, it is far superior to most.

However I have discovered that there are some client-side methods and properties (such as .select() on a tab and .add(pageView) for a MultiView) that are not included in the current documentation.

Is there a full set of documentation available that details ALL client-side methods, events and properties for this fine set of controls?
Sean
Top achievements
Rank 1
 answered on 22 May 2008
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?