Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
117 views
I have a database table with numbers, to each number a description is available. In a combobox I want to show only the description. If I access the value of the currently selected item I want to have the number instead of the description returned. This is equivalent to access combbox. There I can define a bound column. There is no need to show the column in the list it must only be available in SELECT. When I set bound column I can read a different value than the one is shown as text. Is this possible with radcombbox and if so how?
Markus
Top achievements
Rank 1
 answered on 25 Jan 2008
6 answers
176 views
I have a combobox on my page. In dependets of selected item I want to show a aspx page as tooltip when I move over a image on the page. I check the documention and demos but I could not find any helpful information. Can I do this and if so how?
Markus
Top achievements
Rank 1
 answered on 25 Jan 2008
3 answers
139 views
Is there a way in the prometheus docks to set the window to be transparent as you draw it around the screen? I have seen in the old rad controls this was native but I am not sure how to get the same appearance in the prom controls.

There was also some animation settings, are those coming into prometheus and if so when?

Thanks
John
Martin
Telerik team
 answered on 25 Jan 2008
4 answers
385 views
hi,
i seem to be having a problem extracting the ID of a tree node when a context menu item is selected over it. everything else works ok but the client side javascript to extract the id get_value() - returns a null. if i change the client side to get_text(), i am correctly given the text of the tree node.
any ideas?
i've converted a lot of my app to prometheus now and most of it has been quite smooth. but radtreeview and the context menus have changed quite a lot - particularly on the client side.
cheers
rob

                function onClientContextMenuItemClicked(sender, args)
                {
                    var menuItem = args.get_menuItem();
                    var treeNode = args.get_node();

                    switch(menuItem.get_value())
                    {
                        case "PROPS":
                            __doPostBack('propsPage', treeNode.get_value());
                                break;
                        case "STYLE":
                            showStyles(treeNode.get_value());
                                break;
                        case "RSTYLE":
                            __doPostBack('rootstylePage', treeNode.get_value());
                                break;
                        case "ADD":
                            __doPostBack('addPage', treeNode.get_value());
                                break;
                        case "EDIT":
                            __doPostBack('editPage', treeNode.get_value());
                                break;
                        case "VIEW":
                            previewPage(treeNode.get_value());
                                break;
                        case "DELETE":
                            if (confirm("Are you sure? This action cannot be undone!"))
                            {
                            __doPostBack('deletePage', treeNode.get_value());
                            }
                                break;
                    }
                }



<telerik:RadTreeView ID="RadTreeView1" runat="server" DataSourceID="sqlTemplateSections"
DataTextField="wel_name" DataFieldID="wel_keyval" DataFieldParentID="wel_parent_keyval"
OnClientContextMenuItemClicked="onClientContextMenuItemClicked"
OnClientContextMenuShowing="onClientContextMenuShowing"
>

Atanas Korchev
Telerik team
 answered on 25 Jan 2008
9 answers
434 views
Hi,

There is no documentation for this eventtype.Can u briefly describe when would u use this?

I do apologize for asking multiple questions in one post but I am having some difficulties with tooltips inside a formview.

I want to show a tooltip when the user enters the control via click or most likely by using the tab key (thus onFocus) should be used. I set the ShowEvent to OnFocus for the comboBox and textbox but the tooltip doesn't appear.

Secondly I would like to keep the tooltip visible while the user has focus on that control.

Thank you,


Tsvetie
Telerik team
 answered on 25 Jan 2008
1 answer
171 views

Although I can get all other client side functions to work, SetSize, SetModal, etc it will not maximize.

see code below:
(varPage == "5")

<a href="#" class="MediaLink"  onclick="OpenRw('5', '1'); return false;"><img width="175" height="104" alt="" src="test_img/Impulse_360.png" border="0" /></a>

<telerik:RadWindowManager ID="RadWindowManager1" Skin="Default2006"  Behavior="Close"  runat="server" >
  <Windows>
     <telerik:RadWindow ID="pgRadWindow" Height="370px" width="395px" runat="server" VisibleStatusbar="false" ShowContentDuringLoad="false" ></telerik:RadWindow>
  </Windows>
</telerik:RadWindowManager>

function OpenRw(varPage, varID) {

var oManager = GetRadWindowManager();
var oWnd = oManager.GetWindowByName("pgRadWindow");
if (!oWnd) return;

if (varPage == "1"){
 var newUrl = "Slideshows.aspx?id="+varID ;
 oWnd.SetSize(565,545);
 }
 
if (varPage == "2"){
 var newUrl = "Videos.aspx?id="+varID ;
 oWnd.SetSize(389,358);
 }
 
if (varPage == "3"){
 var newUrl = "Slideshows.aspx?id="+varID ;
 oWnd.SetSize(354,390);
 
 }
 
if (varPage == "4"){
 var newUrl = "ProductBrowser.aspx?id="+varID ;
 oWnd.SetSize(550,300);
 }
 
if (varPage == "5"){
 var newUrl = "360promo.html" ;
// oWnd.setSize(875,550);
 oWnd.SetModal(true);
 oWnd.Maximize();
 }
 
if (varPage == "6"){
 var newUrl = "PageBrowser.aspx?id="+varID ;
 oWnd.SetSize(650,400);
 }
  
 oWnd.ReloadOnShow
 oWnd.SetUrl(newUrl);
 oWnd.Show();
}


