Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
143 views
Hello!

I have an application where I'm using RadToolTip with RadDock. I have a RadDockLayout with only one RadDockZone and this zone with only one RadDock. Inside the dock I'm showing a lot of images and when you click on one of them the RadToolTip shows up.

The problem is that the tooltip shows up and exceeds the docks boundaries and when I try to close (ManualClose) it, I cannot do it because it loses this functionallity due to it exceeds the docks boundaries.

How can I do to keep the tooltip inside the docks boundaries without it makes scrolling?

Thanks beforehand!
Svetlina Anati
Telerik team
 answered on 16 Mar 2009
1 answer
168 views
Hi,
I have 2 RadGrids inside separate RadPageView's inside a RadMultiPage with a a RadTabStrip and the whole lot is in a RadWindow.

The first grid has no Command Item Display and fits perfectly. The second grid has the CommandItemDisplay set to Top and now the bottom of the grid is outside the RadPageView border.

How do I set the height of the second RadGrid so that it fits inside the RadPageView even when it has the Command Item Display ?

I have the latest version of 2008.3.1314.35.

Regards
Yavor
Telerik team
 answered on 16 Mar 2009
1 answer
145 views

I am trying to help the user select filter values by clicking on a grid row and then programmatically loading those values into the filter columns.  I have two problems.  My columns are automatically generated and columns are not found in the foreach loop.  Secondly, the CurrentFilterValue does not seem to accept values.

Thanks for any assistance.


 

protected void radGrid1_ItemCommand(object source, Telerik.Web.UI.GridCommandEventArgs e)

{

 

 

 

 

if (e.CommandName == "RowClick" && e.Item is GridDataItem)

{

 

 

 

foreach (GridColumn column in radGrid1.MasterTableView.Columns)  

{

 

 

 

string IDx = e.Item.OwnerTableView.DataKeyValues[e.Item.ItemIndex][column.UniqueName].ToString();

column.CurrentFilterValue = IDx;

}

 

 

 

}

}

 

 

 

 

  
Princy
Top achievements
Rank 2
 answered on 16 Mar 2009
1 answer
124 views
I have the EditMode  set to popup and Modal is set to true. Is there anyway we can disable the move behavior? If you cant, is there a way to keep the background grayed out while you move the modal window.  Only the radgrid is grayed out if you move the modal window.

Thanks
Hector
Vlad
Telerik team
 answered on 16 Mar 2009
2 answers
117 views
I need to make my grid allows an insertion after the other, without stopping, and only leave the insertion mode when the user clicks cancel.

Any suggestions?
Luiz
Top achievements
Rank 2
 answered on 16 Mar 2009
5 answers
199 views
Hi,

I have a RadGrid under a RadTabStrip. ALL controls on the page are created dynamically. I need that when a Row in the Grid is double clicked, the client side javascript function switches the Tab according to a cell value on the Row. I have reached to the point where I can get my desired value from the Row. I get stuck when I need to reference the RadTabStrip that is being generated dynamically.



<head runat="server">  
    <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">  
    <script type="text/javascript">  
         <!--  
        function OnRowDblClick(sender, eventArgs) {  
            var dataItem = $get(eventArgs.get_id());  
            var grid = sender;  
            var MasterTable = grid.get_masterTableView();  
            var row = MasterTable.get_dataItems()[eventArgs.get_itemIndexHierarchical()];  
            var cell = MasterTable.getCellByColumnUniqueName(row, "CurrRegionName");  
            alert(cell.innerHTML);  
            var tabStrip = $find("<%= TabStrip1.ClientID %>");  
            var selectedTab = tabStrip.findTabByText(cell.innerHTML);  
            tabStrip.commitChanges();  
        }  
            -->  
    </script>  
    </telerik:RadCodeBlock>  
    <title></title> 

I get this error

Server Error in '/' Application.  
--------------------------------------------------------------------------------  
 
Compilation Error   
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.   
 
Compiler Error Message: CS0103: The name 'TabStrip1' does not exist in the current context  
 
Source Error:  
 
   
 
Line 15:             var cell = MasterTable.getCellByColumnUniqueName(row, "CurrRegionName");  
Line 16:             alert(cell.innerHTML);  
Line 17:             var tabStrip = $find("<%= TabStrip1.ClientID %>");  
Line 18:             var selectedTab = tabStrip.findTabByText(cell.innerHTML);  
Line 19:             tabStrip.commitChanges();  
   
 
Source File: c:\AIK\Projects\Web\I2Care\AssetMgmt\ShowTabs.aspx    Line: 17  

