Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
858 views
Hi erveryone,

I wonder if there is any way to create a column in my grid, which is a link or a button or anything that is done by clicking a download of a file (.jpg, .doc, .txt ...) that is located in a folder of my solution. I emphasize that I have saved the file path in the database and I can load it in the column, if necessary.

Thanks
Eyup
Telerik team
 answered on 24 Aug 2012
9 answers
143 views

Hi,

I checked the demo : http://demos.telerik.com/aspnet-ajax/editor/examples/spellchecker/defaultcs.aspx
but when i tried to apply it on my Greek Dictionary it was not working.

I kept receiving an error, that Phonetic provider is not supported.

Is it necessary for inline spell check the phonetic provider to be supported?
Is there any other way to enable inline spell check?

Regards,
Eleni
Marin Bratanov
Telerik team
 answered on 24 Aug 2012
0 answers
59 views
Please cancel this.

Thanks
Tadas
Top achievements
Rank 1
 asked on 24 Aug 2012
1 answer
89 views
Hi,

  I have a radpanelbar in my aspx page, which contains four radpanelitem. On loading the page the first panel item only expanded if i click an another panelitem it will be expanded previously expanded will be closed. But i have to expand the last panelitem always.
If i click the second panelitem both 2nd panel item should be  expanded and the last panelitem will be in expanded state. How can i achieve this?.

Thanks,
Velkumar.

Kate
Telerik team
 answered on 24 Aug 2012
1 answer
124 views
Hello,

      I would like to filter numeric column on multiple values. Example (OrderId = 101, 102, 103). Similar to SQL query like:
Select * from Orders where OrderId IN (101, 102, 103)

How can we achieve this in Telerik Grid.

Please advice.

Thanks.
Martin
Telerik team
 answered on 24 Aug 2012
3 answers
120 views
When I created stacked bars chars the legend is always reverse to what the order of the stacked bars are.  Is there any way to achieve the legend matching to colors of the stacked bar?
Marc Fearby
Top achievements
Rank 1
 answered on 24 Aug 2012
10 answers
277 views
Hi,

I am currently setting up the scheduler to bind via a WCF service and wanted to know if there is a client side method on the scheduler object that will allow me to force the scheduler to rebind. I looked for a .rebind() but did not see one. Does this client-side method exist and I am just missing it?

Thanks,
Paige Cook
Mahesh
Top achievements
Rank 1
 answered on 24 Aug 2012
2 answers
101 views

Hi,

I am trying to use the below code to focus on a RadNumericTextBox contained within the item template of a panel bar item when the item expands.

The javascript finds the control correctly but the focus call does nothing.  Can anyone please give me any info on why the focus does not land in the control?

Thanks

Gavin.

function OnItemExpand(sender, args)
{
    var itm = args.get_item();
    if (itm.get_value() == "9")
    {
        var ctrl = itm.findControl("txtEpiID");
        if (ctrl != null)
        {
            ctrl.focus();
        }
    }
}

Gavin
Top achievements
Rank 1
 answered on 24 Aug 2012
8 answers
747 views

I have a grid that is used to display meta-data for files that have been uploaded to my app.  I have two GridButtonColumns in the grid: one to Delete the doc shown on the row, and another to Save/View the doc.

I got the Delete command to work fine using the Command="Delete" attribute on the GridButtonColumn (shown below).  However, I'm having some difficulty telling the grid to use a custom handler that I've written on the second GridButtonColumn.  All I need to know how to do is to assign a custom handler to the GridButtonColumn where I can then ignore the validators on the page and open the file.

Any input is greatly appreciated.  Thanks.

Marty

Grid:

