Telerik Forums
UI for ASP.NET AJAX Forum
9 answers
580 views
Sometimes in the documentation I see VS 2008 and VWD used together - and supported equally. However, I attempted to install the VS Extenstions, and while the installer (.msi) ran and didn't report any errors, there aren't any Telerik specific menu items, context menus etc (as seen in the VS Extensions Video). Is this a limitation of VWD?

Edit: I guess I should add I'm using VWD 2008 (Express Edition) SP1
(Version 9.0.30729.1 SP)
Petar
Telerik team
 answered on 23 Feb 2012
5 answers
126 views

When the following is set for a grid:

<ClientSettings EnablePostBackOnRowClick="true">

       <Selecting AllowRowSelect="true" />

</ClientSettings>

and an image is in a grid cell, clicking on the image does nothing.  Clicking in the grid cell outside of the image causes the row selection and postback as desired.

The image is not a button, it is just an image that represents a visual cue about the row of data for the user, in this case a picture of a lock.

The workaround we found in IE was to set the onclick of the image to onclick='this.parentElement.click();'

This causes the desired postback and row selection.

The problem?  We noticed that in Chrome this approach doesn't work.  I simply need  a way of causing the built in row selection and postback just as if the user clicked in the surrounding td of the image.

I can get the desired behavior in Chrome by setting  the image css pointer-events property to none.
Unfortunately, this disables all pointer behavior including tooltip popups.

Pavlina
Telerik team
 answered on 23 Feb 2012
5 answers
96 views
Hi Everyone,

I tried setting "Html" attribute of "RadHtmlField" to set some default html content when the page layout loads in SharePoint. However, this default value was not set as expected. Following is the code from page layout,

<telerik:RadHtmlField id="myfieldid" FieldName="myfieldid" runat="server" Html="&lt;h1&gt;my default content &lt;/h1&gt;" >
 </telerik:RadHtmlField>

Any help to set default content for this field is very much appreciated.

Thanks & Regards,
Amal
Stanimir
Telerik team
 answered on 23 Feb 2012
3 answers
256 views
when using rad editor in browsers like safari and google chrome, I am not able to change the font size. but when i select the text and changing the size, the font size will change.
the version of telerik i am using is 2009.3.1314.35, the version of safari is safari 5.1.2 and the version of google chrome is 4.0.211.7
my code is shown below.


<telerik:RadEditor ID = "rdtxtNotes"  runat="server"   Width="510px" >
                    <Tools >
                        <telerik:EditorToolGroup >
                        <telerik:EditorTool Name ="FontName"   ShowIcon ="true" />
                        <telerik:EditorTool Name = "RealFontSize" ShowIcon ="true" Text="10px" />
                        <telerik:EditorSeparator />
                        <telerik:EditorTool Name ="Bold" ShowIcon ="true"  />
                        <telerik:EditorTool Name ="Italic" ShowIcon ="true" />
                        <telerik:EditorTool Name ="Underline" ShowIcon ="true" />
                        <telerik:EditorSeparator />
                      
                        <telerik:EditorTool Name ="JustifyLeft" ShowIcon ="true" />
                        <telerik:EditorTool Name ="JustifyCenter" ShowIcon ="true" />
                        <telerik:EditorTool Name ="JustifyRight" ShowIcon ="true" />
                        <telerik:EditorSeparator />
                         
                        <telerik:EditorTool Name ="InsertOrderedList" ShowIcon ="true" />
                        <telerik:EditorTool Name ="InsertUnorderedList" ShowIcon ="true" />
                        <telerik:EditorTool Name ="Indent"  ShowIcon ="true" />
                        <telerik:EditorTool Name ="Outdent"  ShowIcon ="true" />
                        <telerik:EditorSeparator />
                        </telerik:EditorToolGroup>
                    </Tools>               
                    <Tools >
                          <telerik:EditorToolGroup >              
                                <telerik:EditorTool Name ="ForeColor"   ShowIcon ="true" />
                                <telerik:EditorTool Name ="BackColor" ShowIcon ="true" />
                                <telerik:EditorTool Name ="InsertParagraph"   ShowIcon ="true" />
                          </telerik:EditorToolGroup>
                    </Tools>
                </telerik:RadEditor>
