Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
85 views
i'm trying to apply css class to tabstrip but it didn't do anything
i got a form decorate skin set to forest,  and tabstrip set to forest. as default it set background color of tab to green and forecolor to black. i want to change the text to white so i tried
<style type="text/css">
    .SelectedTab
    {
        color:#ffffff;
    }
</style>

and then at the telerikpanelitem i apply cssselectedtab to that but it didnt work at all. can you tell me why.i also found css file in telerik folder in program file and included that in the project but that didn't work either can you tell me what i need to do ? thank you.
Atanas Korchev
Telerik team
 answered on 10 Jul 2009
4 answers
471 views
Hi,

I have a radgrid that has an editcommandcolumn in the form of a button (ButtonType="PushButton"). This pops-up an edit control (ascx) in the automated way which is all fine.

I want some other fields on my grid-row to hyperlink to the same edit popup. Does anyone knwo how this can be done?

Thanks!

Michael
Top achievements
Rank 2
 answered on 10 Jul 2009
3 answers
127 views
Anyone knows the browsers that are supported by Telerik controls? Here are the test result I have so far:

1. IE6 and IE7 - No problem
2. Firefox 3.5 - Generally ok but the layout is a bit overlapped

Thanks,

Hubert
Daniel
Telerik team
 answered on 10 Jul 2009
2 answers
148 views
Hello all!
Is there a way to navigate on the rotator to specific items?
I'm putting five buttons (1,2,3,4,5) on my page and would like each one, on click, to rotate the images to the specific index (1,2,3,4 or 5).

And how do I know the current item index of the rotator?

Thanks!
Eduardo Fukugava
Top achievements
Rank 1
 answered on 10 Jul 2009
3 answers
148 views
We have a RadGrid on a page that has a first and last column and the columns in the middle are built dynamically based on some criteria. Everything works great and the edit mode is perfect with the exception of one thing - styling with IE. Everything in FF looks perfect and is exactly what we want and after a few tweaks we got it to work with IE8. Unfortunately, in compatibility mode the column alignments are not being honored. Here is what the structure looks like:

                GridNumericColumn col = new GridNumericColumn(); 
                GridTemplateColumnEditor Editor = new GridTemplateColumnEditor() { ID = "Editor" + FieldName }; 
 
                rgCalendar.Columns.Add(col); 
                phEditors.Controls.Add(Editor); 
 
                col.DataField = FieldName; 
                col.UniqueName = FieldName; 
                col.DataType = typeof(int); 
                col.HeaderText = ScrapType.Name; 
                col.ItemStyle.Width = Unit.Pixel(40); 
                col.ItemStyle.HorizontalAlign = HorizontalAlign.Right; 
                col.ColumnEditorID = Editor.ID; 
                col.HeaderStyle.Wrap = false
                col.HeaderStyle.HorizontalAlign = HorizontalAlign.Right; 
 

Does anyone have any suggestions as to what we can do to ensure the dynamic columns are always right-aligned cross-browser? We're using the default skin with the Q1 2009 release.
digitall
Top achievements
Rank 1
 answered on 10 Jul 2009
5 answers
190 views
I have a grid that uses a single template column for display data in each row.  It contains a few labels and linkbuttons, nothing fancy.  Whenever anything in the grid causes a postback, a <td> element is added to the row, causing the linkbuttons to move to the left.  They have their style set to float:right so that they'll line up against the right side of the column.  Every time I click a row or do anything causing a postback (I'm using ajax, so it's not a full postback), a blank <td> gets added to the row.  What could be causing this?  The first <td> contains my template column controls, and then all the other <td> elements are blank, one for each time the page has performed an ajax postback.
Sebastian
Telerik team
 answered on 10 Jul 2009
1 answer
146 views
Is there a way to define the image size for items on the menu.

We are stuck with IE 6 here and are using Angus Turnbull http://www.twinhelix.com fix or PNG alpha transparency. This HTC requires that the images have a size.

One other thought, why is the contol not doing this automatically, do they have suppport for ie 6 PNG problems?

Andy
Kamen Bundev
Telerik team
 answered on 10 Jul 2009
4 answers
1.1K+ views
Hi,

I am trying to duplicate an example from the Grid Demos here but with a few minor differences.  I would like to achieve this serverside if possible.

Instead of counting the number of rows selected (in the example), I want the values of each column within each row selected to be displayed in a separate control (listbox/label/something that can handle multiple selections and values)on the same page.

Example: A user clicks the row(s) they are interested in and the values of every column within the selected row(s) get listed in another control for the user to see.  Basically a shopping cart without using another grid.  These values will be used to send out as fields within an email.

There are LOTS of  great examples I found by Shinu, Princy, and others (a good client-side example for 1 row is here) that demonstrate this functionality with 1 selected row, but I just can't (and don't really know how) seem to paste together multiple row selections and getting their values to another control.  Many of the examples for 1 row at a time look similar to this:
protected void Button3_Click(object sender, EventArgs e)  
{  
    foreach (GridDataItem item in RadGrid1.SelectedItems)  
    {  
        TextBox1.Text = item["ColumnUniqueName1"].Text.ToString();  
        TextBox2.Text = item["ColumnUniqueName2"].Text.ToString();  
        TextBox3.Text = item["ColumnUniqueName3"].Text.ToString();  
        . . .           
    }  
}  
Maybe server-side is a bad way to go?  Is client-side 'better'? Ajax?  Any ideas? Thanks. Joe
Joe
Top achievements
Rank 1
 answered on 10 Jul 2009
1 answer
106 views
How do I make the text a clickable hyperlink:

 <telerik:RadTicker AutoStart="true" runat="server" ID="Radticker1" Loop="true" Font-Size="Smaller" 
      LineDuration="8000" TickSpeed="5">  
<Items> 
<telerik:RadTickerItem>TURKEY: Stocks go up after a surge in investor confidence.</telerik:RadTickerItem> 
<telerik:RadTickerItem>ROMANIA: Privatization drives the stock market this week.</telerik:RadTickerItem> 
<telerik:RadTickerItem>BULGARIA: Government plans for a new wave of privatization.</telerik:RadTickerItem> 
</Items> 
</telerik:RadTicker> 

I have seen the demo but still don't get how to do it ...

TT
Fiko
Telerik team
 answered on 10 Jul 2009
2 answers
225 views
Below is a simple example using a fieldset decorated with the form decorator.  If you remove the form decorator, in both FF3 and IE7, the fieldset spans the entire width of the screen.  If you include a form decorator on this page, however, IE7 collapses the width of the fieldset to the minimum amount necessary to show the contents.  I need the fieldset to render consistently in both browsers.

Something in the formdecorator is causing this to happen.  I've duplicated the issue on both the Q3 2008 and Q1 2009 releases.  I've tried setpping thru some the ScriptResource.axd calls (where I suspect the fieldset is being resized with javascript) in vs.net, but wasn't able to decipher them.  Can someone help me with this?

Thanks,

Zac

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FieldsetTest.aspx.cs" Inherits="Symbio.Web.FieldsetTest" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
</head>
<body>

    <form id="form1" runat="server">
    
    <asp:ScriptManager runat="server" ID="ScriptManager"></asp:ScriptManager>        
    <telerik:RadFormDecorator ID="FormDecorator1" runat="server" DecoratedControls="All" Skin="WebBlue"></telerik:RadFormDecorator>

    <div>
    
        <fieldset>
            <legend>test legend</legend>
            test contents
        </fieldset>
    
    </div>
    </form>
</body>
</html>
Matthew
Top achievements
Rank 1
 answered on 10 Jul 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?