Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
184 views
hello everyone:
can you tell me  How to change the size of the radMenu's font?

my menu conbined wity sitemapdatasource

I try to  change the   font's size='X-Large'     under   menu's property

but it doesn't work


please  help me  :
I'm  waiting online
Princy
Top achievements
Rank 2
 answered on 02 Jun 2010
1 answer
78 views
I have several tabs in hidden divs that show and hide as the user uses the page.  All of the tabs are set to justify.  The problem is that sometimes the tabs do not appear justified when they first show.  After a few more hide and shows, the justification is there. 

Any ideas?
Yana
Telerik team
 answered on 02 Jun 2010
8 answers
267 views
A client wants to be able to have the sub menu stay open once a user hovers over a main item and clicks on a sub menu item. If the user hovers over another main nav element, it should then close and open up the new sub menu. But if the user does not click anything in the new sub nav it should revert to having the original sub nav open. Is this even possible? Thanks.

Also, we have a horizontal menu with the submenu items displaying horizontal as well. When you hover over top nav items towards to right end of the menu, the child menu starts rendering near the beginning of the menu and not under the parent item. Any way to fix this?

Yana
Telerik team
 answered on 02 Jun 2010
1 answer
222 views
Hello,

I'm using RadDataPager inside a RadListView. It looks something like this:

<RadListView id="RadListView1" ...> 
    <LayoutTemplate> 
        <RadDataPager id="RadDataPager1" ...> 

Is it possible to access the RadDataPager from the code-behind file?
In particular, I want to change its Visible attribute at runtime.

I tried RadListView1.FindControl("RadDataPager1"), but it returns null.


Thanks in advance.
Rosen
Telerik team
 answered on 02 Jun 2010
5 answers
477 views
I have a 3 level nested RadGrid.
All levels have checkboxes.
If the checkbox at any level is checked, the checkboxes of its children (and grandchildren) should also be checked.
How can I accomplish this? 
Yavor
Telerik team
 answered on 02 Jun 2010
1 answer
123 views
Hi, Expert,

I create a RadMenuItem and set the item to invisible.
On my client side code,

I would like to set the radmenuitem to visible.

{
  var menuItem2 = menu1.FindItemByText('Paste');
.......



}

The FindItemByText can not get that item. (Only show visible item)

I also try to use menu1.Items, the invisible is not there either.

Can anyone have  idea how to get invisble item from menu on client side code?

Thanks.


Princy
Top achievements
Rank 2
 answered on 02 Jun 2010
1 answer
125 views
Hi,

How can I put username in a radmenu after a user login? How can it be inserted there near the other menu items?

Regards
_Hamda
Shinu
Top achievements
Rank 2
 answered on 02 Jun 2010
1 answer
164 views
I have a very simple RadListView populated from a DataSet:

Data:

HeadingOne  HeadingTwo  DataValue  
First       Second      Data Value  
First       Second      Data Value  
First       Third       Data Value  
First       Third       Data Value  
First       Third       Data Value 

ListView:

<telerik:RadListView   
    ID="MyListView"   
    runat="server"   
    OnNeedDataSource="MyListView_OnNeedDataSource">  
 
    <ItemTemplate> 
              
        <%# InsertHeadingOne() %> 
 
        <%# InsertHeadingTwo() %> 
 
        <p><%# Eval("DataValue") %></p>  
 
    </ItemTemplate> 
 
</telerik:RadListView>  

I thought I was being very cunning in my grouping efforts. The two method calls above are:

string lastHeadingOne = string.Empty;  
string lastHeadingTwo = string.Empty;  
 
protected string InsertHeadingOne()  
{  
    string currentHeadingOne = Eval("HeadingOne").ToString();  
 
    if (currentHeadingOne.Length == 0)  
    {  
        currentHeadingOne = string.Empty;  
    }  
 
    if (this.lastHeadingOne != currentHeadingOne)  
    {  
        this.lastHeadingOne = currentHeadingOne;  
 
        return string.Format("<h1>{0}</h1>", currentHeadingOne);  
    }  
    else 
    {  
        return string.Empty;  
    }  
}  
 
