Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
143 views
I'm using Q3 2008 1105 and I want to add an 'X-to-close' button onto the 'ShowOnFocus' toolbar, so that the user can get rid of the toolbar after they have finished editing by clicking a 'X' on the toolbar, rather than having to change the focus to a non-editable area.

I am okay with the process of adding the button but I cannot find any documentation showing a client-side method of hiding the toolbar.

I don't want to permanently remove the toolbar. I want it to re-appear if they click back on that editor area again.

This is the process for a user:

1) User clicks an editable area on the page.
2) Toolbar pops-up via 'showonfocus'.
3) User makes some changes.
4) User clicks 'X' button to close the toolbar.
5) User click the editable area again.
6) Toolbar re-appears.

I really appreciate any help you can give me.
Rumen
Telerik team
 answered on 11 Jun 2009
2 answers
44 views
Hello,
I have a question for RadWindow for the case in which the content inside loads in 3-4 seconds.

If I'm opening the window 2 times sequentially (open, close, then open again), on the second opening is there any way I can hide the content already loaded from the first time until the page finishes loading? (the content of the first load is shown imediatly I open the popup, until the iframe inside gets the response from the server for the second request)

Thanks,
Lucian

PS: I am using RadControls for ASPNET AJAX Q3 2008.
Lucian Duma
Top achievements
Rank 1
 answered on 11 Jun 2009
1 answer
115 views
Dear Telerik Team

Is there any way to change the RadGrid default behavior when I select an item?
the default works like windows grids, so if i select one item every other are deselected, but if I press the control key and then I select one item the grid mantains the selection.
What I need is that the grid works like if the control key were pressed all the time. I will appreciate very much if you could pots an example of code for doing this.

Thanks in advance.
Elian
Pavlina
Telerik team
 answered on 11 Jun 2009
4 answers
263 views
Hello!

I need to set the height of a radtreeview. it works fine if i set it absolute (like 800px) but if i can't set it in relation to the page - 90% for example.

Isn't it possible?
Princy
Top achievements
Rank 2
 answered on 11 Jun 2009
2 answers
163 views
Hi

Can you see why the loading panel isn't working on the code below. I can't see why not. It looks the same as my other pages.

<!

 

DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

 

<

 

html xmlns="http://www.w3.org/1999/xhtml" >

 

<

 

head runat="server">

 

 

<title>Untitled Page</title>

 

</

 

head>

 

<

 

body>

 

 

<form id="form1" runat="server">

 

 

<div>

 

 

<asp:ScriptManager ID="ScriptManager1" runat="server">

 

 

</asp:ScriptManager>

 

 

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">

 

 

<AjaxSettings>

 

 

<telerik:AjaxSetting AjaxControlID="Button1">

 

 

<UpdatedControls>

 

 

<telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1" />

 

 

</UpdatedControls>

 

 

</telerik:AjaxSetting>

 

 

</AjaxSettings>

 

 

</telerik:RadAjaxManager>

 

 

<asp:Button ID="Button1" runat="server" Text="Button" />

 

 

<telerik:RadGrid ID="RadGrid1" runat="server" Visible="False">

 

 

<MasterTableView>

 

 

<SortExpressions>

 

 

<telerik:GridSortExpression FieldName="GPSDateTime" />

 

 

</SortExpressions>

 

 

<GroupByExpressions>

 

 

<telerik:GridGroupByExpression>

 

<

 

SelectFields>

 

<

 

telerik:GridGroupByField FieldName="RoadTypeID" HeaderText="Road Type" FieldAlias="RoadTypeID" FormatString="" />

 

</

 

SelectFields>

 

 

<GroupByFields>

 

 

<telerik:GridGroupByField FieldName="RoadTypeID" HeaderText="Road Type" FieldAlias="RoadTypeID" FormatString="" />

 

 

</GroupByFields>

 

 

</telerik:GridGroupByExpression>

 

 

</GroupByExpressions>

 

 

</MasterTableView>

 

 

<HeaderContextMenu>

 

 

<CollapseAnimation Duration="200" Type="OutQuint" />

 

 

</HeaderContextMenu>

 

 

<FilterMenu>

 

 

<CollapseAnimation Duration="200" Type="OutQuint" />

 

 

</FilterMenu>

 

 

 

 

</telerik:RadGrid>

 

 

<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Height="75px"

 

 

Width="75px">

 

 

<img alt="Loading..." src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading.gif") %>'

 

 

style="border: 0px;" />

 

 

</telerik:RadAjaxLoadingPanel>

 

 

</div>

 

 

</form>

 

 

</

 

body>

 

</

 

html>

many thanks

 