Rumen
Telerik team
 answered on 23 Feb 2012
0 answers
129 views
Dear Supporter,

I'm using the RadTreeView inside the RadPanelBar to build webpart for SharePoint 2010.

Everything works fine except that users cannot expand/collapse or check/uncheck the tree view. I have enable the CheckBox for treeview.
It just doesn't happen to RadTreeView control only but also RadPanelBar which I cannot expand or collapse the bar item.
Please note that both Telerik.Web.UI and Telerik.Web.Design files are deployed to GAC.
After googling and search through some existing deploying the RadControl to SharePoint or IIS, I have summarized and get those to update in the Web.Config as following; however, there is still no luck.

Please advise which how to make the control to be expanded/collapsed or checked/unchecked based on user Mouse interaction.

Web.Config
=======================================

<SharePoint>
  <SafeControls>
 <safeControl Assembly="Telerik.Web.UI, Version=2011.1.315.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI" TypeName="*" Safe="True"  />
 <safeControl Assembly="Telerik.Web.UI, Version=2011.1.315.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.Design" TypeName="*" Safe="True"  />

  </SafeControls>
</SharePoint>

<system.web>
  <httpHandlers>
 <remove verb="*" path="*.asmx" />
 <add verb="*" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.Upload.RadUploadProgressHandler, Telerik.Web.UI" />
 <add verb="*" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" />
 <add verb="*" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" />
 <add verb="*" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false" />
 <add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" validate="false" />
  </httpHandlers>
</system.web>

<system.WebServer>

  <modules runAllManagedModulesForAllRequests="true">
 <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI" preCondition="managedHandler" />
  </modules>

  <handlers>
 <remove name="ChartImage_axd" />
        <remove name="Telerik_Web_UI_SpellCheckHandler_axd" />
        <remove name="Telerik_Web_UI_DialogHandler_aspx" />
        <remove name="Telerik_RadUploadProgressHandler_ashx" />
 <remove name="Telerik_Web_UI_WebResource_axd" />
 <add name="ChartImage_axd" path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" preCondition="integratedMode" />
        <add name="Telerik.Web.UI.SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" verb="*" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" preCondition="integratedMode" />
        <add name="Telerik.Web.UI.DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" preCondition="integratedMode" />
        <add name="Telerik.Web.UI.RadUploadProgressHanler_ashx" path="Telerik.Web.UI.RadUploadProgressHandler.ashx" verb="*" type="Telerik.Web.UI.RadUploadProgressHandler, Telerik.Web.UI" preCondition="integratedMode" />
        <add name="Telerik.Web.UI.WebResource_axd" path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" />
  </handlers>
  <validation validateIntegrateModeConfiguration="false" />
</system.WebServer>

<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
 <dependentAssembly>
  <assemblyIdentity name="Telerik.Web.UI" publicKeyToken="121fae78165ba3d4" />
  <bindingRedirect oldVersion="1.0.0.0-x.x.x.20" newVersion="x.x.x.35" />
 </dependentAssembly>
 <dependentAssembly>
  <assemblyIdentity name="Telerik.Web.Design" publicKeyToken="121fae78165ba3d4" />
  <bindingRedirect oldVersion="1.0.0.0-x.x.x.20" newVersion="x.x.x.35" />
 </dependentAssembly>
</assemblyBinding>
=======================================

Regards,
Phyrom

phyrom
Top achievements
Rank 1
 asked on 23 Feb 2012
3 answers
67 views
Hey, I need the following functionality, but I have no idea if it is possible on "legal" telerik way.