protected string InsertHeadingTwo()  
{  
    string currentHeadingTwo = Eval("HeadingTwo").ToString();  
 
    if (currentHeadingTwo.Length == 0)  
    {  
        currentHeadingTwo = string.Empty;  
    }  
 
    if (this.lastHeadingTwo != currentHeadingTwo)  
    {  
        this.lastHeadingTwo = currentHeadingTwo;  
 
        return string.Format("<h2>{0}</h2>", currentHeadingTwo);  
    }  
    else 
    {  
        return string.Empty;  
    }  
} 

But when I run the page, I get this output:

Second  
Data Value  
Data Value  
 
Third  
Data Value  
Data Value  
Data Value 

What I should be getting is this?:

First  
 
Second 
Data Value  
Data Value  
 
Third 
Data Value  
Data Value  
Data Value 

When I step through in debug I see the correct strings being returned but for the 5 rows in the DataSet, there are 10 calls to each method! It seems the second pass wipes the values from the first - but then, if that is the case, how did the Heading Twos get returned? I'm confused :)

Very strange. It works really well for the level 2 headings but not at all from the level one. Can anyone help?

Many thanks in advance,
Richard


Rosen
Telerik team
 answered on 02 Jun 2010
1 answer
98 views
I like the look of the dropdown menu on "All Products" at the top of this page:  http://demos.telerik.com/aspnet-ajax/menu/examples/overview/defaultcs.aspx

Was that done with RadMenu?  Any code examples out there for something like that?

Thanks,

MGA
Shinu
Top achievements
Rank 2
 answered on 02 Jun 2010
1 answer
247 views
Hi Guys,
               I am new be in Telerik . Here is the small issue of I am getting Student mark  from Data base so i have to find out student percentage.
Here is my code. I have to findout percentage.... please need help to figure it out. I wanted to do in code behind

<telerik:RadGrid ID="RadGrid1" runat="server">
            <MasterTableView TableLayout="Fixed">
                <Columns>
                    <telerik:GridBoundColumn DataField="Student_ID" SortExpression="StudentID" DataType="System.Int32" UniqueName="StudentID" HeaderText="StudentID" />
                    <telerik:GridBoundColumn DataField="Student_Name" SortExpression="Student_Name" DataType="System.String" UniqueName="Student_Name" HeaderText="StudentName" />
                    <telerik:GridBoundColumn DataField="Student_LastName" SortExpression="Student_LastName" DataType="System.String" UniqueName="Student_LastName" HeaderText="StudentLastName" />
                    <telerik:GridBoundColumn DataField="Student_Mark" SortExpression="Student_Mark" DataType="System.String" UniqueName="Student_Mark" HeaderText="StudentMark"/>
<telerik:GridBoundColumn  SortExpression="Student_Percentage" DataType="System.String" UniqueName="Student_Percentage" HeaderText="StudentLastName" />
<Columns>

<telerik:GridBoundColumn DataField="Student_LastName" SortExpression="Student_LastName" DataType="System.String" UniqueName="Student_LastName" HeaderText="StudentLastName" />

                        <FooterTemplate>
                            Template footer
                        </FooterTemplate>
                        <HeaderTemplate>
                            <table id="Table1" cellspacing="0" cellpadding="0" width="20" border="1" runat="server">
                                <tr>
                                    <td colspan="2" align="center">
                                        <b>School details</b>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="width: 50%" align="center">
                                        <asp:LinkButton Width="140" ID="btnContName" Text="Contact name" ToolTip="Sort by ContactName"
                                            CommandName='Sort' CommandArgument='ContactName' runat="server" />
                                    </td>
                                    <td style="width: 50%" align="center">
                                        <asp:LinkButton Width="140" ID="btnContTitle" Text="Contact title" ToolTip="Sort by ContactTitle"
                                            CommandName='Sort' CommandArgument='ContactTitle' runat="server" />
                                    </td>
                                </tr>
                            </table>
                        </HeaderTemplate>
                        <ItemTemplate>
                            
                        </ItemTemplate>
                    </telerik:GridTemplateColumn>
                </Columns>
            </MasterTableView>
        </telerik:RadGrid>

Thanks,Raju!!!!!!!!!!
Shinu
Top achievements
Rank 2
 answered on 02 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?