Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
353 views
Is it possible to expose the context menu when the user performs a single left-click on a time-slot? 
Veronica
Telerik team
 answered on 18 Nov 2010
1 answer
193 views
Hi guys,

I have a problem in bringing up scrolling for gridtalbeview, here is the code

<DetailTables>  
                                                   
                <telerik:GridTableView    AutoGenerateColumns="false" ItemStyle-CssClass="RadGridview"   DataKeyNames = "CGTASK_ID,Confirmed" Name="Schedules" AllowSorting="true"  Width="100%"   InsertItemPageIndexAction="ShowItemOnFirstPage" HierarchyDefaultExpanded="True">
                    
                    <ParentTableRelation>
                        <telerik:GridRelationFields DetailKeyField="ClientID" MasterKeyField="ClientID" />
                    </ParentTableRelation>
                    
                    <Columns>                          
 
                          <telerik:GridBoundColumn  HeaderText="Date"        ItemStyle-HorizontalAlign="Left"  HeaderStyle-HorizontalAlign="Left"  ItemStyle-Width="8%" HeaderStyle-Width="8%"    DataField="VisitDate"   AllowSorting="true"    SortExpression="VisitDate">     </telerik:GridBoundColumn>                                                                                                                                                                                             
                          <telerik:GridTemplateColumn UniqueName="CaregiverEditColumn" SortExpression="CaregiverNamewithAssign" ItemStyle-Width="22%" HeaderStyle-Width="22%"  Reorderable="true" >
                             <HeaderTemplate>
                                   <asp:Label ID="lbl_cgName"     runat="server"     Text="Clinician Name"></asp:Label>
                             </HeaderTemplate>
                             <ItemTemplate>                             
                                <a href="<%#winlocation%>"><%# CaregiverNamewithAssign %></a> 
                             </ItemTemplate>
                             </telerik:GridTemplateColumn>
                             
                            
                             <telerik:GridBoundColumn  HeaderText="DISP"        ItemStyle-HorizontalAlign="Center"  HeaderStyle-HorizontalAlign="Center"  ItemStyle-Width="8%" HeaderStyle-Width="8%"    DataField="VPEDiscipline"  AllowSorting="true" SortExpression="Discipline">    </telerik:GridBoundColumn>
                             <telerik:GridBoundColumn  HeaderText="Job Code"    ItemStyle-HorizontalAlign="Center"  HeaderStyle-HorizontalAlign="Center"  ItemStyle-Width="8%" HeaderStyle-Width="8%" DataField="JobCode"        AllowSorting="true" SortExpression="JobCode">   </telerik:GridBoundColumn>
                             <telerik:GridBoundColumn  HeaderText="Description" ItemStyle-HorizontalAlign="Left"    HeaderStyle-HorizontalAlign="Left"  ItemStyle-Width="22%" HeaderStyle-Width="22%"  DataField="Description"    AllowSorting="true" SortExpression="Description">   </telerik:GridBoundColumn>
                              <telerik:GridTemplateColumn Visible="true" ItemStyle-HorizontalAlign="Center"  HeaderStyle-HorizontalAlign="Center" >
                             <HeaderTemplate>
                                  <asp:Label ID="lbl_cgconfirmed"  UniqueName="Child1Template" runat="server"  Text="Confirmed"></asp:Label>
                             </HeaderTemplate>
                             <ItemTemplate>
                                  <asp:CheckBox ID="chkbx_cgconfirmed"   runat="server" oncheckedchanged="chkbx_cgconfirmed_CheckedChanged" AutoPostBack="true" TaskId="<%#TaskID%>" />   
                             </ItemTemplate>                                                           
                             </telerik:GridTemplateColumn>  
                          
                             <telerik:GridBoundColumn  HeaderText="Start Time"  ItemStyle-HorizontalAlign="Center"  HeaderStyle-HorizontalAlign="Center"  ItemStyle-Width="8%" HeaderStyle-Width="8%"   DataField="StartTime"      AllowSorting="true" SortExpression="StartTime">     </telerik:GridBoundColumn>
                             <telerik:GridBoundColumn  HeaderText="End Time"    ItemStyle-HorizontalAlign="Center"  HeaderStyle-HorizontalAlign="Center"  ItemStyle-Width="8%" HeaderStyle-Width="8%" DataField="EndTime"        AllowSorting="true" SortExpression="EndTime">       </telerik:GridBoundColumn>                           
                             <telerik:GridBoundColumn  HeaderText="Total Hours" ItemStyle-HorizontalAlign="Center"  HeaderStyle-HorizontalAlign="Center"  ItemStyle-Width="8%" HeaderStyle-Width="8%" DataField="TotalHours"     AllowSorting="true" SortExpression="TotalHours">    </telerik:GridBoundColumn>                                                                                                                                                   
                             <telerik:GridBoundColumn     HeaderText="Status"   ItemStyle-HorizontalAlign="Left"  HeaderStyle-HorizontalAlign="Left"  ItemStyle-Width="8%" HeaderStyle-Width="8%" DataField="Status"  SortExpression="Status"> </telerik:GridBoundColumn>                        
                    </Columns>     

        <ClientSettings >
        <Scrolling AllowScroll="true" UseStaticHeaders="false" SaveScrollPosition="true">
        </Scrolling>
        </ClientSettings>

                              
                </telerik:GridTableView>
            </DetailTables>
            
        </MasterTableView>

    which is very important to have this functionality, any help on this would be appreciated.

