Telerik Forums
UI for ASP.NET AJAX Forum
8 answers
306 views
Hi

I am trying to use the radToolTipManager with a radlistbox. Is it possible to use the manager to display a tooltip for each radlisboxitem
Here is my code that I use to add the items to the manager. My OnAjaxUpdate event wont fire att all.

 

protected void chkListRoles_ItemDataBound(object sender, RadListBoxItemEventArgs e) 
  
{
  
if (e.Item is RadListBoxItem) 
  
{
  
(e.Item 
  
  
  
as RadListBoxItem).Attributes["id"] = Guid.NewGuid().ToString(); 
   
string id = (e.Item as RadListBoxItem).Attributes["id"]; 
  
this.radToolTipManager1.TargetControls.Add(id, (e.Item as RadListBoxItem).Value.ToString(), true); 
   
  
}
  
   
  
}

Thank you
Fred

 

Svetlina Anati
Telerik team
 answered on 22 Nov 2010
5 answers
263 views
Hello,

RadControls 2009.1.527.20

I have a RadMenu populated from an XML file:

Default.aspx:
<telerik:RadMenu
    ID="RadMenu_LeftNav"
    runat="server"
    CssClass="RadMenu_LeftNav"
    Flow="Vertical"
    Height="650px"
    Width="138px"
    />

Default.aspx.cs:
protected void Page_Load(object sender, EventArgs e)
{
    RadMenu_LeftNav.LoadContentFile("~/App_Data/Menus/RadMenu_LeftNav.xml");
}


<?xml version="1.0" encoding="utf-8"?>
<Menu>
  <Group>
    <Item Text="Contacts" ImageUrl="/Images/64x64/Contacts_01.png">
      <Group>
        <Item Text="Create Contact"          NavigateUrl="CreateContact.ascx" />
        <Item Text="Delete Contact"          NavigateUrl="DeleteContact.ascx" />
        <Item Text="Manage Contacts"        NavigateUrl="Manage Contacts" />
        <Item Text="Upgrade To Mailbox" NavigateUrl="UpgradeContact.ascx" />
      </Group>
    </Item>
...
...
  </Group>
</Menu>

The image in the ImageUrl attribute is 96x96 pixels.  The image display outside of the hover highlight.  See the attached screenshot.

I have a few questions:

  • Does the RadMenu support images of various sizes?  If so, how do I implement that?

 

  • Is it possible to have one <ItemTemplate> definition for the root menu item and a different <ItemTemplate> for the child menu items?  If so, how do I implement that, and is it possible to do this when loading the RadMenu from an XML file?

 

  • Where can I find a "complete" definition for the XML file to populate a RadMenu?  I have found various formats on the web for this XML file definition which all work, some are very basic (i.e., just <Items><Item>...</Item></Items> nodes), and some more detailed (i.e., <Menu><Group><Item>...</Item></Group></Menu> nodes).

Thanks,

Randall Price

Yana
Telerik team
 answered on 22 Nov 2010
1 answer
36 views
In a larger application, I have updated from the old RadControls toolset (~2007) to the new AJAX version. Besides I have replaced a RadMenu with a RadToolbar. However in Internet Explorer, some items on the toolbar and on dropdowns invoked on that toolbar have invisible item texts. As soon as the user hovers the mouse over an entry that is invisible, its text appears in light color...

Things work fine in Firefox. However, the main target platform is the all-loved Internet Explorer 6.0...

I'm using the Default Skin and have enabled embedded skins. I do modify the state of the toolbar items through ajax requests a lot. For reference, I have attached two small screenshots to illustrate. Best reagrds,
Helge
lenuweit
Top achievements
Rank 1
 answered on 22 Nov 2010
1 answer
124 views
Hi all,


I am using data relation in radgrid. Autogenerated column = true

I want ot hide the parent header.
Kindly advise.


I am in hurry !!!


Bharat Rathore
Tsvetina
Telerik team
 answered on 22 Nov 2010
3 answers
79 views
I'm using the method get_appointments () but it does not bring all the records that was returned by the query. So I figured it creates only those that appear in the scheduler.

How do I create it all Appointment?
Veronica
Telerik team
 answered on 22 Nov 2010
2 answers
156 views
Hello all,

This may be a simple question, or just impossible...

I want to display a grid with some simple data in it (text and two dates), with an edit command column on it.  When the user clicks the edit image, I want to REPLACE the row with an editable row, showing [SAVE][CANCEL] <Label><TextBox> <Label><RadDatePicker> <Label><RadDatePicker> [DELETE].

I can do most of this using the FormTemplate and creating a custom set of divs, no problems.  The part I'm having trouble with is getting the list row to turn into an editable row in the same place in the grid.

Can this be done?  Can anyone point me in the right direction?

Thanks in advance

kitster
Kit
Top achievements
Rank 1
 answered on 22 Nov 2010
1 answer
76 views
I am trying to figure out how to be able to access all of the cells in a radgrid client-side, even if there are multiple pages on the grid.  The code i have now to access values only works on the first page, and is included below.  But i would like to be able to do something similar and extract values from all pages, without actually visibly changing pages on the browser so the client can't see.  Thanks.

 

    var panelbar = $find("RadPanelBar3");
    var item = panelbar.findItemByText("Step 3: View Query Results");
    var qgrid = item.findControl("grdQResults");
    var masterTable = qgrid.get_masterTableView();
    var qapi = masterTable.getCellByColumnUniqueName(masterTable.get_dataItems()[0], "Location").innerHTML;
    var numrows = masterTable._dataItems.length;
          
        var intxv = 0;
        var strfields="";
        for (intxv = 0; intxv <= numrows - 1; intxv++) {
        strfields = strfields + masterTable._dataItems[intxv]._element.all[1].innerHTML + "|"
}

 

 

 

 

 

 

 

 

 

Veli
Telerik team
 answered on 22 Nov 2010
8 answers
955 views
Hi

I want to use the Date picker for multiple date selection. I've seen it on the calendar but couldn't find it on the date picker. My plan is to be able to take the multiple dates stored the string of dates as a delimited string and then also be able to return the string and bind it back to date picker from that delimited string.

Help?

--Mike
Vasil
Telerik team
 answered on 22 Nov 2010
1 answer
85 views
Hi folks,
I have a project that firstly builds a radgrid a runtime, and then for each row in the radgrid then builds a treeview that is added to the controls for the current row of the grid.

When the user makes a selection from the treenode, we are using client-side events to pass parameters. What we would like to happen is for the treeview node to stay highlighted when clicked but this is not happening. I tried placing a hardcoded treeview outside of the radgrid and this worked fine. Is there a setting in the radgrid that is overriding the treeview node showing its selection?

Regards,
Ian W.
Shinu
Top achievements
Rank 2
 answered on 22 Nov 2010
2 answers
92 views
I have a RadGrid contained in a .ascx control that I have the Export properties set on the grid.  This ascx control is used in a RadTabStrip control contained in a standard .aspx page.  When I select an export format from the Grid(xls, pdf) the data is not downloaded. 

I also have a RADGrid contained in a seperate aspx page that has the same functionality enabled, and I am able to export the information with no issues. 

I have played around with the export settings (openInNewWindow/ExportOnlyData) and I am still not able to export data.  Could there be an issue with the RADTabstrip which is displaying the ascx control handling the export request?
Matt Frank
Top achievements
Rank 1
 answered on 22 Nov 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?