Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
123 views
Hi,
i am using Telerik.Web.UI version (2009.2.826.35)
i have RadScheduler on my webform.
 i would like make DataSubjectField as like a hyperlink which will open new Test.aspx form.
i want to call my Javascript function to open that form and i need to pass id to that function.

<telerik:RadScheduler ID="RadScheduler1" runat="server" SelectedView="TimelineView" Height="100px" ShowNavigationPane="false" AllowInsert="false" AllowEdit="false" AllowDelete="false" 
          DataKeyField="id" DataStartField="sortdate" DataEndField="displaydate" DataSubjectField"text" OverflowBehavior="Expand" ShowViewTabs="false" ColumnWidth="250px">  
     </telerik:RadScheduler> 

function openWin(id) 
{    
    var url = document.location.protocol  + "//" + document.location.host + '/Test.aspx?' + '&id' + id;  
    var openedWin = window.open(url); 
    openedWin.focus(); 


how do i make this one?

Venkata
Top achievements
Rank 1
 answered on 08 Apr 2010
4 answers
139 views
Hi.

I am having issue on treeview that when I expend treeview, it expand and push down other items to bottom of the treeivew.
it seems like other expanded nodes does not render correctly.
this happens when other node is already expanded.

Any idea?

Thanks
Young Kim
Top achievements
Rank 1
 answered on 08 Apr 2010
5 answers
179 views
Hi support,

I am attempting to institute a radgrid using a user control insert/edit form.  I am running into a problem with deletion of the last row in the grid on the last page.  For example, I have a situation where there are 4 records in the grid with a pagesize of 3. If I delete the 4th record then after the successful deletion, the paging is thrown out of whack and the grid can no longer find any records within the grid.  Moreover, the grid will not rebind either.  As I have a dropdown that controls the grid datasource which generally allows a different search. 

Note, since I have the paging as "always visible" the pager at the bottom is clickable and if I click the page number at the bottom it will reorient the grid and put everything into the right place.  I have tried a number of things and don't know where to go.
Without this always visible on, it is totally broken.

Josh

   

 I have copied and pasted the relevant code below
    <asp:Panel ID="PanelRadGrid" runat="server" style="table-layout:fixed; clear:both;" >               
        <telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False" PageSize="3" 
                AllowSorting="True" AllowPaging="True" AllowMultiRowSelection="False" 
                OnNeedDataSource="RadGrid1_NeedDataSource" 
                OnItemCommand="RadGrid1_ItemCommand"    
                OnInsertCommand="RadGrid1_InsertCommand"   
                OnUpdateCommand="RadGrid1_UpdateCommand" 
                OnDeleteCommand="RadGrid1_DeleteCommand" 
                OnItemCreated="RadGrid1_ItemCreated" 
                OnItemDataBound="RadGrid1_ItemDataBound" 
                Skin="Mastrr" 
                > 
                <PagerStyle Mode="NumericPages" HorizontalAlign="Center" AlwaysVisible="true" /> 
                <MasterTableView EnableTheming="false" InsertItemPageIndexAction="ShowItemOnCurrentPage" InsertItemDisplay="Bottom" DataKeyNames="PendForReviewKey" Width="100%" GridLines="None" AllowMultiColumnSorting="True" 
                      CurrentResetPageIndexAction="SetPageIndexToFirst" CommandItemDisplay="Bottom" TableLayout="Auto" ShowHeadersWhenNoRecords="true">  
                    <Columns> 
                        <telerik:GridTemplateColumn> 
                            <ItemTemplate> 
                                <asp:Button ID="ButtonEdit" runat="server" CommandName="Edit" CssClass="rgEdit" ToolTip="Edit" /> 
                            </ItemTemplate>   
                        </telerik:GridTemplateColumn>                      
                        <telerik:GridBoundColumn UniqueName="Person" SortExpression="Person" HeaderText="Person"   
                            DataField="Person">  
                        </telerik:GridBoundColumn> 
                        <telerik:GridBoundColumn UniqueName="Product" SortExpression="Product" HeaderText="Product" 
                            DataField="Product">  
                        </telerik:GridBoundColumn>                           
                        <telerik:GridBoundColumn UniqueName="RenderOrg" SortExpression="RenderOrg" HeaderText="Rendering Organization" 
                            DataField="RenderOrg">  
                        </telerik:GridBoundColumn> 
                        <telerik:GridBoundColumn UniqueName="BillingOrg" SortExpression="BillingOrg" HeaderText="Billing Organization" 
                            DataField="BillingOrg">  
                        </telerik:GridBoundColumn> 
                        <telerik:GridBoundColumn UniqueName="BillingOrgTreeFlag" HeaderText="Org Tree Flag" 
                            DataField="BillingOrgTreeFlag">  
                        </telerik:GridBoundColumn> 
                        <telerik:GridBoundColumn UniqueName="Diagnosis" SortExpression="Diagnosis" HeaderText="Diagnosis Code" 
                            DataField="Diagnosis">  
                        </telerik:GridBoundColumn> 
                        <telerik:GridBoundColumn UniqueName="EffectiveDate" SortExpression="EffectiveDate" HeaderText="Effective Date" 
                            DataField="EffectiveDate">  
                        </telerik:GridBoundColumn> 
                        <telerik:GridBoundColumn UniqueName="ExpirationDate" SortExpression="ExpirationDate" HeaderText="Expiration Date" 
                            DataField="ExpirationDate">  
                        </telerik:GridBoundColumn> 
                        <telerik:GridTemplateColumn UniqueName="TemplateColumn">  
                           <ItemTemplate> 
                             <asp:Button ID="ButtonDelete" runat="server" CommandName="Delete" CssClass="rgDel" ToolTip="Delete" 
                              OnClientClick="javascript:if(!confirm('This action will delete the selected Pend For Review Record. Continue?')){return false;}"/>  
                            </ItemTemplate> 
                        </telerik:GridTemplateColumn>                                                                                                                                                                                                                                            
                    </Columns> 
                    <EditFormSettings UserControlName="../AdminUC/ManagePendForReviewUC.ascx" EditFormType="WebUserControl">  
                     </EditFormSettings> 
                <CommandItemSettings AddNewRecordText=""   
                                     RefreshText="" />                       
                </MasterTableView> 
                <ClientSettings AllowKeyboardNavigation="True">    
                    <Selecting AllowRowSelect="False" />    
                </ClientSettings> 
        </telerik:RadGrid> 

    /// <summary>  
    /// The Delete event.  Occurs when user clicks the trash can icon on the edit form.  
    /// </summary>  
    /// <param name="source"></param>  
    /// <param name="e"></param>  
    protected void RadGrid1_DeleteCommand(object source, GridCommandEventArgs e)  
    {  
        Int16 pendForReviewKey = Convert.ToInt16(e.Item.OwnerTableView.DataKeyValues[e.Item.ItemIndex]["PendForReviewKey"]);  
        PendForReview.Delete(pendForReviewKey);  
 
        // Return to grid mode out of edit mode if that's where the user was.  
        e.Item.Edit = false;  
 
    } 
Basel Nimer
Top achievements
Rank 2
 answered on 08 Apr 2010
1 answer
213 views
I am curious if someone could possibly give me an example of how to prevent the RadScheduler from letting anyone move/resize the appointments?

Thanks

Ramie
Dimitar Milushev
Telerik team
 answered on 08 Apr 2010
3 answers
141 views
You've got PDF rendering on reporting, Editor, RadGrid (others?)...where's the standalone PDF component for us to just feed content into and manipluate (rasterize?)?

Is there anything in an upcoming Q release?
Albert Shenker
Top achievements
Rank 1
Veteran
Iron
 answered on 08 Apr 2010
2 answers
98 views
In the Month View, when navigating to previous and next month using the nav buttons, I can't seem to get beyond 1 month away. This month is April, when I click the next month button, it moves to May, but from here, if I click the next month again, it re-loads May. If I click the previous month, it (strangely) moves to March, but I can't move back from March either.

I'm guessing this is because I'm using an older version of the libary (2008.3.1314.20), but is there a workaround so that I could get these nav buttons working more intuitively?

As for code, I'm essentially using the same code from the examples. Nothing fancy.
Adam
Top achievements
Rank 1
 answered on 08 Apr 2010
3 answers
119 views
hi,
i have a project fully of radgrids
all of them have columns the problem that the field has large date lets the grid strech more than size of the grid
i tried to fix using
HeaderStyle-Width="200px" ItemStyle-Width="200px"
alsoi tried using
DataFormatString="<nobr>{0}</nobr>"
i know this problem is not appear using scrolling feature
but i need to use the paging

any help,
Ihab
Thanh Dang
Top achievements
Rank 2
 answered on 08 Apr 2010
2 answers
91 views
See the attached images, when a radgrid extends beyond the width of a window (when you have to scroll over) the background color gets cut of.

There any easy way of fixing this?


Thanks,
Mirek
MS
Top achievements
Rank 1
 answered on 08 Apr 2010
0 answers
97 views
I LINK TO SQL USING SQLDATASOURCE, OBJECTDATASOURCE, TO A CLASS INFO AND THE PROBLEM IS
THE CONTENT OF MI SCHEDULER DONT RENDER COMPLETE, AND I CANT SEE ANYTHING..

THE INFORMATION IS ON THE SCHEDULER, THE PROBLEM IS VISUAL AND I DONT KNOW WHY.

I TRIED TO SET WITH TO 100%, OR IN PIXELES DONT WORK.
I SET A SKIN, NEITHER


PLEASE, HELP.....




SI SE PUEDE EN ESPAÑOL, SE LOS AGRADESCO MUCHO.





Pedro Pablo
Top achievements
Rank 1
 asked on 08 Apr 2010
9 answers
122 views
Let me start with a quick, I love your product, I have been using Telerik controls since 2004 full time.  I am not new to Telerik or the upgrade process each time a new version comes out.  With that said I have faced my toughest week ever using the Telerik Ajax Controls.  I have read ALL the blogs, links, forums, that I can stand in one week.  I cannot seem to resolve this issue with the Designer failing to render the controls.

I am working on a developers box with 8 gigs of Ram, 500 gig hard drive running Windows 7 (64) bit.  We recently went to Visual Studio 2008 Team Foundation Server using source control.  I have sp 1 installed.  I am currently running Telerik version 2009.3.1208.20.  I had sp2 installed but it would error out so much I rolled back to sp1 hoping that would fix the problem.

One last thought...I have never experienced any issues with Telerik in 6 plus years of using your product until this last upgrade.  Can you please help me resolve this issue so I continue to use your wonderful controls.

A Really Big Fan,
Ed
Erjan Gavalji
Telerik team
 answered on 08 Apr 2010
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?