with regards
Raju
Pavlina
Telerik team
 answered on 18 Nov 2010
4 answers
327 views
I have a grid with the auto-filter row enabled, ie:  

<

 

telerik:RadGrid ... AllowFilteringByColumn="True" />

 


I have a number of GridNumericColumn within the grid, ie:

<

 

telerik:GridNumericColumn DataField="CityId" DataType="System.Int32" HeaderText="ID" SortExpression="CityId" UniqueName="CityId" CurrentFilterFunction="EqualTo" ShowFilterIcon="false" AutoPostBackOnFilter="true"/>

 


When filtering for an ID above 1000, the filter row displays the identifier with a thousands seperator...
As an example, take a look at the following image:  http://screencast.com/t/MjdjMmUyNWY  (captured with Techsmith's Jing).

Is there a way to eliminate the thousand's seperator?

Thanks,

Roy
Josep Bonet
Top achievements
Rank 1
 answered on 18 Nov 2010
2 answers
508 views
Dear Forum,

I've just had Q2 2010 installed (2010.2.713.40) and I am using VS 2008. When I try to add the new reference to my project, VS finds the reference but there is a little yellow triangle and exclamation point over the reference item in the references list and I get this error

Warning 34 The referenced component 'Telerik.Web.Design' could not be found.  

Also, VS did not updat my web.config file. I'm kind of new at these Telerik controls, can someone help me out here?

Oh, there's another error:
Warning 8 Resolved file has a bad image, no metadata, or is otherwise inaccessible. Could not load file or assembly 'C:\Program Files\Telerik\RadControls for ASP.NET AJAX Q2 2010\Bin40\Telerik.Web.Design.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. UI


Thanks,
Celeste
Celeste
Top achievements
Rank 1
 answered on 18 Nov 2010
1 answer
66 views
Hello,

I am looking to insert an appointment for the scheduler but from a different page. The user will be able to setup an appointment/task from a different screen and then look at their scheduler later if need be.

I am concerened about the reminder field as it is a unique format and I am not sure how to recreate this so that it will work correctly when the user is viewing their schedule at a later time.

Thanks,
Ronny
Veronica
Telerik team
 answered on 18 Nov 2010
2 answers
78 views
Hello,

I need some help with this:
I have 3 pages:
  • the main page,
  • a rad window
  • and a 3rd page.
