Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
350 views
Hi Telerik team,

I am working on rad tooltip manager and I am facing some issues.

I have created a RAD tooltip manager in aspx.

<telerik:RadToolTipManager ID="RadToolTipManager1" runat="server" Width="250" Height="300"
                    OffsetY="-7" OffsetX="10" RelativeTo="Element" Position="BottomCenter" HideEvent="ManualClose"
                    OnAjaxUpdate="OnAjaxUpdate" ShowEvent="OnClick">
                </telerik:RadToolTipManager>

Then I created an user control .ascx which will be my tooltip. My tooltip code looks something like this.

<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Tooltip.ascx.cs" Inherits="RADPrototype.Tooltip" %>
<asp:Label ID="lblMarketValue" runat="server" Text="Market Value"></asp:Label>
<asp:Button ID="Close" runat="server" Text="Button" />

Please observe that I have close button on the tooltip. In aspx.cs file, I am adding this tooltip to the tooltip manager.

this.RadToolTipManager1.TargetControls.Add(target.ClientID, "123$", true);

My problem is when I click on Close button on the popup (in ascx), popup is not closing. (However when I click on x button, tooltip getting closed). Since I am using HideEvent as manual close, I am getting x button to the tooltip. However having the close button and selecting it, is not closing it. I wrote onclientclick for the button to close it. But it is not happening. Could you please provide me your help on this?

Thanks.

Regards,
Kishan G K
Kishan Gandikota
Top achievements
Rank 1
 answered on 06 Oct 2009
3 answers
115 views
Hello
I used to control RadGreid
When View Record GridTemplateColumn defined as I, shows the pages before and after the page is not working
       <telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False" OnItemCommand="grdusers_ItemCommand" AllowPaging="True" PagerStyle-Position="TopAndBottom" DataSourceID="SqlDsEbook" GridLines="None">  
                <MasterTableView DataKeyNames="DocId" DataSourceID="SqlDsEbook" NoMasterRecordsText="There is no record to display!" 
                CommandItemDisplay= "TopAndBottom" > 
                <CommandItemSettings AddNewRecordText="Append"  /> 
                <Columns> 
                    <telerik:GridTemplateColumn UniqueName="TemplateColumn">  
                        <ItemTemplate> 
                            <div> 
                                <span style="font-weight: bold;">  
                                <asp:Label ID="numberLabel" runat="server" /> 
                                <span style="font-weight: bold;">.&#160;</span> 
                                      
                                              
                                      
                                <asp:HyperLink ID="HyperLink2" runat="server" ForeColor="#0000C0"   
                                                    NavigateUrl='<%# "Ebook.aspx?ID=" + Eval("DocId").ToString() %>'> <%#  Eval("Title")%> </asp:HyperLink> 
                                <br /><br /> 
                                                <asp:Image ID="ProductImage" runat="server" Width="2%"   
                                ImageUrl="Image/doc.jpg"   
                                Visible='<%# (Eval("NameFile").ToString().Trim()=="") ? false : true %>'      
                                AlternateText="No preview available" />   
 
                                <span style="font-weight: normal; color: Purple ">  
                                <%# (Eval("ISBN").ToString().Trim()=="") ? "" : "ISBN : " + Eval("ISBN")%> &#160;</span> 
                                  
                            </div> 
                        </ItemTemplate> 
                    </telerik:GridTemplateColumn> 
                </Columns> 
                    <RowIndicatorColumn> 
                        <HeaderStyle Width="20px" /> 
                    </RowIndicatorColumn> 
                    <ExpandCollapseColumn> 
                        <HeaderStyle Width="20px" /> 
                    </ExpandCollapseColumn> 
                </MasterTableView> 
            </telerik:RadGrid> 
Iana Tsolova
Telerik team
 answered on 06 Oct 2009
8 answers
161 views
(Imagine the results you get back from an image search on google)

I want to use the built in binding and paging capabilities of the RadGrid to do the heavy lifting of displaying a "grid" of user controls containing similarly formatted content. That's easy enough ;) The catch is I want to have the items going across the page as well as down. I have a grid now that is bound to a datasource which binds a single value for each row. This value is passed to a user control which manages everything to do with rendering the content for that item. This all works nicely as rows.

However users will want to see say, 4 columns x 4 rows (but can change this according to their prefs)

The two things I haven't fathomed:

  • How do I override the standard behaviour of the RadGrid so I can manage the output of TR and TD tags myself when data rows are being rendered?
  • How can I detect the last record being displayed on a page so that if not all the columns have been output in the table I can put out the necessary <TD>&nbsp;</TD> strings to complete the row?

Any guidance or better still pointers to examples would be much appreciated!

Thanks,
Mark
Chris
Top achievements
Rank 1
 answered on 06 Oct 2009
