Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
93 views
Are there specific settings I need to ensure that my RadMenu can work on a BlackBerry or IPhone browser? My menu has sub items so the user needs to be able to access those. Right now, the menu displays but I cannot access the sub menu items.
Helen
Telerik team
 answered on 13 May 2011
0 answers
104 views
Hi,

i am working on telerik treeview with accordion jquery. i am adding tree view dynamically from server side code. its not showing .
when i am adding statically from aspx file then its showing.

plz help me

Regards,

Faisal
faisal
Top achievements
Rank 1
 asked on 13 May 2011
2 answers
181 views
Hello,

I have two radgrids in the same page, both have used inline edit mode.
I've set some row in the grid1 to edit mode. Next step is to set another row in the grid2 to edit mode and simultaneously close edited row in grid1. The problem is, that sometimes it doesn't work. The row in grid1 is still in edit mode, even I used standard commands to close it:

RadGrid1.MasterTableView.IsItemInserted = false;
RadGrid1.MasterTableView.ClearEditItems();  
RadGrid1.Rebind();

Today I've found another command which when I apply it closes edited row as I needed :)
This is the code line which did the job for me:

RadGrid1.EditIndexes.Clear();

Could somebody explain to me the difference between above mentioned commands. When to use which one ?

Thanks

Vasssek
Vasssek
Top achievements
Rank 1
 answered on 13 May 2011
5 answers
90 views
Can you decorate the first and last items in the combobox with rcbFirst\rcbLast or something like that...or make that decoration toggleable with a property?

(does this exist?)

My designer gave me a complex style to implement, and I need those to style the item reliably cross-browser (still IE6 *eugh*)

This is a common site-wide skin in which we can't use templates everywhere to get around it, I need it to be on the root object itself so the skin can define it.

Can you guys add that in pretty please? :)
Simon
Telerik team
 answered on 13 May 2011
1 answer
92 views
In javascript, list.get_element() is returning a SPAN instead of the whole DOM element containing items.
If this is the intended behavior, how do I get the full DOM element?

Thanks!
Vasil
Telerik team
 answered on 13 May 2011
3 answers
152 views
Hello.
I have a question if there is some way to pass some information from server WCF to client combobox object. for example using RadComboBoxData.Context.

The situation is^ combobox populated with two queries in single WCF method.
I want to know how match items werel loaded by each query, to use this information in "show more" to organize some kind of paging.
var result = new RadComboBoxData();
result.Context["users"] = context.ContainsKey("users") ? Convert.ToInt32(context["users"]) : 0 + userList.Count();
result.Context["contacts"] = context.ContainsKey("contacts") ? Convert.ToInt32(context["contacts"]) : 0 + userList.Count();
return result;

But there is no "users" and "contacts" keys in second request, only standart text and numberOfItems.
Is there anything I've missed?

Thanks

Helen
Telerik team
 answered on 13 May 2011
2 answers
133 views
Hey, I would like to create a RadWindow and set some properties, like an id or a name so I could identify it. What I'm trying to do is a taskbar and I want to associate icons to a Telerik Window, and for that I need to set an id to my windows. I saw that we can set title, width and height with Javascript, is there a list of properties somewhere or do we have to guess it  by "trial and error" method ?

Thanks in advance,
Francis
Francis
Top achievements
Rank 1
 answered on 13 May 2011
2 answers
64 views
Hi folks,

I have a question for you. Does anyone know how to create a window (via radopen) outside of the current window. Let's said I have a main window where there is a button. When I click on that button, a window appears (SubWindow). What I want is when I click on a second button that's inside of the SubWindow, a another window appears, but on the main window and not in the SubWindow. Is it possible ?
Thank you
David  
David
Top achievements
Rank 1
 answered on 13 May 2011
6 answers
161 views
Hello.

I'm using Telerik ASP.NET Control 2010 Q2. I have a RadMenu created from SiteMap, but, every time when i click on an item, when the page load, the item remains selected, as if to show me the link where I am. How can disable this??

