Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
157 views
I have structure shown below. What I would like to do is filling first item's (Products) sub items with Hierarchical data which comes from ObjectData source. How can I achive this?

Thanks in advance.

<telerik:RadMenu ID="RadMenu1" runat="server" Width="1000px"  
    EnableShadows="True"> 
    <Items> 
        <telerik:RadMenuItem runat="server" PostBack="False" Text="Products"> 
            <Items> 
 
            </Items> 
        </telerik:RadMenuItem> 
        <telerik:RadMenuItem runat="server" Text="Text Here" PostBack="False"> 
            <Items> 
                <telerik:RadMenuItem runat="server" NavigateUrl="#" Text="Sub A"> 
                </telerik:RadMenuItem> 
                <telerik:RadMenuItem runat="server" NavigateUrl="#" Text="Sub B"> 
                </telerik:RadMenuItem> 
                <telerik:RadMenuItem runat="server" NavigateUrl="#" Text="Sub C"> 
                </telerik:RadMenuItem> 
            </Items> 
        </telerik:RadMenuItem> 
    </Items> 
</telerik:RadMenu> 
Barbaros Saglamtimur
Top achievements
Rank 1
 answered on 08 Jun 2010
3 answers
226 views
hello guys ,


I'm using a RadTreeView with Load On Demand. The ExpandMode property is set to “ServerSideCallBack”. I am trying to implement a search functionality for the tree, whereby I choose the node I want to search in, and filter for certain childnodes. When the search button is clicked, an async call is made to the serverside to fetch the new nodes. The missing part is dealing with the issue on the client side. I would like to see the resulting nodes only. How can I make the button cause a client-side event  similar to the one caused by the click on the ‘+’ sign of the node? So that I can update the childnodes on the client side as well?

Nikolay Tsenkov
Telerik team
 answered on 08 Jun 2010
1 answer
229 views
So I can do some dynamic resizing of the textbox I want to get the height and scroll height for the method below. I cannot seem to do this with the RadTexBox. Thanks in advance.

     function Master_ResizeTextBox(sender, eventArgs) {  
         if (sender.scrollHeight > parseInt(sender.style.height.replace(/px/gi, ''))) {  
             sender.style.height = sender.scrollHeight + 'px';  
         }  
 
     } 
Iana Tsolova
Telerik team
 answered on 08 Jun 2010
1 answer
160 views

 

Hi i am using radgrid with editform setting in which i have designed the layout of pop up window in form template.
when i clicked on edit button inside the grid then popup display with items.But my problem is that popup does not dispaly on right posting of the form. it diplay below the radgrid but I want to display the pop up in middle of the grid.
how to set the pop display middle of the form ????
Have any property in radgrid to dispaly the popup in middle of the page???
Princy
Top achievements
Rank 2
 answered on 08 Jun 2010
1 answer
144 views
Is there any way to remove the body { background-image: none; } element from the editor CSS? I can't see it defined anywhere in the editor styles but it is coming through in one of the webresource.axd stylesheets. This is preventing <body background=""> images from being displayed. Overriding the background-image value to the correct image has been considered, and is not an option for us in this case.
Rumen
Telerik team
 answered on 08 Jun 2010
8 answers
325 views
Hi team,

I am using a rad combo box with MarkFirstMatch property.On a button click I am assigning the radComboText box with some values.
Now when I try to add another value to the text box by entering a delimiter(; in my case) at the end of the text inside the textbox, the existing values are getting erased and only the first value in the combo box is getting dispalyed in the textbox. This is totally undesirable as all the values present in the text box would be gone and there is no way to get back those values.

IMO this is hapening because the first value is getting highlighted when the combobox opens.
Once I erase all the values and type in new values then click outside(for the dropdown to close) and then try adding another value
using the delimiter it gives me no problem .

Following is the piece of code I used for assigning values to radText box.

for(int i = 0; i < Projects.Count; i++) 
{ 
radComboBox[0].Text = radComboBox[0].Text + Projects[i].Value.ToString() +Constants.chrsemicolon; 
} 


Can you please find a solution for this one.Help needed.

Thanks,
Avinash
Kalina
Telerik team
 answered on 08 Jun 2010
4 answers
208 views

Hi,

I have a simple RadTextBox and button as follows:

<telerik:RadTextBox ID="txtForename" runat="server" EmptyMessage="<first name>"></telerik:RadTextBox> 
<asp:button ID="btnGo" runat="server" text="Go" /> 

The problem is that .Net framework request validation is invoked on the value of EmptyMessage, as when I click the button I get:

Server Error in '/' Application.  
--------------------------------------------------------------------------------  
 
A potentially dangerous Request.Form value was detected from the client (Energy1_txtForename_text="<first name>").  

This is happening because of the <> in the EmptyMessage, but I thought no actual value would be stored or passed with the input?  How can I work around this without turning off request validation, but still retain my nice EmptyMessage?

Thanks.

Craig
Craig Wallace
Top achievements
Rank 1
 answered on 08 Jun 2010
1 answer
251 views
How to refresh a district that shows the last update from DB  in web page every 30 seconds?
thanks , everyone.
Veli
Telerik team
 answered on 08 Jun 2010
1 answer
217 views
Hello,
I have a WCF service that returns json data. I want to keep the web service generic enough to be called by other applications.

However, on my website, when i call this service and bind to combo box, it fails. The combo box expects the return json to be RadComboBoxData. Is there a reason for this binding. It kind of defeats the purpose of web service.

Can anyone explain if there is a more generic way of binding combo box to any json?
Kalina
Telerik team
 answered on 08 Jun 2010
1 answer
120 views
Hi telerik,

 I am using telerik Version 2009. Q3.
I have issue related to the skins. before this also i posted some issues related to the skin. even though i got replies from you team, my issue was not solved and i found other solution for that.
   now the strange thing is happening to me is , in one of my page i added RadEditor control and from that page all the Rad windows are coming as blurred. ( i attached the pic. pls check).
   the strange thing that, as per my investigation , i found there is a grid in that page and when the grid contains more data ( more than 10 or 15 rows), the skin changes. if very less data, then there is no problem. 
     its very dangorous, coz we the skin of control is changing according to the DATA which user ented. 
    the product is tested and released to the client and from there we are getting some issue like this is very hectic
    
if you can find any solution for this skinn issue, please let me know.  i have to remove the rad controls from application. that is the only solution in front of me now.

when ever we include editor or tree , controls skin will get effected. mainly windows , combo box
Svetlina Anati
Telerik team
 answered on 08 Jun 2010
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?