Telerik Forums
UI for ASP.NET AJAX Forum
10 answers
246 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
95 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
715 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
244 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
53 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
134 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
91 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
1 answer
80 views
Hello,

I tried the demo named Client-side API from Telerik website (http://demos.telerik.com/aspnet-ajax/splitter/examples/sp_clientsideapi/defaultcs.aspx).

First I opened it in IE explorer, which was not maximized. The RadSlidingPane displayed well. As you can see in Picture1 in the attachment. But when I maximized the IE explorer, some problem happened. The RadSlidingPane moved outside (as shown in Picture2).

I also tried some other demos. They also have this problem. Here I want to ask: is it a method to solve this problem?
Hope to get your answers.

Thanks very much in advance!
Best regards,
Jack
Vessy
Telerik team
 answered on 23 Aug 2012
3 answers
114 views
Hi! I tried to install RadControls in SP2010 farm, but despite of "success" after msi deployment, there is no new features for my sites (in all 3 of my webapps).
I have no new assemblies in GAC or in web.conf...
How i have to activate it? And why in .zip file (for manual installation) i can't find .wsp file?

Have i missed something?

Please help! :| 
Stanimir
Telerik team
 answered on 23 Aug 2012
1 answer
47 views
Hi All,

I have method in page load, in this method based on database values, i will select Source Listbox items.These values i need to transfer to Destination Listbox.
Can any one help me on this ? it's very urgent....


Thanks in advance..

by
Sekhar
Purnasekhar
Top achievements
Rank 1
 answered on 23 Aug 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?