1 answer
68 views
I don't want group or re-order enabled on a grid and the message and icon change regardless of what properties i set:

ClientSettings-AllowColumnsReorder

 

="false"

 


ClientSettings-AllowDragToGroup

 

="true"

 



How can i turn off the tooltip and the mouse pointer change???

thanks,

Rich
Schlurk
Top achievements
Rank 2
 answered on 06 Oct 2009
2 answers
90 views
Hi,
Im trying to build a hierarchical grid ......
have the following structure

 

<telerik:RadGrid ID="RadGrid2" runat="server" Width="100%" ShowStatusBar="true" AutoGenerateColumns="false"

 

 

Skin="Web20" AllowSorting="false" AllowMultiRowSelection="False" AllowPaging="false"

 

 

OnDetailTableDataBind="RadGrid2_DetailTableDataBind" >

 

 

<MasterTableView Width="100%" DataKeyNames="TypeID " ShowHeader="false" ShowFooter="false">

 

 

<DetailTables>

 

 

<telerik:GridTableView Width="100%" ShowHeader="false" BorderColor="black" BorderWidth="0px" AutoGenerateColumns="false"

 

 

BorderStyle="Solid" DataKeyNames="CoverID" Name="covers">

 

 

<DetailTables>

 

 

<telerik:GridTableView Width="100%" ShowHeader="false" BorderColor="black" BorderWidth="0px" AutoGenerateColumns="false"

 

 

BorderStyle="Solid" DataKeyNames="CoverID,ElementTypeID" Name="coverelementtype">

 

 

<Columns>

 

 

<telerik:GridBoundColumn DataField="TypeName">

 

 

</telerik:GridBoundColumn>

 

 

</Columns>

 

 

</telerik:GridTableView>

 

 

</DetailTables>

 

 

</telerik:GridTableView>

 

 

</DetailTables>

 

 

<ItemStyle CssClass="telerikgriditem" />

 

 

<AlternatingItemStyle CssClass="telerikgriditem" />

 

 

<Columns>

 

 

<telerik:GridBoundColumn DataField="TypeName">

 

 

</telerik:GridBoundColumn>

 

 

</Columns>

 

 

</MasterTableView>

 

 

</telerik:RadGrid>

 


-------------------------------------------------
and dataset is fetched in page load & rad control is bound
& in detailsdatabound the dataset is fetched & datasource of detailsview is set

the problem here is i expand  a node & child grid is visible
now if i expand other node the previously visible child grid data disappears

im not using ajaxmanager

any help??


Veli
Telerik team
 answered on 06 Oct 2009
1 answer
74 views
Well this is my first post to this forum.

Problem: I am adding nodes to a TreeView via web service call. I click the + sign and the nodes are loaded with amazing speed. Now when each of these node is clicked I need to raise the usual NodeClick event on the server side, to access the node value and do redirection, but unfortunately it is not raised. Also there is context menu item added to each of node. This menu was added on the page PreRender. Since the options of this menu remain same for each of the node so I did it on the PreRender.  All nodes show context menu. But When I click any of the item of this context menu the server click event for context menu is raised. But again there I have no value for the e.node.value.

So, does it mean that if we add nodes through web service, we can't access/find the values of the nodes. Does it has some thing to do with view state.

looking forward for comments.
Akber Ali
Top achievements
Rank 1
 answered on 06 Oct 2009
3 answers
171 views
Hi all,
I have some problems in disabling the paste from word option.
I am using the RadHtmlField inside my page layouts. I have seen that there is the possibility to disable it in RadEditor (through StripFormattingOnPaste property), but it doesn't work on radhtmlfield. I want to disable it also because I don't want to see anymore the AskWordCleaning popup message.
Thank you and Regards,
Cinghios

Stanimir
Telerik team
 answered on 06 Oct 2009
2 answers
80 views
I would like to append the id property to navigate url property. the id property should be dynamic. how can i do this.
navigateurl = "http://www.telerik.com?id=1? something like this.

I am trying to append the id property like this...but it doesnt work.

navigateurl = http://www.telerik.com? & "<% id %>". id property is declared on the server side.
cognos s
Top achievements
Rank 1
 answered on 06 Oct 2009
2 answers
375 views
Hi All,

I have a CSV export ability in many of my RadGrids.  When I export I notice that template columns with images in them get included in the export - they are displayed as empty columns.  How do I hide the columns?  I've tried setting visible = false to the column before the export and then re-enabling after the export is called.

Any ideas?

Regards,

Jon
Jon
Top achievements
Rank 1
 answered on 06 Oct 2009
2 answers
183 views
Sir,
I need an autocorrect facility in radeditor
When i type @AMOUNT,@amount,it should be corrected as @Amount
Plz help me
Thanks in advance...
Rumen
Telerik team
 answered on 06 Oct 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?