<telerik:RadGrid ID="GrdDocs" runat="server" GridLines="None" ShowGroupPanel="True" 
                                                                        AutoGenerateColumns="False" AllowPaging="True" OnNeedDataSource="GrdDocs_OnNeedDataSource" 
                                                                        OnDeleteCommand="GrdDocs_OnDelete">  
                                                                        <HeaderContextMenu EnableTheming="True">  
                                                                            <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> 
                                                                        </HeaderContextMenu> 
                                                                        <MasterTableView DataKeyNames="DocumentID">  
                                                                            <RowIndicatorColumn> 
                                                                                <HeaderStyle Width="20px"></HeaderStyle> 
                                                                            </RowIndicatorColumn> 
                                                                            <ExpandCollapseColumn> 
                                                                                <HeaderStyle Width="20px"></HeaderStyle> 
                                                                            </ExpandCollapseColumn> 
                                                                            <Columns> 
                                                                                <telerik:GridBoundColumn DataField="DocumentID" EmptyDataText="&amp;nbsp;" HeaderText="Document ID" 
                                                                                    UniqueName="column" Visible="False">  
                                                                                </telerik:GridBoundColumn> 
                                                                                <telerik:GridBoundColumn DataField="FileName" EmptyDataText="&amp;nbsp;" HeaderText="File Name" 
                                                                                    UniqueName="column1">  
                                                                                </telerik:GridBoundColumn> 
                                                                                <telerik:GridBoundColumn DataField="DateUploaded" EmptyDataText="&amp;nbsp;" HeaderText="Date Uploaded" 
                                                                                    UniqueName="column2">  
                                                                                </telerik:GridBoundColumn> 
                                                                                <telerik:GridBoundColumn DataField="AddedBy" EmptyDataText="&amp;nbsp;" HeaderText="Added By" 
                                                                                    UniqueName="column3">  
                                                                                </telerik:GridBoundColumn> 
                                                                                <telerik:GridButtonColumn ButtonType="LinkButton" Text="Delete" UniqueName="colDelete" 
                                                                                    CommandName="Delete">  
                                                                                </telerik:GridButtonColumn> 
                                                                                <telerik:GridButtonColumn ButtonType="LinkButton" Text="Save/View" UniqueName="colSave" >
                                                                                      
                                                                                </telerik:GridButtonColumn> 
                                                                              
                                                         
                                                              
                                                                            </Columns> 
                                                                        </MasterTableView> 
                                                                        <FilterMenu EnableTheming="True">  
                                                                            <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> 
                                                                        </FilterMenu> 
                                                                    </telerik:RadGrid> 
Naveen
Top achievements
Rank 1
 answered on 23 Aug 2012
2 answers
257 views
I have a certain problem with a Telerik code sample that I have used for tool-tips (http://www.telerik.com/community/forums/aspnet-ajax/tooltip/changing-targetcontrol-on-the-client.aspx). The requirements is that in a certain page I have some static links which on mouse-hover displays different images using tool-tip. So I created a basic HTML where I added 3 links and tool-tip control. See code sample below - 

<script type="text/javascript">
    function showToolTipNewTarget(newTarget, imgPath) {
        
        var radTooltip1 = $find("<%= RadToolTip1.ClientID %>");
        
        radTooltip1.set_targetControlID("");
        radTooltip1.set_targetControl(newTarget);
        document.getElementById("MainContent_img99").src = "ProductImages/" + imgPath;
        radTooltip1.show();
        setTimeout(function () {
            radTooltip1.show();
        }, 2000);

    }

   
</script>


<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
                                      <tr>
                                        <td class="acco_txt_white"  width="75%" ><a href="#" id="link1" onmouseover="showToolTipNewTarget(this,'1.jpg');">Link1</a></td>
                                        <td class="acco_txt_white" width="25%"><a href="#">Learn More</a></td>
                                      </tr>
                                      <tr>
                                        <td class="acco_txt_white"  width="75%" ><a href="#" id="link2" onmouseover="showToolTipNewTarget(this,'2.png');">Link2</a></td>
                                        <td class="acco_txt_white" width="25%"><a href="#">Learn More</a></td>
                                      </tr>
                                      <tr>
                                        <td class="acco_txt_white"  width="75%" ><a href="#" id="link3" onmouseover="showToolTipNewTarget(this,'3.jpg');">Link3</a></td>
                                        <td class="acco_txt_white" width="25%"><a href="#">Learn More</a></td>
                                      </tr>
  
                                    </table>


<telerik:RadToolTip runat="server"  ID="RadToolTip1" RelativeTo="Element" Width="390px"
        Height="70px" TargetControlID="link1" IsClientID="true" Animation="Resize" EnableShadow="true"
        Position="MiddleLeft" HideEvent="LeaveTargetAndToolTip"  >
        
            <div>
                <asp:Image ID="img99" runat="server" ImageUrl="~/ProductImages/1.jpg" AlternateText="solutions" />
            </div>
        
    </telerik:RadToolTip>

When I'm setting up the above code, the problem is that there is some kind of ' flicker' effect in the display of the image (it keeps appearing and disappearing at very fast intervals). At times it stays perfect as well, but most of the time I are experiencing the mentioned problem. However, if I use 3 different tool-tips for 3 different links then the images stay constant without any flicker.

Kindly help.
Pritam
Top achievements
Rank 1
 answered on 23 Aug 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?