ASPX Menu Code
<telerik:RadMenu ID="rmnuMainMenu" DataSourceID="smdsMenuSource" OnClientItemClicked="OnClientItemClicked" Width="100%" runat="server" OnItemDataBound="rmnuMainMenu_ItemDataBound" OnItemClick="rmnuMainMenu_ItemClick" />
<asp:SiteMapDataSource ID="smdsMenuSource" ShowStartingNode="false" runat="server" />

SiteMap Code
<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" enableLocalization="true" >
  <siteMapNode url="" title="Inicio">
    <siteMapNode url="" title="$Resources:Localization, mnuCatalogs">
      <siteMapNode url="~/CatMaterials.aspx" title="$Resources:Localization, mnuMaterials" />
      <siteMapNode url="~/CatTrains.aspx" title="$Resources:Localization, mnuTrains" />
      <siteMapNode url="~/CatBatchSizes.aspx" title="$Resources:Localization, mnuBatchSizes" />
      <siteMapNode url="" title="$Resources:Localization, mnuFC" />
      <siteMapNode url="" title="$Resources:Localization, mnuMI" />
      <siteMapNode url="" title="$Resources:Localization, mnuBPR"  />
    </siteMapNode>
    <siteMapNode url="" title="$Resources:Localization, mnuPreferences" >
      <siteMapNode url="" title="$Resources:Localization, mnuLanguage">
        <siteMapNode url="" image="../Img/mxFlag.png" title="$Resources:Localization, mnuSpanish" />
        <siteMapNode url="" image="../Img/usFlag.png" title="$Resources:Localization, mnuEnglish" />
      </siteMapNode>
      <siteMapNode url="~/UsersAdmin.aspx" title="$Resources:Localization, mnuUsers" />
    </siteMapNode>
    <siteMapNode url="" title="$Resources:Localization, mnuHelp">
      <siteMapNode url="" title="$Resources:Localization, mnuContents" />
      <siteMapNode url="" title="$Resources:Localization, mnuAbout" />
    </siteMapNode>
  </siteMapNode>
</siteMap>

Item Events Code:
protected void rmnuMainMenu_ItemClick(object sender, Telerik.Web.UI.RadMenuEventArgs e)
{
    // Store requested language as new culture in the session
    if (e.Item.Text == "Español" || e.Item.Text == "Spanish")
        Session["SelectedCulture"] = "es-MX";
    if (e.Item.Text == "Inglés" || e.Item.Text == "English")
        Session["SelectedCulture"] = "en-US";
 
    // Reload last requested page with new culture
    Server.Transfer(Request.Path);
}
 
protected void rmnuMainMenu_ItemDataBound(object sender, Telerik.Web.UI.RadMenuEventArgs e)
{
    // Load the specific image for every menu item, from the Sitemap information
    e.Item.ImageUrl = ((SiteMapNode)e.Item.DataItem)["image"];
 
    if (e.Item.Level == 0)
    {
        RadMenuItem separator = new RadMenuItem();
        separator.IsSeparator = true;
        separator.Text = "|";
        e.Item.Owner.Items.Insert(e.Item.Index + 1, separator);
    }
}

JavaScript - Close on click code:
<script type="text/javascript">
     // Close RadMenu after click
     function OnClientItemClicked(sender, eventArgs) {
     sender.close();
     }
</script>

Thanks for your answer.
Helen
Telerik team
 answered on 13 May 2011
6 answers
226 views
Hi,

I have a Master Page implemented form, with a RadAjaxPanel and RadAjaxLoadingPanel defined in the Master Page. On the Web Form, I have a RadUpload, and an button to initiate the upload. I've seen a number of examples on doing uploads using various combinations of these, but not all three as described above. Is there an example of how to do this?

I had this working using AjaxPanel, and you simply added the control to the Trigger collection as a postback trigger. I'm looking for something analagous to this.

Steve
Maria Ilieva
Telerik team
 answered on 13 May 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?