Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
100 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
144 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
124 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
290 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
106 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
766 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
267 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
4 answers
65 views
Hi,

I hvae used rad scheduler in my application. It shows appointment to users.
The workdaystarttime is 8:00 am and workday end time is et to 5:00 PM.

After 5 PM, if user goes to check the calendar for appointment, scheduler changes date to next day.
i.e. If today is August 21st 2012, and I check the calendar for appointments after 5 PM today say at 5:10 PM, scheduler will show me date as August 22nd 2012.

I tried to change workdaystarttime and end time to 00:00:00 and 23:59:00 respectively. However it doesn't work.

How can I fix this issue?

Thanks,
Aditi
Aditi
Top achievements
Rank 1
 answered on 23 Aug 2012
3 answers
167 views
I am using Telerik rad scheduler for scheduling course time table for a week. It is working fine with any browser except IE7. The scheduler is working with IE8 and higher versions.
I have attached rad scheduler images both rendered in IE7 (ie7scheduler.png)  and IE9 (ie9scheduler.png). I am using rad dll of the version 2011.1.519.35.
Please help me to resolve this issue.
  
Peter
Telerik team
 answered on 23 Aug 2012
3 answers
128 views
We're having an issue with IE9 specifically and RadWindows that I am not sure if others are receiving.  In IE9 the iFrame is not being created for a RadWindow and the window never opens.  The JavaScript error that is received when someone clicks on a link that opens a RadWindow in other browsers is the following in IE9.

This occurs the first time the link is clicked (line 627 of the ScriptResource.axd)
SCRIPT5022: DOM Exception: INVALID_CHARACTER_ERR (5) 

var r=($telerik.isIE)?document.createElement("<iframe name='"+w+"'>"):document.createElement("iframe");

This occurs the second time the link is clicked (line 857 of the ScriptResource.axd): 
if(this._reloadOnShow){b=this._getReloadOnShowUrl(b)
}this._iframe.src=b;

The RadControls for ASP.NET AJAX version we are running is: 2009.3 1314 (Jan 14, 2010)

If the document type mode is changed to render as IE8 it works fine, but there is something about IE9 that is not allowing this.
Marin Bratanov
Telerik team
 answered on 23 Aug 2012
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?