from the main page you can click a create new button and the radwindow opens and inside the radwindow there is another button that redirect's you to the 3rd page. on the 3rd page there is a "go back"  button that sends you back to the radwindow. Now you can also go from the main page to the 3rd page if you need to edit an existing item.
my problem is that when i try to go from the main page to the 3rd page to edit and then try to go back usin the "Go back" button my page is redirecting me to the radwindow but I want the button to send me to the main page.

is there a way to make a page redirect depending on the page that it came from?

thanks
Cori
Top achievements
Rank 2
 answered on 18 Nov 2010
2 answers
100 views
Hi. I want to put my own code to execute on the SelectedIndexChanged event for the RadGrid. At the moment the event only occurs when I click the edit link. I assume that to get the event to occur is a simple property that I haven't set. I want to just be able to single click on a row in the grid and for my code behind to execute. I had assumed that clicking a row would "select" it and thus trigger the event but that isn't happening. Any help appreciated. Thanks
Paul
Top achievements
Rank 1
 answered on 18 Nov 2010
1 answer
208 views
Hi,

We are facing an Issue with the position of horizontal scroll of the rad tree view when we right click on any node of the tree to open its context menu.

Suppose this scenario:- A user moves the horizontal scroll of the tree view towards right, then he right clicks on any tree node to open the context menu. When the context menu is visible, the position of the horizontal scroll is moved to the extreme left and do not remain at the position where the user has last left it.

In the javascript function OnClientContexMenuShowing() we are making an Ajax call using the AjaxManager. Code is present below for your reference. It seems to me that this Ajax request is some how resetting the position of horizontal scroll bar to initial position( extreme left). Do we have any work around for thi Issue.. ?

 

 

 

 

<

 

rad:RadTreeView ID="RadTreeView1" runat="server" Height="96%" OnClientContextMenuShowing="OnClientContextmenuShowing"

 

 

 

 

OnClientNodeClicked="OnTreeNodeClick" OnClientDoubleClick="OnTreeNodeDoubleClick"

 

 

 

 

OnClientContextMenuItemClicked="OnTreeContextMenuClick" OnClientNodeExpanding="toggleHandler"

 

 

 

 

OnClientNodeCollapsing="toggleHandler">

 

 

 

 

</rad:RadTreeView>

 

 

 


 

 

 

 
function OnClientContextmenuShowing(sender, e) { 
  
//Get the ajax manager object
  
clientAjaxRequest("UpdateMenu"); 
   
return false;
}

 

 

 

 

function clientAjaxRequest(arg) {
  
var ajaxManagerObject = $find("<%= RadAjaxManager1.ClientID %>"); 
  
ajaxManagerObject.ajaxRequest(arg);
  
} 
Nikolay Tsenkov
Telerik team
 answered on 18 Nov 2010
3 answers
87 views
I would like to know if there's any way of displaying an SSL icon in a radwindow when opening a secure web page.
Georgi Tunev
Telerik team
 answered on 18 Nov 2010
2 answers
347 views
Accordining to http://www.telerik.com/help/aspnet-ajax/radbinaryimage.html 
"ReziseMode" specifies whether the image should be sized automatically if width and height of the image are set in pixels. Possible values are:
  • Crop (the image will be trimmed)
  • Fit (the image will be sized to fit the given dimensions)
  • None (default)

Using the code

<

 

telerik:RadBinaryImage ID="RadBinaryImage1" runat="server" ImageUrl="Photo/Grid-Scrolling-Issue.jpg" ResizeMode="Fit" Height="100px" Width="100px"/>

 


Renders

<img id="RadBinaryImage1" src="Photo/Grid-Scrolling-Issue.jpg" style="height:100px;width:100px;" />

and the image is 100x100 px on the page

However, the file size downloaded to the browser is still its original file sze 1.25MB; which is not what we were hoping for. We would like to use the control to produce a thumbnail image that has a small file size and dimensions.Can this be done with the Binary image control?

Our images are files on the server and not in a DB; that is why we went the ImageURL approach.

Can the actual image size be reduced along with it's dimensions with this control, if so how?

Thanks in advance,

K.E.
Cori
Top achievements
Rank 2
 answered on 18 Nov 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?