Any help would be appreciated.
Yavor
Telerik team
 answered on 16 Mar 2009
5 answers
326 views
I'm working with a RadGrid contol.  I messed up the DataField properties of its contained GridBoundColumns, and got an exception at runtime.  But, because I'm running with SessionState set to 'StateServer', instead of to 'InProc', the exception I saw was about a serialization error:

[SerializationException: Type 'Telerik.Web.UI.GridException' ... is not marked as serializable.]
 

I switched Session.mode to 'InProc', and quickly discovered the error:

There was a problem extracting DataKeyValues from the DataSource. ... 

But I shouldn't have had to do this.  If GridException is ever put into the Session, it should be marked as Serializable.

We set SessionMode to 'StateServer' as a matter of course, on our development machines, for the specific purpose of revealing serialization errors during development.

Any web application of significance must be capable of running in a clustered environment.  We need to ensure that our implementors have the option of using shared sessions when installing in a clustered environment.  So we need to make sure we don't write our code in a way to make that impossible.

Might I suggest that your developers might consider doing the same?  True, 'InProc' is what Microsoft's tools default to, but it's not a good default to develop against.



Sebastian
Telerik team
 answered on 16 Mar 2009
3 answers
305 views
I am trying to add a RadToolTip to a RadTextBox, but it is not working (i.e. nothing shows up when I mouseover the radtextbox).  If I swap out my RadTextBox with a regular ASP:Textbox, it works perfectly fine.  Is the RadToolTip not compatible with Telerik input controls??  Here is the code that does not work:

 

<telerik:RadTextBox ID="txtTitle" runat="server" Width="300px" ValidationGroup="vgNewAssign" Skin="Office2007" MaxLength="50">

 

 

</telerik:RadTextBox>

 

 

<asp:RequiredFieldValidator ID="rfvTitle" runat="server" ErrorMessage="Title is required!" Display="None" ControlToValidate="txtTitle" ValidationGroup="vgNewAssign"></asp:RequiredFieldValidator>

 

 

<telerik:RadToolTip ID="ttTitle" Position="MiddleRight" RelativeTo="Element" Skin="Office2007" runat="server" TargetControlID="txtTitle" Text="A brief title for the assignment (required). Limited to 50 characters." Width="300px" AutoCloseDelay="30000" />

 

Svetlina Anati
Telerik team
 answered on 16 Mar 2009
8 answers
557 views
Hi,
how can I increase the z-index of the tooltip when it is shown?
I use the tooltip with the ModalPopup from the Ajax-Toolkit Framework. The ModalPopups have an z-Index of 10001. When the Tooltip is visible, I think the style with z-index:8000 is applied to it.

Thanx
Christian
Svetlina Anati
Telerik team
 answered on 16 Mar 2009
2 answers
121 views
I have a hierarchy grid in a user control.

The User control is dynamically loaded onto a page which has an Image and a ToolTip attached to the Image as such.

When I hover over the header of my Telerik Grid, sort is allowed, the ToolTip pops up.
How can I prevent the tooltip from popping on the hover of any other element on the page and it should only popup when I hover on my Image.

Thanks

I am using IE6.

protected void Page_Load(object sender, EventArgs e) 
    imgImage1.Visible = true;
    imgImage1.Attributes.Add("onmouseover""showToolTip(this," + id + ");return true;"); 
function showToolTip(element) 
{     
   var tooltipManager = $find("<%= RadToolTipManager1.ClientID %>"); 
 
   if (!tooltipManager) return
   var tooltip = tooltipManager.getToolTipByElement(element); 
   if (!tooltip) 
   { 
       tooltip = tooltipManager.createToolTip(element); 
       tooltip.set_value(arguments[1].toString()); 
   }                                                                                                      
   tooltip.show(); 

<telerik:RadToolTipManager ID="RadToolTipManager1" runat="server" Position="TopLeft" 
    Skin="Web20" Style="font-size: 18px; text-align: center; font-family: Arial; margin-right:50px;" Animation="Slide"
    <WebServiceSettings Path="MyWebService.asmx" Method="MyMethod" /> 
</telerik:RadToolTipManager> 

    <div style="height:94%;z-index:100001;"
    <div style="position:fixed; float: right;"
    <asp:Image runat="server" ID="imgImage1" ImageUrl="~/Images/Icons/folder_1.png" Visible="false" /> 
    </div> 
    </div> 



Svetlina Anati
Telerik team
 answered on 16 Mar 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?