George
Telerik team
 answered on 25 Jan 2008
2 answers
109 views

Hi,

I would like to know if I can use a datetimepicker in a web user control bound to a grid.

I have tried the implementation myself by setting the datetimepicker's selected date as   SelectedDate='<%# Bind ("DateTime") %>'

to the bound datetime value in the grid however I get a number of javascript errors when the user control is displayed.

Thanks in advance, Michael.
Michael
Top achievements
Rank 1
 answered on 25 Jan 2008
4 answers
272 views
Hi,
  I am trying to put radtooltip inside radajaxpanel but it doesn't show up on client side.If I put toop radtooltip outside radajaxpanel thn it works.Following is my .aspx code.

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

</asp:ScriptManager>

<

Rad:RadAjaxPanel ID="RadAjaxPanel1" runat="server" LoadingPanelID="RadAjaxLoadingPanel1" HorizontalAlign="NotSet" >

    <radTS:RadTabStrip AutoPostBack="True" id="RadTabStrip1" runat="server"     MultiPageID="RadMultiPage1" SelectedIndex="0" Align="Justify" Width="756px">

    <Tabs>
    <radTS:Tab  ></radTS:Tab><radTS:Tab ></radTS:Tab><radTS:Tab></radTS:Tab>

    </Tabs>

</radTS:RadTabStrip>

<!-- multipage begin -->

<radTS:RadMultiPage RenderSelectedPageOnly="true" id="RadMultiPage1" runat="server" SelectedIndex="0">

<radTS:PageView ID="Page0" runat="server"></radTS:PageView>

 <radTS:PageView ID="Page1" runat="server">
    

<span class="label" style="width:150px; ">First Name:</span><asp:TextBox ID="UserFName" runat="server" CssClass="wizardTextBox" Width="200px" MaxLength="50"></asp:TextBox>

<img id="Image3" src="Images/help.JPG" runat="server" />

<telerik:RadToolTip id="RadToolTip2" runat="server" Skin="Office2007" TargetControlID="Image3"

Text="asdgasgh">

</telerik:RadToolTip>

 

</radTS:PageView>
</
radTS:RadMultiPage>
</Rad:RadAjaxPanel>


Waiting for reply..
Thanks

dburgett
Top achievements
Rank 1
 answered on 25 Jan 2008
7 answers
178 views

I create a radwindow in my codebehind (when a linkbutton is clicked) and right when the window comes up it looks fine, but then like a split-second later, everything shifts to the right.  The content in the parent page shifts all the way to the right and the radwindow goes to somewhere near the center of the screen.  Why is this happening?  I've tried a bunch of different settings, but it's alway the same result.  Here's my code:

'Create a new window and add it dynamically

Dim newWindow As RadWindow = New RadWindow

newWindow.ID =

"RadWindow1"

newWindow.NavigateUrl =

"./Dialog.aspx"

newWindow.VisibleOnPageLoad =

True

newWindow.Enabled =

True

newWindow.Visible =

True

newWindow.Width = 250

newWindow.Height = 500

newWindow.Behaviors = WindowBehaviors.Close

newWindow.Animation = WindowAnimation.Fade

newWindow.OffsetElementID =

"searchArea"

newWindow.ReloadOnShow =

True

newWindow.Modal =

True

newWindow.OnClientClose =

"initiateCallback"

'Add the newly created RadWindow to the RadWindowManager's collection

Singleton.Windows.Add(newWindow)

will Ballard
Top achievements
Rank 1
 answered on 24 Jan 2008
1 answer
144 views
Hi,
In this online example...
http://www.telerik.com/demos/aspnet/prometheus/TreeView/Examples/Functionality/DragAndDropNodes/DefaultCS.aspx

Click and drag an item from TreeView1 and drop it on an empty space on the page. (But not on the other tree, input, or datagrid) See how it stays highlighted?

Is there any way to un-highlight the node in that situation?
The reason is because it may be confusing to the user to "cancel" the drop by dropping the node outside of the tree, but low and behold, it's still highlighted.

Not a huge deal but would be icing on the cake.

Thanks,
Joe
Joe
Top achievements
Rank 2
 answered on 24 Jan 2008
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?