After clicking once on the row of the grid the row is in edit mode. I want to navigate through all editable fields which works fine out of the box. But after pressing tab in the last column I want to switch in the next row and setting the prior row in display again (but this isn't the problem). I tried the silverlight grid and there this functionaliy is implemented yet.
After some research I found out, that this might be a real challenge because I needs to override the browser tab-event.

Is there any "easy" approach?

Thanks and
Best regards 
Maria Ilieva
Telerik team
 answered on 23 Feb 2012
2 answers
170 views
Hi,
I want to open Radwindow on OnClientItemClicking event of Radmenu which works perfect for me, only issue is that i do not want to open every url on Radwindow on link that falls under Reports (Main Menu) should open in radwindow rest should is normal redirect.. i do not know how to achive this, i have attached sample code below, for your info i am binding Radmenu at runtime through code.

My menu structure is

Home     Reports           Admin
Report1
                Report2
                Report3
i want to open only report1/report2/report3 etc in radwindow.

function onClicking(sender, eventArgs) {
            var item = eventArgs.get_item();
            var navigateUrl = item.get_navigateUrl();
               if (navigateUrl && navigateUrl != "#") {
               radopen(null, "RadWindow1");
               eventArgs.set_cancel(true);
            }
             
        }
<telerik:RadMenu ID="RadMenu1" runat="server" Style="z-index: 4" EnableRoundedCorners="true"
                        EnableShadows="true" Skin="WebBlue" OnClientItemClicking="onClicking" />
<telerik:RadWindowManager ID="RadWindowManager1" runat="server" EnableShadow="true" >
                        <Windows>
                            <telerik:RadWindow ID="UserListDialog" runat="server" Title="Delivery details" Height="400px"
                                Width="600px" Left="400px" ReloadOnShow="true"  ShowContentDuringLoad="false"
                                Modal="true"/>
                        </Windows>
</telerik:RadWindowManager>


Abhishek
Top achievements
Rank 2
 answered on 23 Feb 2012
9 answers
113 views
Hi,

I am using radsheduler. and customizing advancedinsertTemplate and advancedEditTemplate. but the edit form creating it takes long time. i am using ajax. but when clikcing edit button the page has loaded. and masterpage loaded. after that form created. so it will take more than 12 seconds. but i want improve the performance. please let me know how to avoid masterpage load when form created.


Thanks in Advance.
Dhamu
Dhamodharan
Top achievements
Rank 1
 answered on 23 Feb 2012
0 answers
70 views
Hi,

I have a RadComboBox and 2 RadGrids - RadGrid1 and RadGrid2.
I have the following path of execution for populating RadGrid1 :
OnPreRender of RadComboBox -> If this is not a PostBoack, Do
[ Populate RadComboBox  -> Set a default value in it -> Pass that value to execute a stored procedure -> Equate the returned DataTable to RadGrid1.DataSource and call RadGrid1.Rebind() ]
In this way, I get the populated RadGrid1.

RadGrid2 gets populated by the following flow :
OnSelectIndexChanged on RadGrid1 -> [Get some DataKeyValue -> Pass it to an SP and execute it -> Equate the returned DataTable to RadGrid2.DataSource and call RadGrid2.Rebind() ]

Note, I haven't set any OnNeedDataSource event handler function for the above two grids. Alogwith this, I have customized my RadGrid1's filter menu items as described in one of the telerik demos. I have used OnFilterMenuShowing and OnClientShowing events of the RadGrid1 to do this. Also, I have a Default Filter set on RadGrid1 which only displays the records that are having blank as the column value.

Now the problem arises, when I try to select No Filter for the same column in RadGrid1, a postback happens and the grid doesnot populates. Its probably because, when the above OnPreRender of ComboBox is called, RadGrid1 cannot get rebind because the logic is enclosed within a check for IsPostback flag. And also, I am not having the OnNeedDataSource event handler for the same. Reason for this is, everytime there is a postback, RadGrid1 is getting rebinded and as a large number(1000+) of records are being returned from the stored procedure, it slows down the application.

Is there a way to achieve this? Can we check the control id that has raised the PostBack event?
Please help.

Regards,
Anup
Anup
Top achievements
Rank 1
 asked on 23 Feb 2012
7 answers
227 views
The RadGrid FilterTemplate RadCombo SelectedIndexChanged not firing in the code below. Am I missing something?


<telerik:RadGrid ID="gridVers" runat="server"
AutoGenerateColumns="False"
OnItemDataBound="GridVers_ItemDataBound"
Width="960px" AllowSorting="True" 
 OnItemCommand="GridVers_ItemCommand" OnNeedDataSource="GridVers_NeedDataSource" EnableViewState="true" AllowFilteringByColumn="true" OnItemCreated="gridVers_OnItemCreated" OnSortCommand="GridVers_SortCommand"   GridLines="None" >
   <MasterTableView DataKeyNames="VerbatimId" TableLayout="Fixed" UseAllDataFields="true">
            <Columns>
            <telerik:GridBoundColumn UniqueName="VerbatimMarked" AllowFiltering="true" DataField="IsMarkedDisplay" HeaderText="Marked">
                <ItemStyle HorizontalAlign="Center" />
                <HeaderStyle Width="50px" HorizontalAlign="Center" Font-Underline="true" />
                <FilterTemplate>
                <telerik:RadComboBox runat="server" Width="50px" ID="rcbFilterMarked"></telerik:RadComboBox>
                </FilterTemplate>
            </telerik:GridBoundColumn>
             
             <telerik:GridTemplateColumn  UniqueName="VerbatimId" AllowFiltering="true"  SortExpression="VerbatimId" HeaderStyle-Width="75px" HeaderText="ID" DataField="VerbatimId">      
             
                                <FilterTemplate>
                                <telerik:RadComboBox runat="server" Width="75px" ID="rcbFilterLinkId"></telerik:RadComboBox>
                                </FilterTemplate>
                                <ItemTemplate>
                                <asp:LinkButton ID="lnkVerbatim" style="text-decoration: underline;"  CommandName="DetailVerbatim" runat="server" Text='<%# Eval("VerbatimId")%>'>
                                </asp:LinkButton>
                                </ItemTemplate>
             </telerik:GridTemplateColumn
             <telerik:GridBoundColumn UniqueName="VerbatimText" AllowFiltering="true"
                    DataField="VerbatimText" HeaderText="Verbatim"
                    DataType="System.String" >
               <FilterTemplate>
                <asp:TextBox runat="server" ID="txtFilterText"></asp:TextBox>
               </FilterTemplate>    
                      
                </telerik:GridBoundColumn>
             <telerik:GridBoundColumn  UniqueName="Specialty" AllowFiltering="true"
                    HeaderStyle-Width="60px" DataField="Specialty" HeaderText="Spec"
                    DataType="System.String" >
                    <FilterTemplate>
                        <telerik:RadComboBox runat="server" Width="60px" ID="rcbFilterSpec"></telerik:RadComboBox>
                    </FilterTemplate>
                </telerik:GridBoundColumn>
             <telerik:GridBoundColumn  UniqueName="ContactDate" AllowFiltering="true"
                    HeaderStyle-Width="80px" DataField="ContactDate" HeaderText="DT"
                    DataFormatString="{0:MM/dd/yyyy}" DataType="System.DateTime" >
                    <FilterTemplate>
                        <telerik:RadComboBox runat="server" Width="80px" ID="rcbFilterContact"></telerik:RadComboBox>
                    </FilterTemplate>
                </telerik:GridBoundColumn>
                 
                 
             <telerik:GridBoundColumn  UniqueName="State" AllowFiltering="true"
                    HeaderStyle-Width="30px" DataField="State" HeaderText="State"
                    DataType="System.String"  >
                       <FilterTemplate>
                        <telerik:RadComboBox runat="server" Width="30px" ID="rcbFilterState" AutoPostBack="true"  OnSelectedIndexChanged="FilterCombo_SelectedIndexChanged"></telerik:RadComboBox>
                    </FilterTemplate>
                      
                </telerik:GridBoundColumn>
            </Columns>
   </MasterTableView>        
    <ClientSettings EnableRowHoverStyle="true" >
        <Scrolling AllowScroll="True" ScrollHeight="400px" UseStaticHeaders="True" />
        <ClientEvents OnGridCreated="GridCreated" />
         
    </ClientSettings>
   </telerik:RadGrid>
Shinu
Top achievements
Rank 2
 answered on 23 Feb 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?