Dimo
Telerik team
 answered on 11 Jun 2009
6 answers
419 views
I did a few searches here but didn't find anything that matches exactly what I'm trying to do, so I hope someone can help me.

I'm wanting to create a tooltip that has a loadondemand user control which allows users to perform a quick search. the user control has a multiview with the first view being the search form, and the second view being the results.

the tooltip loads up the control just fine, but when I submit the search form, it clears it out and submits as if it was empty, telling me that I submitted a blank form. it appears that the values I submit are not being persisted during the ajax postback. how do I fix this?

I tried switching to a regular tooltip (in the scenario above I'm using the tooltipmanagers onajaxupdate to load the control) and it SORT of worked, but if I submit a search, close the tooltip, refresh the page, then do another search, I get viewstate errors because the usercontrol is physically rendered on the page instead of being loaded on demand.

I also tried putting the ajaxupdatepanel as a wrapper to the tooltip and the tooltipmanager. I tried the updatepanel inside the user control and I even tried adding the panel at runtime, then adding the control to the panel. that also doesn't work...

here's some of the code I'm using now:

protected void RadToolTipManager1_AjaxUpdate(object sender, Telerik.Web.UI.ToolTipUpdateEventArgs e)  
{  
    Control ctrl = Page.LoadControl("~/search.ascx");  
    Telerik.Web.UI.RadAjaxPanel pnl = new Telerik.Web.UI.RadAjaxPanel();  
    pnl.Width = new Unit(500);  
    pnl.Controls.Add(ctrl);  
    e.UpdatePanel.ContentTemplateContainer.Controls.Add(pnl);  

what is the correct way to load a usercontrol on demand?

I also tried the radwindow but of course that can't load a usercontrol (ascx) and making a whole page seems like an inefficient approach...

hope that was detailed enough, let me know if you need more information. many thanks!
Svetlina Anati
Telerik team
 answered on 11 Jun 2009
13 answers
649 views
Is it possible to decorate the RadDatePicker textbox with the same rounded corners as the textboxes which RadFormDecorator has decorated (skin=Hay) so that they have identical appearance?

Thanks
Stuart Hemming
Top achievements
Rank 2
 answered on 11 Jun 2009
4 answers
192 views
I am trying to make the split bar disable resize when an Item is docked
                            <telerik:RadSlidingZone ID="SlidingZone1" runat="server" Width="22"
                                <telerik:RadSlidingPane ID="SlidingPane1" Title="Navigation" runat="server" Width="150" 
                                    OnClientDocked="Docked" OnClientUndocked="UnDocked"
                                </telerik:RadSlidingPane> 
                            </telerik:RadSlidingZone> 
                        </telerik:RadPane> 
                        <telerik:RadSplitBar ID="SplitBar" runat="server"   /> 
this is all working normally  just trying to call the set_enableResize with true doesn't seem to effect the splitBar at all
        function Docked(sender, eventArgs) { 
 
            var splitBar = $find("<%=SplitBar.ClientID%>"); 
            alert(splitBar.get_enableResize()); 
            splitBar.set_enableResize(true); 
            alert(splitBar.get_enableResize()); 
 
        } 
        function UnDocked(sender, eventArgs) { 
            var splitBar = $find("<%=SplitBar.ClientID%>"); 
            alert(splitBar.get_enableResize()); 
            splitBar.set_enableResize(false); 
        } 
It will tell me that it is enabled or disable but doesn't seem to let me adjust it from that point forward. If I start with it disabled for resizing it won't enable.
Mink
Top achievements
Rank 1
 answered on 11 Jun 2009
1 answer
100 views

We have an application which is listing subjects (with an underlying link) in a grid as a search result. (Similar as a search result in a SPS document list). What we want to achieve is this:

When a user moves the mouse pointer over a subject link, a tool tip window should appear which offers a preview of the document content to which the link would lead.

So the follwowing questions arise:
1. Can the Telerik ToolTip be applied on such a link in a list or is it possible only on an icon or image?
2. If we would prepare the relevant text in a database table, can we dynamically control the content  which the tool tip shall display? (Depending on a key which is found in the URL?)
3. In case these features above in 1 and 2 are not available out of the box, is it possible to develop such a feature? If so, do you have a recommendation, who could do this?

Thanks for any hint and answer
Peter

Svetlina Anati
Telerik team
 answered on 11 Jun 2009
1 answer
109 views
When I put a RadDatePicker on a RadToolTip, the Calendar renders underneath the tooltip when the popup button is pressed.  Tried setting the zindex of the Calendar to no avail.

Anyone have any experience getting this to work?

Thanks,
Stoney
Svetlina Anati
Telerik team
 answered on 11 Jun 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?